diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 49d587ae..6a0e95a4 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -23,4 +23,5 @@ jobs: uses: JetBrains/qodana-action@v2023.2 env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} - args: --baseline qodana.sarif.json + with: + args: --baseline,qodana.sarif.json diff --git a/qodana.sarif.json b/qodana.sarif.json index 7b106a4b..99a6b805 100644 --- a/qodana.sarif.json +++ b/qodana.sarif.json @@ -110069,185263 +110069,7 @@ } } ], - "results": [ - { - "ruleId": "AccessToModifiedClosure", - "kind": "fail", - "level": "warning", - "message": { - "text": "Captured variable is modified in the outer scope", - "markdown": "Captured variable is modified in the outer scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 74, - "charOffset": 1564, - "charLength": 16, - "snippet": { - "text": "currentTokenLine" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1425, - "charLength": 319, - "snippet": { - "text": " {\n var token = new Token();\n token.Position = new LexerPosition(currentTokenPosition, currentTokenLine, currentTokenColumn);\n token.SpanValue = source.Slice(tokenStartIndex,tokenLength);\n tokenStartIndex = tokenStartIndex + tokenLength;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5237156aa028e46b21d0f4bb714efa203d35073ae708c7ae88836ad592151fe6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AccessToModifiedClosure", - "kind": "fail", - "level": "warning", - "message": { - "text": "Captured variable is modified in the outer scope", - "markdown": "Captured variable is modified in the outer scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 92, - "charOffset": 1582, - "charLength": 18, - "snippet": { - "text": "currentTokenColumn" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1425, - "charLength": 319, - "snippet": { - "text": " {\n var token = new Token();\n token.Position = new LexerPosition(currentTokenPosition, currentTokenLine, currentTokenColumn);\n token.SpanValue = source.Slice(tokenStartIndex,tokenLength);\n tokenStartIndex = tokenStartIndex + tokenLength;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f415d67630ec4c99de917809c88404dc27332e2ae7779ed28174f0f38c90088" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeAccessorOwnerBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent body style: use expression-bodied indexer", - "markdown": "Inconsistent body style: use expression-bodied indexer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 13, - "charOffset": 1298, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1235, - "charLength": 97, - "snippet": { - "text": " public Token this[int index]\n {\n get => GetToken(index);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "14f06c91d778e62c0a6aa324e0396b45850f1a2cc26c5c7a5478f4068702e19f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 115, - "startColumn": 56, - "charOffset": 3512, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 113, - "startColumn": 1, - "charOffset": 3446, - "charLength": 120, - "snippet": { - "text": " }\n\n public MethodInfo GetVisitor(IN token = default(IN))\n {\n MethodInfo visitor = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17e2a090830d63abc608863ba81e7f688a117b13cb8a61a728d9a0a4acd9c12d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 92, - "startColumn": 69, - "charOffset": 2880, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 90, - "startColumn": 1, - "charOffset": 2810, - "charLength": 119, - "snippet": { - "text": "\n\n public OperationMetaData GetOperation(IN token = default(IN))\n {\n if (IsExpressionRule)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7821ba77da5d44c3588f0064d1b246826390ddcfd05e5f6affba0d4c7a7c61a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/BuildResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 44, - "charOffset": 221, - "charLength": 3, - "snippet": { - "text": "(R)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 140, - "charLength": 98, - "snippet": { - "text": " public class BuildResult\n {\n public BuildResult() : this(default(R))\n { }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c73533919f7033d9f7cbb4ce987e686c7b1796507531d26e3b3e1609d7c17ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 328, - "startColumn": 76, - "charOffset": 10667, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 326, - "startColumn": 1, - "charOffset": 10501, - "charLength": 294, - "snippet": { - "text": " if (actual != reference)\n {\n var ko = new FSMMatch(false, default(N), \" \", lexerPosition, -1, lexerPosition,\n false)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "257189ce1333d5f48fc562053fd6318ae3963b68dce4050cd30f93d58a4d237a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 32, - "charOffset": 645, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 533, - "charLength": 170, - "snippet": { - "text": " CurrentState = 0;\n Marks = new Dictionary();\n Fsm.AddNode(default(N));\n Fsm.GetNode(0).IsStart = true;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "265086c724e93c8409baa1a7a15626f86ab42bac40182447ed1de1e5171aaa2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 102, - "startColumn": 65, - "charOffset": 3162, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 100, - "startColumn": 1, - "charOffset": 3050, - "charLength": 168, - "snippet": { - "text": " public DotNode VisitEpsilon()\n {\n return VisitLeaf(new Token() { TokenID = default(IN), SpanValue = \"epsilon\".ToCharArray() });\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32d2612f2f622048a2b6a5c9de0920e192228c85088b1a8706e3b29f04136289" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 101, - "charOffset": 668, - "charLength": 3, - "snippet": { - "text": "(T)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 549, - "charLength": 191, - "snippet": { - "text": " }\n \n public TerminalClause(string explicitToken, bool discard) : this(new LeadingToken(default(T),explicitToken))\n {\n ExplicitToken = explicitToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3786b704fe943b544472698752ee959b84a966329a9c66f4028656b5b7cd2c55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 60, - "charOffset": 1052, - "charLength": 5, - "snippet": { - "text": "(OUT)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 914, - "charLength": 185, - "snippet": { - "text": " public static implicit operator OUT(GroupItem item)\n {\n return item.Match((name, token) => default(OUT), (name, value) => item.Value);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4714d642a39e9b9a0ce247020afa7634a0d06a842d05ed69b6d9c78e9e3fa520" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1124, - "startColumn": 116, - "charOffset": 43048, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1122, - "startColumn": 1, - "charOffset": 42827, - "charLength": 314, - "snippet": { - "text": " tok.Discarded = inTok.Discarded;\n tok.StringDelimiter = match.StringDelimiterChar;\n tok.TokenID = match.Properties.ContainsKey(DerivedToken) ? (IN)match.Properties[DerivedToken] : default(IN);\n tok.IsLineEnding = match.IsLineEnding;\n tok.IsEOS = match.IsEOS;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c7cd1a8914eaecfbadb9735534a818b1ad20fa192a57b1f1d421f25cae79309" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 46, - "charOffset": 4132, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 4041, - "charLength": 166, - "snippet": { - "text": " public FSMNode AddNode()\n {\n var node = new FSMNode(default(N));\n node.Id = Nodes.Count;\n Nodes[node.Id] = node;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "53aa774f3b127a524284f7ffc72959def01037938ff64b9be306998aa73326d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 314, - "startColumn": 68, - "charOffset": 9954, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 312, - "startColumn": 1, - "charOffset": 9809, - "charLength": 283, - "snippet": { - "text": " {\n // erreur d'indentation\n var ko = new FSMMatch(false, default(N), \" \", lexerPosition, -1, lexerPosition, false)\n {\n IsIndentationError = true" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "55f89bca7bbf63f41d77f3f8b41d1ff3c7ce6c2b5e8e80a11d6268f44860ce24" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 69, - "charOffset": 1525, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1418, - "charLength": 191, - "snippet": { - "text": " if (!exists)\n {\n return VisitLeaf(new Token() { TokenID = default(IN), SpanValue = \"\".ToCharArray() });\n }\n return child;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65d14f10cadb1adc6a35a12bbcd38d482b51919a0d70cbe429f18c068996d197" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 85, - "charOffset": 838, - "charLength": 5, - "snippet": { - "text": "(OUT)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 706, - "charLength": 149, - "snippet": { - "text": " public OUT Value(string name)\n {\n return ItemsByName.ContainsKey(name) ? ItemsByName[name].Value : default(OUT);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d91e2a62ad694b8b21f48fd59e0e70c619c1013896ed069d849595ca7be5811" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 213, - "startColumn": 42, - "charOffset": 7717, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 211, - "startColumn": 1, - "charOffset": 7621, - "charLength": 278, - "snippet": { - "text": "\n ignored = r.IgnoredTokens.Select(x =>\n new Token(default(IN), x.SpanValue, x.Position, x.IsComment,\n x.CommentType, x.Channel, x.IsWhiteSpace, x.DecimalSeparator)).ToList();\n tokens.AddRange(ignored);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a95c42400222ac2e47948aa5c979938986fdf5464452d2eb7553901bc81faffe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 55, - "charOffset": 2183, - "charLength": 5, - "snippet": { - "text": "(OUT)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2068, - "charLength": 170, - "snippet": { - "text": " if (child == null || node.IsEmpty)\n {\n Visitor.VisitOptionNode(false, default(OUT));\n }\n var r = Visit(child);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb56d6bdd69d3f213764b0c3729ca32bee0afaa363d2fcffb9567d946a3f50c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 27, - "charOffset": 637, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 592, - "charLength": 69, - "snippet": { - "text": " }\n\n return default(IN);\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd1f3454a650796d1e0366a213fe9962cdf0d30207f386c115388260927fd95c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 458, - "startColumn": 62, - "charOffset": 16048, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 456, - "startColumn": 1, - "charOffset": 15901, - "charLength": 352, - "snippet": { - "text": " if (WhiteSpaces.Contains(currentCharacter))\n {\n var whiteToken = new Token(default(N), source.Slice(position.Index, 1), position, false,\n CommentType.No,\n Channels.WhiteSpaces, isWhiteSpace: true, decimalSeparator: DecimalSeparator);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4a471e646c86fe5ce9d1b03f8e2d24c28a56764144baa71efd94f5916b1f847" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 108, - "startColumn": 122, - "charOffset": 2762, - "charLength": 3, - "snippet": { - "text": "(T)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 106, - "startColumn": 1, - "charOffset": 2579, - "charLength": 253, - "snippet": { - "text": " private IndentationType ExpectedIndentation;\n \n public IndentTerminalClause(IndentationType expectedIndentation, bool discard) : base(new LeadingToken(default(T)))\n {\n ExpectedIndentation = expectedIndentation;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5b38e7ffe3aa78a0e78be6f4b601a3d3f5ddc73888ac27333a7b35a6fdfe234" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 164, - "startColumn": 38, - "charOffset": 5903, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 162, - "startColumn": 1, - "charOffset": 5811, - "charLength": 230, - "snippet": { - "text": "\n var ignored = r.IgnoredTokens.Select(x =>\n new Token(default(IN), x.SpanValue, x.Position, x.IsComment,\n x.CommentType, x.Channel)).ToList();\n tokens.AddRange(ignored);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d670c0da770551a68a3ddde0681f9b22b8525ce96ddce33ad5f48ccbb5c3fc5a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 95, - "charOffset": 1313, - "charLength": 11, - "snippet": { - "text": "(Token)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1134, - "charLength": 203, - "snippet": { - "text": " public static implicit operator Token(GroupItem item)\n {\n return item.Match>((name, token) => item.Token, (name, value) => default(Token));\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e221ec902021b9d1e019e5de231d597469d6335ce8f7de64a6f51e73f760cbce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 288, - "startColumn": 52, - "charOffset": 8834, - "charLength": 3, - "snippet": { - "text": "(N)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 286, - "startColumn": 1, - "charOffset": 8716, - "charLength": 208, - "snippet": { - "text": "\n var errorChar = source.Slice(lexerPosition.Index, 1);\n var ko = new FSMMatch(false, default(N), errorChar, lexerPosition, -1, lexerPosition, false);\n return ko;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea99b0d2b3462cb4171e9788efcec999fad61c9bb32c49e07141c7f72d923e9d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 637, - "startColumn": 57, - "charOffset": 27893, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 635, - "startColumn": 1, - "charOffset": 27688, - "charLength": 351, - "snippet": { - "text": " var resultx = new BuildResult>();\n result.Errors.AddRange(resultx.Errors);\n lexer.AddKeyWord(default(IN), explicitToken, false, false,\n ModeAttribute.DefaultLexerMode, resultx);\n ;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eeb81767e2ad3d68266cf85067cf328346c3d6280d6b3fd5d1ba95244586d64c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 652, - "startColumn": 56, - "charOffset": 28679, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 650, - "startColumn": 1, - "charOffset": 28483, - "charLength": 274, - "snippet": { - "text": " var resulty = new BuildResult>();\n result.Errors.AddRange(resulty.Errors);\n lexer.AddSugarLexem(default(IN), resulty, explicitToken);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f129b0a28ae9c56efd6757567c56f690a12ab3d7e0b08cfffa2550d8587e7661" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 645, - "startColumn": 60, - "charOffset": 28341, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 643, - "startColumn": 1, - "charOffset": 28133, - "charLength": 294, - "snippet": { - "text": " var resulty = new BuildResult>();\n result.Errors.AddRange(resulty.Errors);\n lexer.AddSugarLexem(default(IN), resulty, explicitToken);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f73674749b9e4ad6f6e46d9dd293840279036e86cce79f292cf7d3c802a4f799" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeDefaultValueWhenTypeNotEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 80, - "charOffset": 1705, - "charLength": 4, - "snippet": { - "text": "(IN)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1583, - "charLength": 184, - "snippet": { - "text": " }\n default:\n return Visitor.VisitLeaf(new Token() {TokenID = default(IN),SpanValue=\"NULL\".ToCharArray()});\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb69ad8198edb72129b275dca84c975bdb38993a6883aa2208d45caf69f1355b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 73, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 53, - "charLength": 62, - "snippet": { - "text": "\nnamespace indented\n{\n public class Block : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01a771ff8d617d5ee54436df10828afb5f03150b44a1427636de27bb2b8440e3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 109, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 65, - "charLength": 85, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class Not : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "06d75660d4a3dd3af4e12cf742f76869665508dee3a22513582a2dc2d744828f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 42, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 61, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public enum ChannelLexer\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a3070289dfb97c22328a84754ebb6add92299f9b9d1d88cbca8e1a092c7a88c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/ReturnStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 84, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class ReturnStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a47a85fa97892dacca22e46dd9b87d8ae93e96f98645cdf6312f03b3cd83e02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 63, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 28, - "charLength": 77, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n internal class ExpressionTyper\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ac55938e2863c526af99da323e9c037cd5a5ea16a397a89009d04b51b8c09da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 63, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 42, - "snippet": { - "text": "\nnamespace bench\n{\n class Program\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b079e27b06978b48d1c08ded2a363de747f1ebcfd30cca015dc0a9db352c38b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/ExpressionContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 86, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 94, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public class ExpressionContext\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f45bdd3702a2e704ff37b409c2b783cd32822c3825cc41a3d6b23de8dd30174" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 125, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 105, - "charLength": 45, - "snippet": { - "text": "\nnamespace profiler\n{\n class Program\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f531237c6b59b269a086e982840aaa6e58a8840bc175f6e95e50883f19b848b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JNull.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 31, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 68, - "snippet": { - "text": "namespace jsonparser.JsonModel\n{\n public class JNull : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f8a0399c943361cf5199bd2b831e37330d0795cf5a6229fe6a74808acdad66e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 31, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 69, - "snippet": { - "text": "namespace jsonparser.JsonModel\n{\n public class JValue : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "12467b12feb5133e55df64139b0608cbc259534786c0c67faddfa60715e99ffb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 139, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 117, - "charLength": 68, - "snippet": { - "text": "\nnamespace bench.json\n{\n public class EbnfJsonGenericParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17480c1d858605e55d4b33a73c99129a1bdda79a08d98be9f350dca829ebf9c4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/Number.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 51, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 102, - "snippet": { - "text": "namespace postProcessedLexerParser.expressionModel\n{\n public sealed class Number : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b2d2147e392f52bd88a72f0d92b6658f54453ebe2ed542b0a20d6554252db6a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Identifier.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 60, - "snippet": { - "text": "namespace indented\n{\n public class Identifier : Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ccdbbdba7c7749819db6f76fd25a804d960f7e4664065498d6e854c35629154" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 111, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 79, - "charLength": 76, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class ForEach : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ce340bbe50ddfe14481aa47c5f7cd22cdf97182c897eb839e059edfe073f9d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 62, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 67, - "snippet": { - "text": "\nnamespace bench.json.model\n{\n public class JObject : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d619ab3e074cce25fe71f4afeb0f49bcd01f771ced74f564cb4e1afa96e6ac7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Statement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 31, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 80, - "snippet": { - "text": "namespace csly.whileLang.model\n{\n public interface Statement : WhileAST\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f95af681e46774ebe8fd0e13ce6ce3b4b0adf0d9c11fa33fb0c0533d61b8670" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 1, - "charOffset": 295, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 271, - "charLength": 48, - "snippet": { - "text": "\nnamespace benchCurrent\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "202c6f2d1b4351524577c20287fb19715869b32febcc5e0bddce454db67fda91" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 62, - "snippet": { - "text": "\nnamespace bench.json\n{\n public enum JsonTokenGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "207bc6e278ac6236e45ee9223deaff02fa1f8941ad64a4b364cea09d53065779" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Signature.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 68, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public class Signature\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "217e72ed27787e97a05d7db3944ef451adbc244f0b4dcafe06bfd9e7169ffa65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 129, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 107, - "charLength": 80, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public static class DictionaryExtensionMethods\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2483ae145631dfb631dd663dd38dd8b56a32b35239207dba131eba679eea913d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 76, - "snippet": { - "text": "namespace expressionparser.model\n{\n public class Group : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2885d0896554a50164df3828ba980285f9e4b7a310d690bea24b56a40297cdee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 85, - "snippet": { - "text": "namespace expressionparser.model\n{\n public class UnaryOperation : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a359298ac99261e8a2b26f89b20f821f234bb4d1f51815062cdc435e414b8e0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 159, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 126, - "charLength": 93, - "snippet": { - "text": "\nnamespace csly.whileLang.parser\n{\n [ParserRoot(\"statement\")]\n public class WhileParser" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a99d3e95c288cb467c9e4c2519d13e92ad8d77aa988583f634833ad34c70321" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 1, - "charOffset": 150, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 135, - "charLength": 56, - "snippet": { - "text": "\nnamespace XML\n{\n public class MinimalXmlParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2bcedbb32662828c06868434c07b9b17e9505c73a4e9fdd86be72c33862234ec" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 201, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 172, - "charLength": 68, - "snippet": { - "text": "\nnamespace benchCurrent.json\n{\n public class EbnfJsonParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2bcf098935ae8cd5800fd7913112754c965e741fb4d27aef1e6639dc6dc4f463" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 124, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 102, - "charLength": 76, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public class JSONLexer : ILexer\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c4d0ec148fd0c75cb8918eec7ce486c7f2f28aaca578b8aa1129bf1b44981e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/Number.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 84, - "snippet": { - "text": "namespace expressionparser.model\n{\n public sealed class Number : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2e54ef50f57f25794b5dc78a7624ff4caf85784f4502842823fa31f244bba9ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 51, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 104, - "snippet": { - "text": "namespace postProcessedLexerParser.expressionModel\n{\n public sealed class Variable : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f6ce30dd7ec66cfacb3c961acd4f0a8d4c2e0492491364154a0df7e202a1a2b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 73, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 71, - "snippet": { - "text": "\nnamespace benchCurrent.json.JsonModel\n{\n public class JList : JSon\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30795fed8f732a623f067a522cd8ade58b91f5c674e34ff9d56be64c7c27ae3f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 1, - "charOffset": 195, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 159, - "charLength": 92, - "snippet": { - "text": "\nnamespace postProcessedLexerParser\n{\n public class PostProcessedLexerParserBuilder\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "315f4155ea2dbe5f616b71b900b86360288b6a7647795f9b7b0ab737c1f40e6a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Cond.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 54, - "snippet": { - "text": "namespace indented\n{\n public class Cond : Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "344660d8e32845db47164dfa21ffda2f18d5a9e8bed7e30919f2a2cc0f7a7c42" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 42, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 60, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public enum ScriptToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b0f504272fc517b9401285215c78b7e14a5af776660c41de0e2e33019df0f92" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 125, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 103, - "charLength": 80, - "snippet": { - "text": "\nnamespace bench.json\n{\n public static class DictionaryExtensionMethods\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b3b46a35a611d2daed0373fa89b21a76b846be6df7db37f84b1044b0529b4e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SemanticChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 63, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 28, - "charLength": 75, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class SemanticChecker\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c6b6767a4f08bde417279a3ce1c98a29d785cc37eabb25ed55a595918bacd65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 62, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 60, - "snippet": { - "text": "\nnamespace bench.json.model\n{\n public class JList : JSon\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f3a450d379fe1a6f0adb65aaa7149211052acde65221a6d58fb280af1591491" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 62, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 60, - "snippet": { - "text": "\nnamespace bench.json.model\n{\n public class JList : JSon\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41e2de1e9c0b6e6998cb480a192b3a8c34b9082559288b6f8df9af903c6717c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 51, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 94, - "snippet": { - "text": "namespace postProcessedLexerParser.expressionModel\n{\n public class Group : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41e32c393561c782d6814795be79095884e1bb0b5e8dd7b3d41303067d5d6811" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 186, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 154, - "charLength": 110, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class SequenceStatement : Statement, IEnumerable\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "441db2d5d6070cf6ea6bbb619cdf8067bd5bfa39d27d83b6cd1b147c293045fa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 1, - "charOffset": 155, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 130, - "charLength": 28, - "snippet": { - "text": "\nnamespace ParserExample\n{\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "460426203948545ad510a592e968343bb176c2a4ca981a35809770b1fda4397a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 61, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 33, - "charLength": 67, - "snippet": { - "text": "\nnamespace expressionparser\n{\n public enum ExpressionToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46d6ae619edd9166329698a558f9fcb223f3e0ee57722864d554d0139d0e7ee9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 84, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class StringConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "479b47c12f23fff483041160de48e31c14ed9569a3f851a37de7f34e72f8ab6c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 157, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 128, - "charLength": 75, - "snippet": { - "text": "\nnamespace benchCurrent.json\n{\n public class EbnfJsonGenericParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47a92f38c88c0c505f891a86be06a8d14341b977b57728f979c7e9cc98afc81e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/EmptyLine.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 59, - "snippet": { - "text": "namespace indented\n{\n public class EmptyLine : Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4bc51db3f9f4c07580366de0517999b8fda84f98c9dc9816373f16627090e1e0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 69, - "snippet": { - "text": "\nnamespace benchCurrent.json\n{\n public enum JsonTokenGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c3560829d02d6d1cd633421d8bf313056641c922608c15d6c115850b978c2c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 69, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 88, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public enum FormulaToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4cd6583c2c12d53d00a1c8990e6a245f2cd67374534d3e9c78eceb33898c1eb2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Expression.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 63, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 31, - "charLength": 82, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public interface Expression : WhileAST\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d07f75d9333fca56e073c749148b93710181f4811d2a9458d16422845addbe9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/TypingException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 49, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 87, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class TypingException : Exception\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ea6de61ee37a2a1b6f1202623af48e89eb6d271258f8477645254920402d9bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 1, - "charOffset": 310, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 293, - "charLength": 41, - "snippet": { - "text": "\nnamespace bench\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4eaffc54e88673782daf4d9950e38703f61ab767480018a076f3591afcfdf412" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ByteCodeGenerationException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 49, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 101, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n internal class ByteCodeGenerationException : Exception\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5122d1ddf6c22d478e9bdddc6f8027cfbdec937f2a99158082fa1939cb81cd1e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 55, - "snippet": { - "text": "\nnamespace bench.json\n{\n public enum JsonToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5269e669d5b4df5b24121f6222c6df884911df83bbd7f2ff8b173bd9b84ab372" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 82, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class BoolConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5453f827a91260859932eefb8d053a8595e0ba5e1d01fff00c6ed7cbe4bfa369" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 143, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 121, - "charLength": 68, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public class EbnfJsonGenericParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "552d32fa898bcfb5e779d3ec48bb8f957c91a8a3ce031077f9cf053836a78bd6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/Expression.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 52, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 91, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public interface Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56b1a59679d36cf3995bf42c36f13cf7a579e202c30a9b0da8b2aaec8c1dbbf7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 137, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 103, - "charLength": 91, - "snippet": { - "text": "\nnamespace simpleExpressionParser\n{\n public class SimpleExpressionParserWithContext\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "574bd8ff8541d6a02cc1ddd1a1dbbb99f16d3453cbbdff79fd98c32a27212bcf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 1, - "charOffset": 260, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 243, - "charLength": 41, - "snippet": { - "text": "\nnamespace bench\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "574fa035da25a4bd2512ca78bc69e96d0e5a0d06fff6fae35768ffeeb9171bba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 167, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 126, - "charLength": 92, - "snippet": { - "text": "\nnamespace csly.indentedWhileLang.parser\n{\n public class IndentedWhileParserGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "57a2491f49e242bde8a134af4daae9467ffb890b93d2caaec6086e4111961938" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 62, - "snippet": { - "text": "\nnamespace bench.json\n{\n public enum JsonTokenGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5856160df02f48112b9fdc2ce2d8982712103a3aa2cfb1d73e894e0e9465793d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 85, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 53, - "charLength": 74, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class Block : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "594ae75deaa7fadd0ec89fea678ab0f4e6ea3b63eabf10683916c4d45a223ca8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 109, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 65, - "charLength": 97, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class IntegerConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "59c8a1a56f3571b9c41074293c34b6ace7d1e3872bb4fc5b85fcd131f4181ad3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 78, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class Variable : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c11ddff9e681cdb7b0c661a6ffcf641d9aafebcb35aecb9b15d5717ea56d8ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 1, - "charOffset": 259, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 242, - "charLength": 41, - "snippet": { - "text": "\nnamespace bench\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e42e616aa5feee84fdf2299e6ab9e8387c40e813cc78cfa45b862006ec979ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 37, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 92, - "snippet": { - "text": "\nnamespace indented\n{\n [Lexer(IndentationAWare = true)]\n public enum IndentedLangLexer" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e4cd845fbfc628a4dc6607b15f42469ea5c751da3517a4ee8afeba15e927c71" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 50, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 71, - "snippet": { - "text": "\nnamespace csly.whileLang.parser\n{\n public enum WhileToken \n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6119fe3528a7dc07f661c2227029c893370aa2de22988be144b6e33bd05f0f82" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 125, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 103, - "charLength": 80, - "snippet": { - "text": "\nnamespace bench.json\n{\n public static class DictionaryExtensionMethods\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6232ad3a882ec16585eaa21d30f8231932c2e2ea294bcebb2a9f1c8a7085ccf2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 1, - "charOffset": 240, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 216, - "charLength": 48, - "snippet": { - "text": "\nnamespace benchCurrent\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62d89fad66b23713fa81590c7cf1a783a00ff4e3e072aee59481dc8f848982ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 70, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 45, - "charLength": 64, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public class Issue165Parser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "641af8b510edaa9ceddb46ad67e63a405f45517ea8db7c645dcbad802b2a57a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JNull.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JNull : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "67b3263e97f6346b5045ead9a28277406ad50ec83b5a7d3a9a75d0224a4895fa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 83, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class WhileStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bbf7f49bcd16850859bbd97c06d2aa8dc5a5d114e52e4e23a370603e7dd94ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IfStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 80, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class IfStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c6addc89f08afb67e4d70fbba7b363e10e82cb7c1e9ac4960061dae64492e75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 199, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 167, - "charLength": 70, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public enum BinaryOperator\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ebd941d0e714618c86063d814d45c04fad4015465e98ca305b5c8b4f47600c1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 62, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 45, - "charLength": 42, - "snippet": { - "text": "\nnamespace bench\n{\n class Program\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f3278cd17939d038664e4d61f4e0847bd1ff69ba847435c8d233719f226fbd2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 54, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 82, - "snippet": { - "text": "\nnamespace GenericLexerWithCallbacks\n{\n \n [CallBacks(typeof(TestCallbacks))]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "734a5c2f19aef4764a4181c8ad29466037c0b74251cd6005062c9d906c35d857" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 65, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JValue : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74f5cd6c8a170ff94099cabbbfd0a8eda852b664a5dd8b1b172e4a604b42db74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Statement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 20, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "\nnamespace indented\n{\n public interface Statement : Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "778d253f8c000f06d257119cf5950350c06b6a2eb611475e81d7447093ea9421" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 82, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 50, - "charLength": 70, - "snippet": { - "text": "\nnamespace jsonparser.JsonModel\n{\n public abstract class JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78711c9e522c88050f0885f66a05b5831f9963f8a44c0957d96c545cf93cabfb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/TestCallbacks.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 68, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 31, - "charLength": 75, - "snippet": { - "text": "\nnamespace GenericLexerWithCallbacks\n{\n public class TestCallbacks\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7dbf5dc3eb73475e25826af38147cabf5063b65183c72681179c99ed06be92a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 129, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 104, - "charLength": 62, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public class ScriptParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "827e5c5cf98f6d73cfbc3fbf2e45af509ebb4b3fed5b8c10415afd0c0463d213" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileFunction.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 76, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public interface WhileFunction\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83aea41ef636b20b08c60151ffb04c2d4597fa7d2acb5702320d6f50d4a70e8a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 86, - "snippet": { - "text": "namespace expressionparser.model\n{\n public sealed class Variable : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84d05e3ae33deac679941a5cbada3795849b2c8beb07905389ade70519788ee0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 37, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 133, - "snippet": { - "text": "\nnamespace indented\n{\n [Lexer(Indentation = \" \",IndentationAWare = true, IgnoreEOL = false)]\n public enum IndentedLangLexer2" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "854a9a6d2a98c99c049dbf67adbf11d0013ad8e6353b2e3b4251799b65eada8c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 109, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 65, - "charLength": 90, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class Variable : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "86accb6d8af8ce82c5607c511b887006e9637c3d06396a761ed87e3a7211ba65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 183, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 161, - "charLength": 61, - "snippet": { - "text": "\nnamespace bench.json\n{\n public class EbnfJsonParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8772b541130aa986f0c523d97f65b6316350da7044928179d3b97959046d87a4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 73, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 78, - "snippet": { - "text": "\nnamespace benchCurrent.json.JsonModel\n{\n public class JObject : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "879e37df4ce50af29550aba7734155027b8475592cd1dc40aa5f6bc33b505a28" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Integer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 57, - "snippet": { - "text": "namespace indented\n{\n public class Integer : Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89799bb13aa7276562768aa49b6195bc1ab69f09df4e5fe5522093724c4642b4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Template.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 85, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 53, - "charLength": 73, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class Template : Block\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89e4b3e138c9098c46107e29ed0f2176747891a0bb8313a80647ed7db1ecbbee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 1, - "charOffset": 310, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 293, - "charLength": 41, - "snippet": { - "text": "\nnamespace bench\n{\n\n [MemoryDiagnoser]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89f5772352e0674879161e1c69b1eb8490ca1b920cec45416f5c7373ed3a071c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1113, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1088, - "charLength": 53, - "snippet": { - "text": "\nnamespace ParserExample\n{\n\n public enum ManySugar" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8a1c94ca586f656a94ddbc7ae9cff4d55fdf60a8787a0118021b1240dc2b5bcd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/TemplateEvaluationException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 96, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class TemplateEvaluationException : Exception\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8a5c32e6c463c81ffb2c0c1419de1d972a50d9116171b01bf95d3ec2696abbf9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 57, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 31, - "charLength": 63, - "snippet": { - "text": "\nnamespace SimpleTemplate\n{\n \n [Lexer(IgnoreEOL = false)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ab06e194a7042b38218eb2fd60676d1d1328bf28e35c7c8e7c1bebec7dde3fc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Text.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 73, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class Text : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91a3fb77c36b3094ff9393c24b0a9c8894f876be62a95f2f03982fe51467d6d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 183, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 161, - "charLength": 61, - "snippet": { - "text": "\nnamespace bench.json\n{\n public class EbnfJsonParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91c825bee270d25c425bf4523d842fde5d872a6a44512d83a122d600a030923f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 95, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 51, - "charLength": 85, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class Neg : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "92154e16641b0180664f5acb4ca0cb8ccfcb6bf8801df5389082704630e3ae98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JNull.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 38, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 75, - "snippet": { - "text": "namespace benchCurrent.json.JsonModel\n{\n public class JNull : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9255a674b70bf60589916868418fa2742619afe9ec4759077b58ed00f017d15e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 62, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public enum JsonTokenGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "955429844616f30e1f09d8dec91a56280dce6772b133c7c1a4c7585efef65199" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 62, - "snippet": { - "text": "\nnamespace benchCurrent.json\n{\n public enum JsonToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "965569f81b56314ec264a27db331aa77f810e5abd79e14f8bbd7d22890cf7cf7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 85, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class IntegerConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9eae105a70a5ecc57436c0c360f7f96557df095dafb44318c788799ac5dcf030" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 73, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 45, - "charLength": 69, - "snippet": { - "text": "\nnamespace expressionparser\n{\n public class ExpressionParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9f7b19fd7375363771c13ff33212c3385901190e92d9e736b058e553760624bc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 159, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 126, - "charLength": 100, - "snippet": { - "text": "\nnamespace csly.whileLang.parser\n{\n [ParserRoot(\"statement\")]\n public class WhileParserGeneric" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a10c64388d1ff18d92950b5530424adc01813fb339e94aea3651ffd0130ae894" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SignatureException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 95, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public class SignatureException : TypingException\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a1c897bee361ccbe2ae0030fd9912cffd78ff5b72e3969fda00a68e1d92982a3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 51, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 79, - "snippet": { - "text": "\nnamespace simpleExpressionParser\n{\n public enum SimpleExpressionToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6df323a56ad8d51f8d9f89c2f1ce18a4453bdbdafba11eb171f4efae37400ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 73, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class Not : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6e9cfd5d04a95e479c29b8b26ce344a74571e5dbd43bcb3440331ae3a8c1c75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 65, - "snippet": { - "text": "namespace bench.json.model\n{\n public abstract class JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8e169e873844ce9e8680324bbf0e0ffdbc420ee21b52748193eb9cfed7bea0c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 69, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 45, - "charLength": 56, - "snippet": { - "text": "\nnamespace benchCurrent\n{\n static class Program\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9ffa1c4b1cbeaac37d2066e474132d6f67b3f6b6605cd7e8bfdf0149067eeca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Signatures.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 97, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 62, - "charLength": 70, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class Signatures\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa96c37aa2c14e1fec585f42564e733f6019860f2a5e2ae60bf6d05dd2dee73b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 109, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 65, - "charLength": 96, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class StringConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "abd4385ddb28e74368daa4a2318448d5653c8670680797e71fc90a7aa5b6ca24" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 74, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 39, - "charLength": 75, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class CompilerContext\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad9d4dcadca71fa181fada23f353e177982aa80fc1de922df30ca51ba0a952c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 58, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 121, - "snippet": { - "text": "\nnamespace csly.indentedWhileLang.parser\n{\n [Lexer(IndentationAWare = true)]\n public enum IndentedWhileTokenGeneric" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ada351fbdd5c5da95bcba11703162f01c3ba43e74eb3a09022e4d0ff4d4a4227" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 50, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 74, - "snippet": { - "text": "\nnamespace csly.whileLang.parser\n{\n public enum WhileTokenGeneric\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "afc4d72d3bb3f8e14f0be91e2b99f5090fc033e5cbe8192657b50c9f783dcb15" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 105, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public class BinaryOperation : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b14abf662c4f14bbbac2e83031ac6655c3e136947acaa40bf63550d32ed0409c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 74, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class Value : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1d9c811f243fa153e6940e69608510402caf6a7105ec00b89b16d1643a656c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 103, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 69, - "charLength": 81, - "snippet": { - "text": "\nnamespace simpleExpressionParser\n{\n public class SimpleExpressionParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b36a71cdb49e7577c5c6517eff379e8ef4e55f740bb2f6ad0ab07d65a10317e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/IndentedWhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 1, - "charOffset": 231, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 188, - "charLength": 89, - "snippet": { - "text": "\nnamespace csly.indentedWhileLang.compiler\n{\n public class IndentedWhileCompiler\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b6d5235878f9e2b07d4a7792b2eb0ee9045693524c6256316315d41e2255f6fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 65, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JValue : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ba1abc61aaea4ad42eed8a6ec0975a3896acba831287c79d909a5e80a7d18915" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 51, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "namespace postProcessedLexerParser.expressionModel\n{\n public class UnaryOperation : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd5c6d5daafa265d699b4f86af316691a2918a29923b533dc451a17f62cfe6e7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 184, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 149, - "charLength": 73, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class WhileCompiler\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfdb3be09253cd213deec9f69d5c9829d232700a8941a628d173c8bf7a4d5703" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 42, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 71, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public enum GenericShortAttributes\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2fc519cffc5e7a32ea48959e30e21a3e699fbb1f0c190f3037deba9174374c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 55, - "snippet": { - "text": "\nnamespace bench.json\n{\n public enum JsonToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c348855db4e4ef66110cf35613f89333e55f9de9e9dc522401dd5cad8b5bf681" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 124, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 104, - "charLength": 60, - "snippet": { - "text": "\nnamespace indented\n{\n public class IndentedParser2\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3e96750f39751e2636ccf3ff415e5066898bbf26cb9e0cdf314b2c339254869" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 143, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 114, - "charLength": 87, - "snippet": { - "text": "\nnamespace benchCurrent.json\n{\n public static class DictionaryExtensionMethods\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c4ee0d31b168a2e12cec70eac89d8ac32b0612cdb67966f7cfba1011558d697a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 42, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 62, - "snippet": { - "text": "\nnamespace ParserExample\n{\n public enum Issue165Lexer\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c64ec78b825f43661eb2c7d3c7f0d603d0cf3529a39108c21d18eb6435a95bb8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 73, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class Neg : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c6c946bed1adf854b17d73d84096b08ca2688a7fd04e8c272fc20e035293ad85" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/PrintStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 83, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class PrintStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb0fe60075da18a8ff12dfce88634e2b003d4d052e014968810be77b74d115dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Set.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 59, - "snippet": { - "text": "namespace indented\n{\n public class Set : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb42e5b948b4dc1f032d9c213d7a77828ee664bd7dd98c920dc899810c93adc7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/AssignStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 126, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 94, - "charLength": 84, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public class AssignStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce0401a10dfa7625259cca7fb29a61fde1d67f2065b7f9fa4bf275aaa2498725" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 1, - "charOffset": 257, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 231, - "charLength": 65, - "snippet": { - "text": "\nnamespace SimpleTemplate\n{\n public class TemplateParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf02dfda77bccacec5ced6670d7490631dcbc40106ac6c903c2a7a987dfb317d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 123, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 91, - "charLength": 79, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class IfThenElse : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0b2a93b5f16b790aa1cd719d347daf97f66df4e281bff4384badd51c35500f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/Expression.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 72, - "snippet": { - "text": "namespace expressionparser.model\n{\n public interface Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d37445ecc0b3bf67a014d172d787bffdc315ec6b2fd713fc49210864aa2ae13b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/TypeConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 49, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 73, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class TypeConverter\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5425630360cca52f256c8e3ddddd65bb8c26228298b282dd9d56795113ee435" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 38, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 76, - "snippet": { - "text": "namespace benchCurrent.json.JsonModel\n{\n public abstract class JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5deabb3a6af4bd9fbed3ae6ca7e00eee69571b5854af4f9bf7809a315d9536e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 67, - "snippet": { - "text": "\nnamespace indented\n{\n public class IfThenElse : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d61f8328ccb8996577a07b92a92d746dae046e0005a23021fe19062f3b2153ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 175, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 123, - "charLength": 90, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public class FormulaParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db2dc545055b6d1b344cc8e36caf22b1b3224f23f8c9d924008a46a87e9b6eaa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 65, - "snippet": { - "text": "namespace bench.json.model\n{\n public abstract class JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc2b03bc66118950b1edf83b80284825165dd3c0368ebc49648b0b3b61501d79" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ITemplate.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 70, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public interface ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc5d7506010ee6c68bd54c51d725e79f7cf8eea45111f3efad69c3ddcdbe26bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileType.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 67, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public enum WhileType\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df20159ca57a0785b577b6e9157036023e10bd6b18fe47b2bf19182af81cee03" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 46, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 31, - "charLength": 54, - "snippet": { - "text": "\nnamespace XML\n{\n [Lexer()]\n [Modes(\"tag\",\"pi\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dfabe35e86a4257e620c134d94bbb711318c7541a908f54897790eabfdeb1c16" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 124, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 104, - "charLength": 59, - "snippet": { - "text": "\nnamespace indented\n{\n public class IndentedParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2a0beb934577f2ae0b157ad6332983f35fda02ea56d89a7b2608de7b6b57fd3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 85, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 53, - "charLength": 73, - "snippet": { - "text": "\nnamespace SimpleTemplate.model\n{\n public class ForI : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e39c0cf98da1e64d176776f39db61d3589541beef5561edf09eb54100dcf2789" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SkipStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 89, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public sealed class SkipStatement : Statement\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e476af181ada292811d7175dbe1d69b02a3799a9346e3a38634ab8598f2e87b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 38, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 76, - "snippet": { - "text": "namespace benchCurrent.json.JsonModel\n{\n public class JValue : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e5385df2633fdbe2075e15fe2b703149779ea40ce6f9165cec7d971d7e0a56dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 119, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 67, - "charLength": 102, - "snippet": { - "text": "\nnamespace postProcessedLexerParser.expressionModel\n{\n public class FunctionCall : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e5e8b0c2f6c2e770e33f39eec5c5c620b98bf5aee58342eb335e1ba63dfe03b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 33, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 86, - "snippet": { - "text": "namespace expressionparser.model\n{\n public class BinaryOperation : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e92bb26342a95b4ba04401b9c9f5536aed298dcb204f396cefe611f63e3fe5c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JNull.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 27, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JNull : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb88572334c483fbf4260b90029c057417462205da91e2314b6738a46ffe6675" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 39, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 17, - "charLength": 55, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public enum JsonToken\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec1a3f57a83612ca2687f1ebcb22d131263bbd71e10ecbec91457f1f1288d7e9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Expression.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 106, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 62, - "charLength": 95, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public interface Expression : ITemplate\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec25c31c25e50b51072d86b1a1e2f8905b7336e0852c70b27f37ea25ed76e90a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Ast.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 19, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 51, - "snippet": { - "text": "namespace indented\n{\n public interface Ast\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed076eddb5ce33f2782ee40da5e9047b5bef2330267068a51f06cc54b7df07de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 1, - "charOffset": 139, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 117, - "charLength": 68, - "snippet": { - "text": "\nnamespace bench.json\n{\n public class EbnfJsonGenericParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed5901f53fccbb4641612957fc04ee37ce09154f1fbaab92280089d61aa4f341" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 62, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 67, - "snippet": { - "text": "\nnamespace bench.json.model\n{\n public class JObject : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee63732300f6e73bc12baf3076b0cc494b09a3aa41847f5b8ce3703558294d1e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 103, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 75, - "charLength": 77, - "snippet": { - "text": "\nnamespace expressionparser\n{\n public class VariableExpressionParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f00a9869f446ad7e5cee95161ef3ae4db7de6cc8db6a17d651c423b698652979" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 187, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 165, - "charLength": 61, - "snippet": { - "text": "\nnamespace jsonparser\n{\n public class EbnfJsonParser\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1f483b8d6b38e3470185c9582c2cd80d284bc8d1ef6747e9dc64d22b1103b23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 1, - "charOffset": 88, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 53, - "charLength": 65, - "snippet": { - "text": "\nnamespace csly.whileLang.compiler\n{\n public class Scope\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f52d01ba1c80ac66cff89b777e5596c4f055379a1a633d713167222fbab7515e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileAST.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 107, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 75, - "charLength": 69, - "snippet": { - "text": "\nnamespace csly.whileLang.model\n{\n public interface WhileAST\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f598025551a5b61c6412d5a2914873f24f45e41e9b8caa6a7454489037f732e9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/ExpressionContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 68, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 76, - "snippet": { - "text": "\nnamespace expressionparser.model\n{\n public class ExpressionContext\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5cf6be0e2f226b6ccdc2eab4d6a0bffa5c49f5b9c0651a2fb50557ee4cb59a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 78, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 94, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public class BoolConstant : Expression\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f693d150ffa65a7b4f726c2edd5f5663ba39c7201a2782eab301ad0e0bc21687" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 64, - "snippet": { - "text": "\nnamespace jsonparser.JsonModel\n{\n public class JList : JSon\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f82e811a0ac820038f4487c2d61c7c73dba314e7d2503467ae68301d57f4fea8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 1, - "charOffset": 133, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 95, - "charLength": 95, - "snippet": { - "text": "\nnamespace csly.whileLang.interpreter\n{\n public class InterpreterException : Exception\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f930f5e7aa7d46a2939263c70aef75646fd5b04ab3d5a60fa1792261efa28ac1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 66, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 71, - "snippet": { - "text": "\nnamespace jsonparser.JsonModel\n{\n public class JObject : JSon\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbab79c73ec0c8277e55918dd42350c078bb33ea823bfc96054d3b9346a8bb6e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeNamespaceBody", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert to file-scoped namespace", - "markdown": "Convert to file-scoped namespace" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 1, - "charOffset": 196, - "charLength": 1, - "snippet": { - "text": "{" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 152, - "charLength": 82, - "snippet": { - "text": "\nnamespace SimpleTemplate.model.expressions\n{\n public enum BinaryOperator\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fdb9d4d951fef08a55c8f1daf244689e80d872c233888eae07bae41d028ab18b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 246, - "startColumn": 29, - "charOffset": 7163, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 244, - "startColumn": 1, - "charOffset": 7053, - "charLength": 208, - "snippet": { - "text": " BinaryOperator.AND, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01143f61a613d74c2c3dc7aa6c70875d6f411ce8c7ea7de05652839c5c57138c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 240, - "startColumn": 29, - "charOffset": 6939, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 238, - "startColumn": 1, - "charOffset": 6824, - "charLength": 210, - "snippet": { - "text": " BinaryOperator.MULTIPLY, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08036f0bc8c0d8335609c37ba12952c449e10af6bf70f836d950da7ef02a9c26" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 284, - "startColumn": 29, - "charOffset": 9017, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 282, - "startColumn": 1, - "charOffset": 8813, - "charLength": 302, - "snippet": { - "text": " new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ccecf59fe28a4ea3fb94ca564a082fcfef00db48468c3e233be419ec65480af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 259, - "startColumn": 29, - "charOffset": 7704, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 257, - "startColumn": 1, - "charOffset": 7569, - "charLength": 305, - "snippet": { - "text": " {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "355c3444267aaaab118f1bbd5bd427d2c1e42ff9c66e27a3b67ed4c74e146570" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 228, - "startColumn": 29, - "charOffset": 6483, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 226, - "startColumn": 1, - "charOffset": 6373, - "charLength": 205, - "snippet": { - "text": " BinaryOperator.SUB, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38885063ec9edeea522817b2134387ee311318b91a2fde4f23b474f0ffe128d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 290, - "startColumn": 29, - "charOffset": 9247, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 288, - "startColumn": 1, - "charOffset": 9134, - "charLength": 210, - "snippet": { - "text": " BinaryOperator.CONCAT, new List\n {\n new Signature(WhileType.ANY, WhileType.ANY, WhileType.STRING)\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4df99db36a3b4d39ab56870c01f21976b343e17c12995afdab0efcfc2fd82302" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 276, - "startColumn": 29, - "charOffset": 8608, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 274, - "startColumn": 1, - "charOffset": 8404, - "charLength": 302, - "snippet": { - "text": " new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "637b2dcac924496dacaa1493364f6db4f0537e133c53c45ea589e87acd9412e6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 252, - "startColumn": 29, - "charOffset": 7389, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 250, - "startColumn": 1, - "charOffset": 7280, - "charLength": 207, - "snippet": { - "text": " BinaryOperator.OR, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7384ebfac168e38f3b4e30ba5438e8fba4d8e93143b2ac7fc37cbd740fd92cf2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 282, - "startColumn": 29, - "charOffset": 8841, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 280, - "startColumn": 1, - "charOffset": 8725, - "charLength": 349, - "snippet": { - "text": " BinaryOperator.DIFFERENT, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "752d0f8f6aa567770443d39a82b22eb88e525671653530826df8c4abfe4dca6a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 222, - "startColumn": 29, - "charOffset": 6259, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 220, - "startColumn": 1, - "charOffset": 6149, - "charLength": 205, - "snippet": { - "text": " BinaryOperator.ADD, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e38fa998675b62a85057c736a499657dda31a753355ed4bc44ef9787084ba41" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 258, - "startColumn": 29, - "charOffset": 7619, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 256, - "startColumn": 1, - "charOffset": 7506, - "charLength": 346, - "snippet": { - "text": " BinaryOperator.LESSER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "97b97268150a9558f05f9bb0f920b46bae0c3e982fb52431e50989841a0f93b4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 274, - "startColumn": 29, - "charOffset": 8432, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 272, - "startColumn": 1, - "charOffset": 8319, - "charLength": 346, - "snippet": { - "text": " BinaryOperator.EQUALS, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c07ce2cbc31eb5fc4587596f1d092ead4c8b4d8d98b4d19b27f8e9e5646b4df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 275, - "startColumn": 29, - "charOffset": 8517, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 273, - "startColumn": 1, - "charOffset": 8382, - "charLength": 305, - "snippet": { - "text": " {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4d3e1ed212d852768e5760141cf26875e96c67c01d6c781f207d29b3e8efd60" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 260, - "startColumn": 29, - "charOffset": 7795, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 258, - "startColumn": 1, - "charOffset": 7591, - "charLength": 302, - "snippet": { - "text": " new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5ffaa63dde29ab192995177a16506b452c71fedae1af19165a6e0c550c94c00" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 283, - "startColumn": 29, - "charOffset": 8926, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 281, - "startColumn": 1, - "charOffset": 8791, - "charLength": 305, - "snippet": { - "text": " {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac880887b004b83643fc089897f72c7690f21608ec74fccdeb5509058a35f4df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 268, - "startColumn": 29, - "charOffset": 8202, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 266, - "startColumn": 1, - "charOffset": 7998, - "charLength": 302, - "snippet": { - "text": " new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b5efcae182b6d0cf640ddd55a6f1570f7c5c062a5b13adb8c778f1773d32f86f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 234, - "startColumn": 29, - "charOffset": 6710, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 232, - "startColumn": 1, - "charOffset": 6597, - "charLength": 208, - "snippet": { - "text": " BinaryOperator.DIVIDE, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cdd2bcb09496fc96429b63c8315c960b85a619b862f96997f86226e0398910f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 57, - "charOffset": 172, - "charLength": 9, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 75, - "charLength": 162, - "snippet": { - "text": " public class Block : Statement\n {\n public List Statements { get; set; } = new List();\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e0584d2b215138892b9f6a46116c055917eb6cb6debfb77a4bf25946692a775d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 266, - "startColumn": 29, - "charOffset": 8026, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 264, - "startColumn": 1, - "charOffset": 7912, - "charLength": 347, - "snippet": { - "text": " BinaryOperator.GREATER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f3b2cf22125ac526bcb3c53951e18400409944d49d06f48dd91d08d0a12b1ad1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeObjectCreationWhenTypeEvident", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant type specification", - "markdown": "Redundant type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 267, - "startColumn": 29, - "charOffset": 8111, - "charLength": 9, - "snippet": { - "text": "Signature" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 265, - "startColumn": 1, - "charOffset": 7976, - "charLength": 305, - "snippet": { - "text": " {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4b1cef70c4c40a3ec69c4e2872242a0696b846a986eaeceb10e697a8748c063" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 31, - "charOffset": 231, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 151, - "charLength": 161, - "snippet": { - "text": " static void Main(string[] args)\n {\n Console.WriteLine((\"SETUP\"));\n \n var content = File.ReadAllText(\"test.json\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1721208f4fd0e709a3c2b3899a5ea0fddef469fcda716a7f5078dceec7f1cfe2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 20, - "charOffset": 1426, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1355, - "charLength": 131, - "snippet": { - "text": " public override int GetHashCode()\n {\n return (Clause != null ? Clause.GetHashCode() : 0);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5674907d8a6c3358723fceb4603167b63b9f9e72eb0f759e0de77b9c5b8019f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 31, - "charOffset": 791, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 723, - "charLength": 177, - "snippet": { - "text": " public void Setup()\n {\n Console.WriteLine((\"SETUP\"));\n content = File.ReadAllText(\"test.json\");\n Console.WriteLine(\"json read.\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70f0766a5c7f60db0cdceaefc40a00c58356c4643ad9e06467bb86954293159e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 546, - "startColumn": 41, - "charOffset": 19893, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 544, - "startColumn": 1, - "charOffset": 19801, - "charLength": 223, - "snippet": { - "text": " if (doubleLexeme != null)\n {\n char decimalSeparator = (doubleLexeme.HasGenericTokenParameters)\n ? doubleLexeme.GenericTokenParameters[0][0]\n : '.';" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "85a004d851aa70d0ae15c926d6c1b436afc5c9ed09893affd96fa2e4fd575c86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 31, - "charOffset": 1160, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1092, - "charLength": 164, - "snippet": { - "text": " public void Setup()\n {\n Console.WriteLine((\"SETUP\"));\n Console.ReadLine();\n content = File.ReadAllText(\"test.json\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9dc16631baf31a424ddb6990182b346de267f6c5ee7e65256f1fe60390fec012" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 26, - "charOffset": 494, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 392, - "charLength": 145, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n return (bool)(Evaluate(context)) ? \"1\" : \"0\";\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4f7f9b914b1fcbc9dbb5298c15cc27cfe3a1199285572ee6544e93589d86e6d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeRedundantParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant parentheses", - "markdown": "Redundant parentheses" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 31, - "charOffset": 1081, - "charLength": 1, - "snippet": { - "text": "(" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1013, - "charLength": 166, - "snippet": { - "text": " public void Setup()\n {\n Console.WriteLine((\"SETUP\"));\n// Console.ReadLine();\n content = File.ReadAllText(\"test.json\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "efa995ab9e17d227907cd29b60a8c1a2e046fc570597c2765de106b47e975904" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeStaticMemberQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier is redundant", - "markdown": "Qualifier is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 636, - "startColumn": 34, - "charOffset": 23226, - "charLength": 17, - "snippet": { - "text": "GenericLexer." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 634, - "startColumn": 1, - "charOffset": 23090, - "charLength": 274, - "snippet": { - "text": " NodeCallback callback = delegate(FSMMatch match)\n {\n match.Properties[GenericLexer.DerivedToken] = token;\n var elements = match.Result.Value.Split(separator);\n DateTime date;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfde2924d07584bf8cad409c30ab47f445c280c0d06845145df089d820bd99c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeStaticMemberQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier is redundant", - "markdown": "Qualifier is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 575, - "startColumn": 34, - "charOffset": 21020, - "charLength": 17, - "snippet": { - "text": "GenericLexer." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 573, - "startColumn": 1, - "charOffset": 20884, - "charLength": 274, - "snippet": { - "text": " NodeCallback callback = delegate(FSMMatch match)\n {\n match.Properties[GenericLexer.DerivedToken] = token;\n var elements = match.Result.Value.Split(separator);\n DateTime date;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fd5beb5b04fb3beb8c81ebc98a21b8076161127c89ced842036a6de4030f5dc3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 38, - "charOffset": 2035, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1946, - "charLength": 162, - "snippet": { - "text": " public override int GetHashCode()\n {\n return IsExplicitToken ? this.ExplicitToken.GetHashCode() : TokenId.GetHashCode();\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37f606b91fde76fe34593a1c31eed93bc9ad3655b707adbea14ca7c9adf5e309" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 178, - "startColumn": 20, - "charOffset": 7370, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 176, - "startColumn": 1, - "charOffset": 7312, - "charLength": 103, - "snippet": { - "text": " public string Dump()\n {\n return this.Configuration.Dump();\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "665178e151e85f13a0fbcf466f63ab88b4e674a1511c6e9b17c73afd9574455d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 34, - "charOffset": 1319, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1171, - "charLength": 241, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((NonTerminalClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "674a9b711edda26ed85683a56e65071d25bd96a53337fd584637d9b26f98570c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 254, - "startColumn": 42, - "charOffset": 7525, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 252, - "startColumn": 1, - "charOffset": 7415, - "charLength": 350, - "snippet": { - "text": " {\n // Remember the possible match\n lexerPosition.Mode = this.Mode;\n result = new FSMMatch(true, currentNode.Value, currentValue, position, currentNode.Id,\n lexerPosition, currentNode.IsLineEnding, currentNode.IsPopModeNode, currentNode.IsPushModeNode," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d9cc44b57cbf9e68df3b5527541a93dcb1ab643538af935cd29a1a437ffe1e6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 34, - "charOffset": 2250, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2102, - "charLength": 236, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((ChoiceClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b06b14cdb63d07db9beaa60ed5e9931fe6915598ca7c33cb89aea1171d8429e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 34, - "charOffset": 1265, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1117, - "charLength": 236, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((OptionClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad9e1ce3bb6f092e8436d4783acaf452b9c05aad739b701a7f391fd82e069cf4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeThisQualifier", - "kind": "fail", - "level": "note", - "message": { - "text": "Qualifier 'this.' is redundant", - "markdown": "Qualifier 'this.' is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 34, - "charOffset": 1855, - "charLength": 5, - "snippet": { - "text": "this." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 1707, - "charLength": 237, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((LeadingToken)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f914591f923821fbb8f9c9a7108bd1736ad3a20e23628642452984082abe9a43" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeTrailingCommaInMultilineLists", - "kind": "fail", - "level": "note", - "message": { - "text": "Remove trailing comma to conform to code style", - "markdown": "Remove trailing comma to conform to code style" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 56, - "charOffset": 595, - "charLength": 1, - "snippet": { - "text": "," - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 477, - "charLength": 126, - "snippet": { - "text": " [SingleLineComment(\"//\")] SINGLE_COMMENT = 8,\n \n [MultiLineComment(\"/*\",\"*/\")] MULTI_COMMENT = 9,\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "936f69d7878570e0e0eac35e1dc10a1da18219979b5c912eab729543c0be6084" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTrailingCommaInMultilineLists", - "kind": "fail", - "level": "note", - "message": { - "text": "Remove trailing comma to conform to code style", - "markdown": "Remove trailing comma to conform to code style" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 20, - "charOffset": 1478, - "charLength": 1, - "snippet": { - "text": "," - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1408, - "charLength": 78, - "snippet": { - "text": "\n [Lexeme(GenericToken.String, \"'\",\"\\\\\")] \n STRING = 13,\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e00d735c9f496a01e37423253077ed8a2f3f2135478ee191c333e056cfde6fff" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ArrangeTypeMemberModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'private' modifier", - "markdown": "Inconsistent modifiers style: missing 'private' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 254, - "charLength": 4, - "snippet": { - "text": "Main" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 223, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58178507728e1e9a835a14bde8fa61053a206272908652911d38bd678d2253bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeMemberModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'private' modifier", - "markdown": "Inconsistent modifiers style: missing 'private' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 21, - "charOffset": 241, - "charLength": 4, - "snippet": { - "text": "Main" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 210, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bac30529b93761ad7be57628b529b2bb3f512df1223deb1df2829471148ffc31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeMemberModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'private' modifier", - "markdown": "Inconsistent modifiers style: missing 'private' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 240, - "charLength": 4, - "snippet": { - "text": "Main" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 209, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2f7d0f57aca47ef4ef919884ad371124c5aff78ecd52ab65a22fadcb8b97287" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeMemberModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'private' modifier", - "markdown": "Inconsistent modifiers style: missing 'private' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 21, - "charOffset": 171, - "charLength": 4, - "snippet": { - "text": "Main" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 127, - "charLength": 115, - "snippet": { - "text": " class Program\n {\n static void Main(string[] args)\n {\n Console.WriteLine((\"SETUP\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da34bba7d02df33803acc05d4ba20b386b571d66c8f94ca1ffe95ffca6f18d17" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'internal' modifier", - "markdown": "Inconsistent modifiers style: missing 'internal' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 88, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 56, - "snippet": { - "text": "namespace benchCurrent\n{\n static class Program\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0467d1203279b43d3c87891d031325d6af8b87275abdf7d913eeea667bfabc8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'internal' modifier", - "markdown": "Inconsistent modifiers style: missing 'internal' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 11, - "charOffset": 137, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 106, - "charLength": 84, - "snippet": { - "text": "namespace profiler\n{\n class Program\n {\n static void Main(string[] args)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60ff62c711ff5c2e00db3d531a6b513f7f917612bc2c71d9fa614d34e1089fa2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'internal' modifier", - "markdown": "Inconsistent modifiers style: missing 'internal' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 74, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 42, - "snippet": { - "text": "namespace bench\n{\n class Program\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a7d345898901f1be0b29b1fb73fde9dbc395d9161238fbecad90cc30f2b1c98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ArrangeTypeModifiers", - "kind": "fail", - "level": "note", - "message": { - "text": "Inconsistent modifiers style: missing 'internal' modifier", - "markdown": "Inconsistent modifiers style: missing 'internal' modifier" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 11, - "charOffset": 75, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 47, - "charLength": 42, - "snippet": { - "text": "namespace bench\n{\n class Program\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e37036bd6646fd335630c0c69fd73ee13c2c4ff868b8ec2b3fae49656b029c19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AssignNullToNotNullAttribute", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 55, - "charOffset": 389, - "charLength": 16, - "snippet": { - "text": "value.ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 251, - "charLength": 258, - "snippet": { - "text": " foreach (IN value in Enum.GetValues(genericType))\n {\n var test = Enum.Parse(typeof(IN), value.ToString()) as Enum;\n var val = Convert.ToInt32(test);\n if (val == intValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b84a3f42ec291063505078bbb7d114970e6f1cfa92a70adb8875b0b9e76d268" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AssignNullToNotNullAttribute", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 323, - "startColumn": 46, - "charOffset": 13353, - "charLength": 19, - "snippet": { - "text": "innerRuleRes.Errors" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 321, - "startColumn": 1, - "charOffset": 13285, - "charLength": 108, - "snippet": { - "text": " }\n\n innerRuleErrors.AddRange(innerRuleRes.Errors);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bf949334d89fd7e46ac7f3aa3bc4bf2f9aa3a4de68bdbd72701394c4f0505145" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AssignNullToNotNullAttribute", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 60, - "charOffset": 5477, - "charLength": 4, - "snippet": { - "text": "lang" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 5262, - "charLength": 322, - "snippet": { - "text": " token.Label = token.TokenID.ToString();\n if (labels.TryGetValue(token.TokenID, out var tokenLabels) \n && tokenLabels.TryGetValue(lang, out string label))\n {\n token.Label = label;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d39e41804b98023f704c8b8fa18e644005377136cd796b6196a1924f1b5cc607" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AssignNullToNotNullAttribute", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 50, - "charOffset": 13263, - "charLength": 19, - "snippet": { - "text": "innerRuleRes.Errors" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 13095, - "charLength": 212, - "snippet": { - "text": " greaterIndex = innerRuleRes.EndingPosition;\n //innerRuleErrors.Clear();\n innerRuleErrors.AddRange(innerRuleRes.Errors);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e20e3659d3ec0d318f9ef562055a3f218005140a5fc3b41cf9612117a9cfc0c2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AssignNullToNotNullAttribute", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'null' assignment to non-nullable entity", - "markdown": "Possible 'null' assignment to non-nullable entity" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 61, - "charOffset": 2192, - "charLength": 12, - "snippet": { - "text": "v.ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 2071, - "charLength": 241, - "snippet": { - "text": " if (group.Count() > 1)\n {\n Enum enumValue = Enum.Parse(typeof(IN), v.ToString()) as Enum;\n int intValue = Convert.ToInt32(enumValue); // x is the integer value of enum\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f17dd2f4c22c892fc8534bead0aec0cddff6d2b6d3679cb86f41c33f20cf1c7e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/InitializationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 38, - "charOffset": 345, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 261, - "charLength": 142, - "snippet": { - "text": " public ErrorLevel Level { get; set; }\n\n public string Message { get; set; }\n \n public ErrorCodes Code {get; set;}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "043714325e447fd9a9f80c34ba9953d8d138127048a75ddfc6e6085fc065f194" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 39, - "charOffset": 203, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 150, - "charLength": 117, - "snippet": { - "text": " {\n \n public string ListName { get; set; }\n \n public string IteratorName { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05ba8d5fcdf660c6632e9d84aebdc0c601a44bd77cde317b1f04926e0740bb06" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 39, - "charOffset": 692, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 643, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0735b551890ab78774cc811234f214bdba9dff9088f7fe28542a7fafba0b6894" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 38, - "charOffset": 1960, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1869, - "charLength": 144, - "snippet": { - "text": " public string IdentifierRestPattern { get; }\n\n public string Pattern { get; set; }\n\n public bool IsSkippable { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a546a2639e2db989945a979e49d2ce05d56c4a991c54e59f21a51bc5980e185" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 59, - "charOffset": 938, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 789, - "charLength": 291, - "snippet": { - "text": " public ILexer Lexer { get; set; }\n public object Instance { get; set; }\n public ISyntaxParser SyntaxParser { get; set; }\n public SyntaxTreeVisitor Visitor { get; set; }\n public ParserConfiguration Configuration { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e779af390be81aeb02326c108baf8e4273048c517cdab2694f8eddf548546fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 46, - "charOffset": 1347, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1250, - "charLength": 148, - "snippet": { - "text": " public bool IgnoreWhiteSpace { get; set; }\n\n public List WhiteSpaces { get; set; }\n\n public bool IgnoreEOL { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "10199ba0b694f0ee378976db51fabad2526b578632126a70ca7f3f5521194dcf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMTransition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 53, - "charOffset": 441, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 378, - "charLength": 71, - "snippet": { - "text": " }\n\n public AbstractTransitionCheck Check { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "16fd8f1bdf91e6612a26c1b779f73f28cddf87a8e477cb41a813cffc161d8960" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ProductionAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 41, - "charOffset": 311, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 260, - "charLength": 65, - "snippet": { - "text": " }\n\n public string RuleString { get; set; }\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "182bb6d77f3ea38c8fa9c5a7e81d4fd59db50c38b5311e2f8cac08b109b54e76" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 55, - "charOffset": 1706, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1596, - "charLength": 200, - "snippet": { - "text": " public GenericToken GenericToken { get; set; }\n\n public string[] GenericTokenParameters { get; set; }\n\n public IdentifierType IdentifierType { get; set; } = IdentifierType.Alpha;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1975c2a5795316fd26b018f4b7acc1c5c6de78d8faadd9ed146cf69c38a8b7b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 40, - "charOffset": 2007, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1923, - "charLength": 138, - "snippet": { - "text": " public string Pattern { get; set; }\n\n public bool IsSkippable { get; set; }\n\n public bool IsLineEnding { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19b49c12e4e37295b39a9e0a782f29d60498cb1aec715a27be0c423874bd5f5b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 53, - "charOffset": 946, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 883, - "charLength": 120, - "snippet": { - "text": " }\n\n public LeadingToken ExpectedToken { get; set; }\n\n public string ExplicitToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1c58028135517313bfc6853f7f4952af2fc63d8b440d3625527265ce13e77f3d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 47, - "charOffset": 746, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 654, - "charLength": 145, - "snippet": { - "text": " public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20108e28a2e30eba606259bf1b3b8133b7323a1b04739c420915f9be1e7675af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 36, - "charOffset": 346, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 300, - "charLength": 54, - "snippet": { - "text": " }\n\n public string Value { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22fa5d82addfffc66393eeacd817d46b1da1255aead487a9d76e84d2cb66d487" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 40, - "charOffset": 790, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 697, - "charLength": 152, - "snippet": { - "text": " public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24f3d1253e0b4880dbe299c2e837aba5b047fb47cf18ba90f45a54ed7a9bac13" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 66, - "charOffset": 332, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 259, - "charLength": 144, - "snippet": { - "text": " \n\n public ParserConfiguration Configuration { get; set; }\n public string StartingNonTerminal { get; set; }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "251c9e1815c8772d4e49ed595a2b36c60f382d1d9d829b98718f8c1e7c7b8205" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 40, - "charOffset": 292, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 242, - "charLength": 106, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "25d7f36bea857a2a02d1e5416e181acf7e34ab5547628a8663b977de1ecb33da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 53, - "charOffset": 4572, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 4510, - "charLength": 141, - "snippet": { - "text": " \n\n public object ParserVsisitorInstance { get; set; }\n\n public ParserConfiguration Configuration { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "264bc3f46b7b4c3b704330bf3f80e92753c7500067ac06db8ba7719e287be02d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 43, - "charOffset": 272, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 184, - "charLength": 154, - "snippet": { - "text": " public int End { get; set; }\n \n public string IteratorName { get; set; }\n \n public List Items { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2cef777577f04d5c7e8f2a6f8d97ef8f7f392e36695c735521572ff46df2e91e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 42, - "charOffset": 1556, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1461, - "charLength": 103, - "snippet": { - "text": " public bool IsIntToken { get; set; }\n \n public bool IsStringToken { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2e23dda74fa46a73bf06a98f52a07eb6228427444fd4c48148a543694b9df6a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 45, - "charOffset": 1028, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 973, - "charLength": 129, - "snippet": { - "text": " }\n\n public bool IndentationAWare { get; set; } = false;\n \n public string Indentation { get; set; } = \"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31979a77925ac2c722b3f5e6e08598c4763a873e61c4a6d4bb02573a2cd3d33f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 48, - "charOffset": 930, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 825, - "charLength": 157, - "snippet": { - "text": " public Associativity Associativity { get; set; }\n\n public MethodInfo VisitorMethod { get; set; }\n\n public T OperatorToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3503b899926a5b39564b82ef7c5f2ef72289da231699552545d715cda25f9143" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CallBacksAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 43, - "charOffset": 200, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 104, - "charLength": 166, - "snippet": { - "text": " public class CallBacksAttribute : Attribute\n {\n public Type CallBacksClass { get; set; }\n \n public CallBacksAttribute(Type callBacksClass)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c84ffd31b248c8d863421881a0131749c15f186784709ebeac2a04f1b0de228" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/AssignStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 40, - "charOffset": 427, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 338, - "charLength": 206, - "snippet": { - "text": " public string VariableName { get; set; }\n\n public Expression Value { get; set; }\n public bool IsVariableCreation { get; internal set; }\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41eff86b2f0bcab97e1da614c5e7121723b348a694950778d3656dda93fb12f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 44, - "charOffset": 385, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 331, - "charLength": 110, - "snippet": { - "text": " }\n\n public Expression Condition { get; set; }\n\n public Statement BlockStmt { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43b39b3372177ae2c246ae478fd4df1570756fd03fbd4efd07012477192d74ec" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 44, - "charOffset": 997, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 894, - "charLength": 187, - "snippet": { - "text": " public LeadingToken ExpectedToken { get; set; }\n\n public string ExplicitToken { get; set; }\n\n public bool IsExplicitToken => !string.IsNullOrEmpty(ExplicitToken);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "463dabeb1a2ad31dcb131e435908000ca3bba1719bba66816b3944894bbeb81b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Integer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 33, - "charOffset": 90, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 21, - "charLength": 128, - "snippet": { - "text": " public class Integer : Ast\n {\n public int Value { get; set; }\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "463deafaddca4355be6c558122eb668c246c8bbec73cc97624ff5dd9d43c5d86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 34, - "charOffset": 237, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 109, - "charLength": 193, - "snippet": { - "text": " public sealed class LeadingToken : IEquatable> where IN:struct \n {\n public IN TokenId { get; set; }\n \n public string ExplicitToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "468e74e0791ce263d79e59701e94093600a4aa5288dc572624ab49d4a31bc304" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IfStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 44, - "charOffset": 429, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 375, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Condition { get; set; }\n\n public Statement ThenStmt { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47bc28860d81565950e2a4a80aae424c28880589901ebde65e75b20e19dedbbe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 48, - "charOffset": 384, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 326, - "charLength": 98, - "snippet": { - "text": " }\n\n public List> Clauses { get; set; }\n\n public bool MayBeEmpty()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47eeab405a7a23227f0e50e3e68e62226a81bdf125c1943767982cef39c0b621" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 51, - "charOffset": 1884, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1823, - "charLength": 109, - "snippet": { - "text": " }\n\n public List Parameters { get; set; }\n\n public string Name { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4849585c2e10ce5c51e1da45cac88f0bf55053f6eed454d22e0d4b42521b9d6d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 58, - "charOffset": 1002, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 835, - "charLength": 246, - "snippet": { - "text": " public object Instance { get; set; }\n public ISyntaxParser SyntaxParser { get; set; }\n public SyntaxTreeVisitor Visitor { get; set; }\n public ParserConfiguration Configuration { get; set; }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "48a05142c564f2673af8a60fb1fe9cdf0e84bba2d1eaa6fed7b292067bc67c9f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 34, - "charOffset": 160, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 87, - "charLength": 120, - "snippet": { - "text": " public Cond Cond { get; set; }\n\n public Block Then { get; set; }\n\n public Block Else { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4cb02e10f8f196d366d3241451097209c4a549939f8c50403e66ad5a926eddf6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 36, - "charOffset": 1600, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1563, - "charLength": 106, - "snippet": { - "text": "\n\n public int IntToken { get; set; } = -1;\n \n public string StringToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4cef071c4f662bb5b75b42eee8c4a59e0ad33b43a5ef3c9dab676e3fecffc856" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 36, - "charOffset": 287, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 241, - "charLength": 102, - "snippet": { - "text": " }\n\n public string Value { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4cf2c0f6acfbc6cbff9ce563df23ff707364fe267c8e735c18a90da2ea60f035" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Set.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 37, - "charOffset": 148, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 60, - "charLength": 147, - "snippet": { - "text": " public Identifier Id { get; set; }\n \n public Integer Value { get; set; }\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ea8a8fdb9e718732994602b29ba17258df3869a9b8ac844a1b8356d5c8b28c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 33, - "charOffset": 283, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 240, - "charLength": 102, - "snippet": { - "text": " }\n\n public int Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "502c1f5dc54b1655506505d538904c0798e1599bd35594d2733c5fba490b1141" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 35, - "charOffset": 900, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 825, - "charLength": 140, - "snippet": { - "text": "\n public bool Discarded => false;\n public string Name { get; set; }\n\n public bool HasByPassNodes { get; set; } = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "521b93c6f04d2f995cf8ced09604bfe9e3d44f475e9f7e0ee494f1894f3b0a18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 66, - "charOffset": 291, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 211, - "charLength": 172, - "snippet": { - "text": " {\n \n public IConcreteSyntaxTreeVisitor Visitor { get; set; }\n\n public ConcreteSyntaxTreeWalker(IConcreteSyntaxTreeVisitor visitor)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56ccc65e4955b01c5d7c1fc55ce1b22fe8de838463249bd9fd6fc35e272badea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 45, - "charOffset": 321, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 219, - "charLength": 193, - "snippet": { - "text": " public string IteratorName { get; set; }\n \n public List Items { get; set; }\n\n public ForEach(string listName, string iteratorName, List items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "582e4777cae31ac47d5625cce05108e22edb978ed40936608fbe6457d07b4f35" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 44, - "charOffset": 355, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 253, - "charLength": 149, - "snippet": { - "text": " public string ExplicitToken { get; set; }\n \n public bool IsExplicitToken { get; set; }\n\n public LeadingToken(IN tokenId)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c8b5436075d2d10fd8045701805e3ba18483a98eea01fc6827f218a45473d3a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 45, - "charOffset": 332, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 230, - "charLength": 193, - "snippet": { - "text": " public string IteratorName { get; set; }\n \n public List Items { get; set; }\n\n public ForI(int start, int end, string iteratorName, List items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e770012ab420bf3cbf2b65d75a48d4404753458f7987e53e8d4ff879ec29378" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 33, - "charOffset": 119, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 125, - "snippet": { - "text": " public class IfThenElse : Statement\n {\n public Cond Cond { get; set; }\n\n public Block Then { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6207060b55e0718736dc7ff41c63c8d790998f0686afc8273eb8306624a47943" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 43, - "charOffset": 435, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 342, - "charLength": 149, - "snippet": { - "text": " public Expression Condition { get; set; }\n\n public Statement BlockStmt { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62dc6e3787e9998e55d7bcb15bde955de754bc2dd6e86932f312a3103f2b16d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Cond.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 37, - "charOffset": 143, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 55, - "charLength": 147, - "snippet": { - "text": " public Identifier Id { get; set; }\n \n public Integer Value { get; set; }\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63554b097ea28c84e03ee84d4dacf7b5a85db0ab2c188d60fe00a1466be530e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/AssignStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 43, - "charOffset": 380, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 327, - "charLength": 106, - "snippet": { - "text": " }\n\n public string VariableName { get; set; }\n\n public Expression Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64ae3a7866d38bc52c1a2b54a50c985bb6e24711cebd532608dc5f63f77a285e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 36, - "charOffset": 573, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 497, - "charLength": 122, - "snippet": { - "text": " public Token Token { get; }\n\n public bool IsToken { get; set; }\n\n public OUT Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a1c06469d3b92bf3f28536dd5df262e11a3faa03f4d077664f115180ad6b382" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Cond.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 37, - "charOffset": 91, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 21, - "charLength": 128, - "snippet": { - "text": " public class Cond : Ast\n {\n public Identifier Id { get; set; }\n \n public Integer Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b05ef850c9d7fb5fada545705c4a1669c7bd504d82d21494ea6af117a9c83b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 39, - "charOffset": 689, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 640, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bb71abeddeb278c338ab3cc251d4d38d5eca8761088a0cbf8f2e79c4d2a1d79" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 35, - "charOffset": 334, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 226, - "charLength": 183, - "snippet": { - "text": " public class ExpressionRulesGenerator where IN : struct\n {\n public string I18n { get; set; }\n \n public ExpressionRulesGenerator(string i18n = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bff311c1c283c00c505cbeda80e0cece57d88b1d4ebf2ee7e951ef6dfb1ebc1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 44, - "charOffset": 214, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 125, - "charLength": 127, - "snippet": { - "text": " public class IfThenElse : ITemplate\n {\n public Expression Condition { get; set; }\n\n public Block ThenBlock" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c22920262bfec960fc047640fa540837a2feb1a2c9dd89aa48659ac1023911c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 40, - "charOffset": 318, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 268, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "777001ba07ebed05d1acc85f89aabf05341cfc9f5f1e6b559850050d4740b456" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 13, - "charOffset": 386, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 347, - "charLength": 54, - "snippet": { - "text": " {\n get;\n set;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7937e023e93f8af424aa91c2ccace56bcd90cd688508734eb1f26f96cbd19406" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 34, - "charOffset": 201, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 127, - "charLength": 133, - "snippet": { - "text": " public Block Then { get; set; }\n\n public Block Else { get; set; }\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "794ea57bc28f2e1c3173ff3293147407f54ef69b045a2ce7df3d4e7182b5b947" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 48, - "charOffset": 1776, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1727, - "charLength": 122, - "snippet": { - "text": "\n\n public Token UnexpectedToken { get; set; }\n\n public List> ExpectedTokens { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7dcf88ae9710543cb3b5ebf9b3d9b258beb4873bdc7d1b82cfe499cedb710eba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 44, - "charOffset": 551, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 466, - "charLength": 136, - "snippet": { - "text": " public string Name { get; set; }\n\n public List> Rules { get; set; }\n\n public bool IsSubRule { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81e7c6aef658044c5c6910e28c7853e2984c4ee2abd34d6027fcb36a181e74b2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 34, - "charOffset": 250, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 206, - "charLength": 52, - "snippet": { - "text": " }\n\n public bool Value { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "82c6c8f3c81291d096fab39c2c62f704a501add514bf371d381053abf84f6bb8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 33, - "charOffset": 613, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 538, - "charLength": 119, - "snippet": { - "text": " public bool IsToken { get; set; }\n\n public OUT Value { get; set; }\n\n public bool IsValue { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "82dfc60154ab206ea2d32e1f381b427b877624cb880f17816e88e8cb341dbe62" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 46, - "charOffset": 304, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 248, - "charLength": 114, - "snippet": { - "text": " }\n\n public string NonTerminalName { get; set; }\n\n public bool IsGroup { get; set; } = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84735c59b64b881f8aad62eee286e5976cf6a8654d4d25e4cc5bebd67684b37d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 35, - "charOffset": 438, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 339, - "charLength": 212, - "snippet": { - "text": " public string StartingNonTerminal { get; set; }\n \n public string I18n { get; set; }\n\n public ParserConfiguration ComputeSubRules(ParserConfiguration configuration)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ec1c4bd9ff6e1e226cad48673f96c5be001ed71bd83b437a1c4e0007d77e1c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/ReturnStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 40, - "charOffset": 315, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 265, - "charLength": 106, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f1c8f1d2244bfbd37371a0dd83474a02d93a563406299a831bb9f1ce08af0e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 31, - "charOffset": 214, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 136, - "charLength": 142, - "snippet": { - "text": " public int Start { get; set; }\n \n public int End { get; set; }\n \n public string IteratorName { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91d156056746624bb486cdf1b5cbc23572b3c41c20049b4222263f3e058bb4ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/InitializationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 38, - "charOffset": 398, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 308, - "charLength": 103, - "snippet": { - "text": " public string Message { get; set; }\n \n public ErrorCodes Code {get; set;}\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "92f2b24984d498362cec4cc99bf60fdec3f255d7a304bad18f2fef2932d63f3a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 43, - "charOffset": 151, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 68, - "charLength": 132, - "snippet": { - "text": " public class Value : ITemplate\n {\n public string VariableName { get; set; }\n\n public Value(string variableName)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "952284634c5aafdd69a754916368bd84cb558ebef898b92923016d8094753144" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 36, - "charOffset": 2106, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 2015, - "charLength": 99, - "snippet": { - "text": " public bool IsLineEnding { get; set; }\n \n public int? Channel { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95ce3b919de23d7d1b625db3c339ef6b6528b451fa9e8eb7f06f75354af296df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 35, - "charOffset": 500, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 455, - "charLength": 102, - "snippet": { - "text": " }\n\n public string Name { get; set; }\n\n public List> Rules { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "970472bc8ad09a1537e8c857f4c9f5444afc673fffb943a9516c8bcfb20b6888" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Text.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 38, - "charOffset": 145, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 68, - "charLength": 120, - "snippet": { - "text": " public class Text : ITemplate\n {\n public string Content { get; set; }\n\n public Text(string content)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "978af00a2505cf774672459f944b5a1cc733cd8e30b57e3305104ca9e064e67d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IfStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 42, - "charOffset": 478, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 386, - "charLength": 147, - "snippet": { - "text": " public Expression Condition { get; set; }\n\n public Statement ThenStmt { get; set; }\n\n public Statement ElseStmt { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "97badf6ad744ccc0e454cddf08aa1aa7d46f30d5f5e2bd7668aeba5663188c07" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IfStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 42, - "charOffset": 527, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 437, - "charLength": 98, - "snippet": { - "text": " public Statement ThenStmt { get; set; }\n\n public Statement ElseStmt { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "994efb1bb59505219e241cd2f5c16e4f067efde379b3576f70ac1530a1e4edbf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 42, - "charOffset": 1663, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1565, - "charLength": 146, - "snippet": { - "text": " public int IntToken { get; set; } = -1;\n \n public string StringToken { get; set; }\n\n public Affix Affix { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ad3fba10fd86870c70473f4307a147fc669ef659edb9414dde4f0af4c7bab96" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 60, - "charOffset": 1843, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1729, - "charLength": 154, - "snippet": { - "text": " public Token UnexpectedToken { get; set; }\n\n public List> ExpectedTokens { get; set; }\n\n public override int Line" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9bd3901a77f4edfb5342a4f167eab716c59e0e0e37b584701839fa1be330835f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 35, - "charOffset": 773, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 728, - "charLength": 106, - "snippet": { - "text": " }\n\n public string I18n { get; set; }\n \n public ILexer Lexer { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ce37bfeed38a1806cad6ec1be2f2e0bd65986e94b59700659426ac58c282f5a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 44, - "charOffset": 159, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 75, - "charLength": 162, - "snippet": { - "text": " public class Block : Statement\n {\n public List Statements { get; set; } = new List();\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d7202d7a1be69c04a2a35ef7f7bff3f9bf9c009d1d074c3955c9190ae21989a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserRootAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 39, - "charOffset": 218, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 165, - "charLength": 112, - "snippet": { - "text": " {\n \n public string RootRule { get; set; }\n\n public ParserRootAttribute(string rootRule)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2fb5a24490b11d074efa8123aa39ad720d0ce59917407dc32b400f11d1401cd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 39, - "charOffset": 976, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 883, - "charLength": 213, - "snippet": { - "text": " public MethodInfo VisitorMethod { get; set; }\n\n public T OperatorToken { get; set; }\n\n public string Operatorkey => IsExplicitOperatorToken ? ExplicitOperatorToken : OperatorToken.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6c71895e10d1c1fe1a3baac50cd3758977965e29078865112f96a4c54a39acf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 40, - "charOffset": 793, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 700, - "charLength": 149, - "snippet": { - "text": " public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a786295e9daaf415f68c75d5a981ad5943d425e20aa115cd8504f8e2a1ef504d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 42, - "charOffset": 1090, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 984, - "charLength": 125, - "snippet": { - "text": " public bool IndentationAWare { get; set; } = false;\n \n public string Indentation { get; set; } = \"\";\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa1ed0cba064a4c31c4c40e3af1e3a3a6cfd5c1ef97e844fadcd50aefc7891d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 35, - "charOffset": 1926, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1834, - "charLength": 177, - "snippet": { - "text": " public List Parameters { get; set; }\n\n public string Name { get; set; }\n \n public FunctionCall(string name, List parameters)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab6ddece7039f951360c1ca3c542a4e245e6cb74940d4b056aca725d2aede406" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 44, - "charOffset": 296, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 204, - "charLength": 157, - "snippet": { - "text": " public IN TokenId { get; set; }\n \n public string ExplicitToken { get; set; }\n \n public bool IsExplicitToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b75d937fa60874653d7c6eb9ee0a095d372085a1d8ddfe3e8fc7c57dbd4c302c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 39, - "charOffset": 1499, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1450, - "charLength": 112, - "snippet": { - "text": " }\n\n public bool IsIntToken { get; set; }\n \n public bool IsStringToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b8cebdb777a3ed56b50ab58a593aee0ec4ac960b01d69028d5ced13cdada82f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 41, - "charOffset": 2055, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1968, - "charLength": 144, - "snippet": { - "text": " public bool IsSkippable { get; set; }\n\n public bool IsLineEnding { get; set; }\n \n public int? Channel { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd013752f7d9567b45010bd44aba7eb075c42e760e97332872e1da4d65e06396" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 45, - "charOffset": 350, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 243, - "charLength": 158, - "snippet": { - "text": " public char StringDelimiterChar { get; set; }\n \n public char DecimalSeparator { get; set; }\n public bool IsSuccess { get; set; }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfcca849cd17780f05ddf320fff7d82c7ec003fe575287c5d781104d6394cc45" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 45, - "charOffset": 172, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 87, - "charLength": 93, - "snippet": { - "text": " public class Block : ITemplate\n {\n public List Items { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c853b580ce21b2ffd5e751083e9214cb00527744c83bd793c8d3e491d0fb8cd7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/InitializationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 40, - "charOffset": 300, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 250, - "charLength": 101, - "snippet": { - "text": " }\n\n public ErrorLevel Level { get; set; }\n\n public string Message { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cae73829158f6452ff750e6c1f8f5c4e0d3ad1c2451742ae116979fdd4efc244" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 51, - "charOffset": 875, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 780, - "charLength": 156, - "snippet": { - "text": " public int Precedence { get; set; }\n\n public Associativity Associativity { get; set; }\n\n public MethodInfo VisitorMethod { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb726937af83f473721f9239302bcda7a4a51446474a45f94604b6b0b95f7555" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 35, - "charOffset": 224, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 179, - "charLength": 135, - "snippet": { - "text": " }\n\n public string Name { get; set; }\n public string Shape { get; set; }\n public string Label { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd153d436455d95c5a8986df2c42ff495b01df529bd6a843e9ccab4dcb2e488d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 33, - "charOffset": 168, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 121, - "charLength": 99, - "snippet": { - "text": " {\n \n public int Start { get; set; }\n \n public int End { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce65c5271800ed1bbb2a4beefc24c058070625d68d95eccbbc4e33317db6ffbd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 48, - "charOffset": 588, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 530, - "charLength": 99, - "snippet": { - "text": " }\n\n public List> Clauses { get; set; }\n\n [ExcludeFromCodeCoverage]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf28dc44ae146784810f1a79237c065404d7456773387b1a9925fe5d2569e099" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/PrintStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 40, - "charOffset": 313, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 263, - "charLength": 106, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d02b807fd00cbebd655a140d1c58372b90fee5c2c2ffb3b94aa27533544fa672" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Set.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 37, - "charOffset": 96, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 21, - "charLength": 133, - "snippet": { - "text": " public class Set : Statement\n {\n public Identifier Id { get; set; }\n \n public Integer Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d06497c656f5274f24f902805bbae74b2fdf01660bd12172c0543f9c9ffea165" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Identifier.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 35, - "charOffset": 139, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 55, - "charLength": 138, - "snippet": { - "text": " {\n public string Comment { get; set; }\n public string Name { get; set; }\n \n public Identifier(string name)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0a7e91279ae6fdc446b2afc25af9b333f557b01b4717990b2c16f7bd993f4e8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 40, - "charOffset": 332, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 282, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d1d91e1ab7a37812ef1eb75ae16b8ef18d2aa49e8fae8d0c83e532940e869408" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 82, - "charOffset": 3455, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 3318, - "charLength": 181, - "snippet": { - "text": " protected FSMLexer TempLexerFsm;\n\n internal IDictionary> SubLexersFsm { get; set; }\n\n protected int StringCounter;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d2d26b532768bd017d5d8bb00ab0d34f490dcc83e64be4894a5a7bf721706eb7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenCallbackAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 37, - "charOffset": 131, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 37, - "charLength": 154, - "snippet": { - "text": " public class TokenCallbackAttribute : Attribute\n {\n public int EnumValue { get; set; }\n\n public TokenCallbackAttribute(int enumValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d44539a08a1bc5a3696d2cea67f7b21f712e6add09961099469a67482a40b742" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 36, - "charOffset": 148, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 56, - "charLength": 137, - "snippet": { - "text": " public class LexerResult where IN : struct\n {\n public bool IsError { get; set; }\n\n public bool IsOk => !IsError;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d58ea0e8a27f0a04da6115f00a8fa3fe03f64f1fc56ecedced4481168c8423a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 43, - "charOffset": 1755, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1671, - "charLength": 135, - "snippet": { - "text": " public Affix Affix { get; set; }\n\n public Associativity Assoc { get; set; }\n\n public int Precedence { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7224b5e93d831689e57694569f49a19e18ad60365663458a18804ea0b437942" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 43, - "charOffset": 261, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 165, - "charLength": 162, - "snippet": { - "text": " public string ListName { get; set; }\n \n public string IteratorName { get; set; }\n \n public List Items { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d91fa2e8030e0a7710b82c84aec7d1d6209a843d9b2b06e85397dd3792f87c47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 38, - "charOffset": 1800, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1713, - "charLength": 101, - "snippet": { - "text": " public Associativity Assoc { get; set; }\n\n public int Precedence { get; set; }\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da6a123a5065b4a76c71f5dc90ad26f5ea8ef111d606fe42fe757075ea541614" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 39, - "charOffset": 325, - "charLength": 14, - "snippet": { - "text": "protected set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 244, - "charLength": 156, - "snippet": { - "text": " public bool IsQuiet { get; set; }\n\n public Scope RootScope { get; protected set; }\n\n public Scope CurrentScope { get; protected set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc5a1a3a5544041e56abdbae9d1fb4bc2b152460d556f5b2536c2a309ecce1ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 52, - "charOffset": 1394, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1249, - "charLength": 186, - "snippet": { - "text": " public bool IsExplicitOperatorToken => !string.IsNullOrEmpty(ExplicitOperatorToken);\n\n public string ExplicitOperatorToken { get; set; }\n\n [ExcludeFromCodeCoverage]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e280b9b7f5d74f097bad00905925b1bd99e9c94cbda305cea372a54a1617b2b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 47, - "charOffset": 743, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 651, - "charLength": 145, - "snippet": { - "text": " public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4ddfb2954ae7754c52a721719128b9fbe6324a1e17c8106e322b9806f813818" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 35, - "charOffset": 1705, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1622, - "charLength": 139, - "snippet": { - "text": " public string StringToken { get; set; }\n\n public Affix Affix { get; set; }\n\n public Associativity Assoc { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e521a86ed145b96900a7865c0107f53c55a563194f024da86bfae8d547371c53" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 41, - "charOffset": 962, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 904, - "charLength": 118, - "snippet": { - "text": " \n \n public bool IsLineEnding { get; set; }\n\n public bool IsIndentationError { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ead844437c6f47facc56725890821fba1ed96b0d9f0e8fb48c2c5ba0421c71ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 33, - "charOffset": 342, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 299, - "charLength": 102, - "snippet": { - "text": " }\n\n public int Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eea5bfa7ae842808e838a5bae87184083686f311c90404e7ee5059d5c7924714" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 49, - "charOffset": 604, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 400, - "charLength": 267, - "snippet": { - "text": " public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);\n \n public List> Choices { get; set; }\n public ChoiceClause(IClause clause)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0d94e4d71ec430179da58d355144ac2899d62d29e410336eb79d26b505ec180" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 38, - "charOffset": 817, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 769, - "charLength": 112, - "snippet": { - "text": " }\n\n public int Precedence { get; set; }\n\n public Associativity Associativity { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f224e52c81c5ddbc27d13c418e2842a42b7f62441f931be2189db0fb4d8115ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 13, - "charOffset": 292, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 253, - "charLength": 62, - "snippet": { - "text": " {\n get;\n set;\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f56b0532189155edeb0c898816e55b6aecae0aed04d03e36b006953740b15bcd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 40, - "charOffset": 292, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 242, - "charLength": 106, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f602c88876187e37c7e85ff7fe1a7f588e610fd7dd59d473bdd973e4eecec479" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 35, - "charOffset": 726, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 671, - "charLength": 104, - "snippet": { - "text": " #region API\n\n public string I18n { get; set; }\n\n public ParserBuilder(string i18n)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8acb76015718f664dba72b1dcdcf110568daca5240750bb867793a84ce3d294" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 43, - "charOffset": 504, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 424, - "charLength": 252, - "snippet": { - "text": " private string I18n;\n \n public char UnexpectedChar { get; set; }\n\n public override string ErrorMessage => I18N.Instance.GetText(I18n,I18NMessage.UnexpectedChar,UnexpectedChar.ToString(), Line.ToString(), Column.ToString());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fab19fcb70afc33a7857155a66fef707e4c3fdea6919a897a957b9e02bf45e34" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 49, - "charOffset": 1644, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1585, - "charLength": 127, - "snippet": { - "text": " }\n\n public GenericToken GenericToken { get; set; }\n\n public string[] GenericTokenParameters { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb5bb33900f1ec40b4a734fa11088c1681ca338ae0185ad821cf3ea70cac754c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 53, - "charOffset": 1766, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1652, - "charLength": 207, - "snippet": { - "text": " public string[] GenericTokenParameters { get; set; }\n\n public IdentifierType IdentifierType { get; set; } = IdentifierType.Alpha;\n \n public string IdentifierStartPattern { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb7d1edbcca555e9143dca1ff45c73d149e497dc9ecb8a6aaa0502db46a7bbb6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 34, - "charOffset": 279, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 235, - "charLength": 52, - "snippet": { - "text": " }\n\n public bool Value { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbbcf5a6123b654a4f7c5d0adf12c571064a674f669a074a8911d40a93a88c8a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationMetaData.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 35, - "charOffset": 1132, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 984, - "charLength": 209, - "snippet": { - "text": " public string Operatorkey => IsExplicitOperatorToken ? ExplicitOperatorToken : OperatorToken.ToString();\n\n public Affix Affix { get; set; }\n\n public bool IsBinary => Affix == Affix.InFix;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fd23d25b5204205b753b9ce01322d443a38414d165724da933fdcd31ee92ad48" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotArrow.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 43, - "charOffset": 203, - "charLength": 12, - "snippet": { - "text": "private set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 103, - "charLength": 174, - "snippet": { - "text": " {\n public DotNode Source { get; private set; }\n public DotNode Destination { get; private set; }\n \n public DotArrow(DotNode src, DotNode dest)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "088f21368389cc90a366e3647d7f829696a4bfcdca11d8197dea8c9dee8ea063" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "AutoPropertyCanBeMadeGetOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Auto-property can be made get-only", - "markdown": "Auto-property can be made get-only" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotArrow.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 38, - "charOffset": 146, - "charLength": 12, - "snippet": { - "text": "private set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 70, - "charLength": 156, - "snippet": { - "text": " public class DotArrow : IDot\n {\n public DotNode Source { get; private set; }\n public DotNode Destination { get; private set; }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d749597a79ff26a2bef79535ba90ba9dddc751d421e8a19fa69c584f036b50b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "BadControlBracesIndent", - "kind": "fail", - "level": "note", - "message": { - "text": "Line indent is not restored to the previous level around statement braces", - "markdown": "Line indent is not restored to the previous level around statement braces" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2471, - "charLength": 24, - "snippet": { - "text": " " - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2404, - "charLength": 115, - "snippet": { - "text": " return true;\n }\n }\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "093b4dce459e4b4ed8d2f97f6b258e52f195300a110ba0124e2d76556c4b5bbc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "BadControlBracesIndent", - "kind": "fail", - "level": "note", - "message": { - "text": "Line indent is not restored to the previous level around statement braces", - "markdown": "Line indent is not restored to the previous level around statement braces" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2497, - "charLength": 20, - "snippet": { - "text": " " - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2445, - "charLength": 104, - "snippet": { - "text": " }\n }\n }\n\n return false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e85355ee2b03c6352d894487f9ed2a0b4b7fdfd4c57c24087dfd0ce0933a2c5e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "BuiltInTypeReferenceStyle", - "kind": "fail", - "level": "note", - "message": { - "text": "Built-in type reference is inconsistent with code style settings", - "markdown": "Built-in type reference is inconsistent with code style settings" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 180, - "startColumn": 18, - "charOffset": 5125, - "charLength": 4, - "snippet": { - "text": "Char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 178, - "startColumn": 1, - "charOffset": 5016, - "charLength": 210, - "snippet": { - "text": " public List GetIndentations(ReadOnlyMemory source, int index)\n {\n List indentations = new List();\n int i = 0;\n if (index >= source.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e771bbf22f39f0d20193f23a1ba3ddd041ae1ffa62323e5726869338aa68a9f5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CSharpWarnings__CS0628", - "kind": "fail", - "level": "warning", - "message": { - "text": "Declaring new protected method 'bool sly.parser.syntax.grammar.NonTerminalClause.Equals(NonTerminalClause)' in sealed class is the same as declaring it as private", - "markdown": "Declaring new protected method 'bool sly.parser.syntax.grammar.NonTerminalClause.Equals(NonTerminalClause)' in sealed class is the same as declaring it as private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 9, - "charOffset": 953, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 926, - "charLength": 175, - "snippet": { - "text": " }\n \n protected bool Equals(NonTerminalClause other)\n {\n return NonTerminalName == other.NonTerminalName && IsGroup == other.IsGroup;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "042765f918a28aa8fb586ec88c05736f4f295f55cbae40f6645bc09c999661c2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CSharpWarnings__CS0628", - "kind": "fail", - "level": "warning", - "message": { - "text": "Declaring new protected method 'bool sly.parser.syntax.grammar.ChoiceClause.Equals(ChoiceClause)' in sealed class is the same as declaring it as private", - "markdown": "Declaring new protected method 'bool sly.parser.syntax.grammar.ChoiceClause.Equals(ChoiceClause)' in sealed class is the same as declaring it as private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 9, - "charOffset": 1662, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1634, - "charLength": 136, - "snippet": { - "text": " } \n \n protected bool Equals(ChoiceClause other)\n {\n if (other.Choices.Count != Choices.Count)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a117cd2023223cf330e73fb695231a71bd4ba96253478007e400bdb2aa0164d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CSharpWarnings__CS0628", - "kind": "fail", - "level": "warning", - "message": { - "text": "Declaring new protected method 'bool sly.parser.syntax.grammar.OptionClause.Equals(OptionClause)' in sealed class is the same as declaring it as private", - "markdown": "Declaring new protected method 'bool sly.parser.syntax.grammar.OptionClause.Equals(OptionClause)' in sealed class is the same as declaring it as private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 9, - "charOffset": 944, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 917, - "charLength": 130, - "snippet": { - "text": " }\n \n protected bool Equals(OptionClause other)\n {\n return Equals(Clause, other.Clause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8db5bf1760c73881b0ad28fdd44267a630793c9526117d3e213ad6d5d538ad87" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryAdd", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryAdd'", - "markdown": "Dictionary lookup can be simplified with 'TryAdd'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 18, - "charOffset": 528, - "charLength": 42, - "snippet": { - "text": "NonTerminals.ContainsKey(nonTerminal.Name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 426, - "charLength": 202, - "snippet": { - "text": " public void AddNonTerminalIfNotExists(NonTerminal nonTerminal)\n {\n if (!NonTerminals.ContainsKey(nonTerminal.Name)) NonTerminals[nonTerminal.Name] = nonTerminal;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d934fd59043f51065027e5697e241e05c177e7b8e74d451832c50ed71be406c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 25, - "charOffset": 3267, - "charLength": 56, - "snippet": { - "text": "operationsByPrecedence.ContainsKey(operation.Precedence)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 3170, - "charLength": 284, - "snippet": { - "text": "\n var operations = new List>();\n if (operationsByPrecedence.ContainsKey(operation.Precedence))\n operations = operationsByPrecedence[operation.Precedence];\n operations.Add(operation);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2318bfaa7665b286faf29ef89ec34235ed9a6ae60f7195d230ecda412b4ce33d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 301, - "startColumn": 17, - "charOffset": 9572, - "charLength": 43, - "snippet": { - "text": "binaryOperationSignatures.ContainsKey(oper)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 299, - "startColumn": 1, - "charOffset": 9516, - "charLength": 180, - "snippet": { - "text": " {\n WhileType result;\n if (binaryOperationSignatures.ContainsKey(oper))\n {\n var signatures = binaryOperationSignatures[oper];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a3187e18c2aac1eb81e9621eda5f90bd27bb946b961c7e2b6ceadb017a2c177" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 434, - "startColumn": 29, - "charOffset": 15879, - "charLength": 50, - "snippet": { - "text": "derivedTokens.ContainsKey(GenericToken.Identifier)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 432, - "startColumn": 1, - "charOffset": 15779, - "charLength": 266, - "snippet": { - "text": " case GenericToken.Identifier:\n {\n if (derivedTokens.ContainsKey(GenericToken.Identifier))\n {\n var possibleTokens = derivedTokens[GenericToken.Identifier];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f6853cf3f9a3aa3e6c1b954c6c78c407363a32127ceeab26a5dc73856214caf" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 17, - "charOffset": 1801, - "charLength": 27, - "snippet": { - "text": "variables.ContainsKey(name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 1733, - "charLength": 226, - "snippet": { - "text": " {\n var varType = WhileType.NONE;\n if (variables.ContainsKey(name))\n varType = variables[name];\n else if (ParentScope != null) varType = ParentScope.GetVariableType(name);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "474c4873cebfcaf850f41dd6daf67d64bc03cf0ff7f9397e21bbdf443fa38d22" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 114, - "startColumn": 21, - "charOffset": 3203, - "charLength": 31, - "snippet": { - "text": "Transitions.ContainsKey(nodeId)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 112, - "startColumn": 1, - "charOffset": 3104, - "charLength": 215, - "snippet": { - "text": " FSMTransition transition = null;\n if (HasState(nodeId))\n if (Transitions.ContainsKey(nodeId))\n {\n var leavingTransitions = Transitions[nodeId];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4de6e8b12cf43439ee847052a2e06a08cff7d0e2e5713dfd29391faeab966727" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/ExpressionContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 17, - "charOffset": 509, - "charLength": 31, - "snippet": { - "text": "Variables.ContainsKey(variable)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 434, - "charLength": 170, - "snippet": { - "text": " public double? GetValue(string variable)\n {\n if (Variables.ContainsKey(variable)) return Variables[variable];\n return null;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "512e7defed3526bca5a316ca22f2f9eddaa13f597801eb198e62454a9c4227dc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 33, - "charOffset": 2976, - "charLength": 45, - "snippet": { - "text": "VisitorMethodsForOperation.ContainsKey(token)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 2896, - "charLength": 209, - "snippet": { - "text": " if (IsExpressionRule)\n {\n var operation = VisitorMethodsForOperation.ContainsKey(token)\n ? VisitorMethodsForOperation[token]\n : null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a7676f880232717e418e6e19384352d5111fdca9e15d365996887173246df7c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1124, - "startColumn": 27, - "charOffset": 42959, - "charLength": 42, - "snippet": { - "text": "match.Properties.ContainsKey(DerivedToken)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1122, - "startColumn": 1, - "charOffset": 42827, - "charLength": 314, - "snippet": { - "text": " tok.Discarded = inTok.Discarded;\n tok.StringDelimiter = match.StringDelimiterChar;\n tok.TokenID = match.Properties.ContainsKey(DerivedToken) ? (IN)match.Properties[DerivedToken] : default(IN);\n tok.IsLineEnding = match.IsLineEnding;\n tok.IsEOS = match.IsEOS;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5d961a1f71ee495f55fa5a1680cb6ab408489ffc1d8704c18ca32395746865e8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 17, - "charOffset": 5105, - "charLength": 30, - "snippet": { - "text": "nonTerminals.ContainsKey(name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 5054, - "charLength": 141, - "snippet": { - "text": " string name)\n {\n if (nonTerminals.ContainsKey(name))\n {\n var nt = nonTerminals[name];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "605609afc51e59e4142f1879b0693c8d36d50572f223dfdce705a9bf85037d91" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/ExpressionContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 17, - "charOffset": 479, - "charLength": 31, - "snippet": { - "text": "Variables.ContainsKey(variable)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 407, - "charLength": 167, - "snippet": { - "text": " public int? GetValue(string variable)\n {\n if (Variables.ContainsKey(variable)) return Variables[variable];\n return null;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6799f6642f73be5c0582afe2390e8e0cd86789a5827005400c703efe5894691d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 17, - "charOffset": 1126, - "charLength": 23, - "snippet": { - "text": "Marks.ContainsKey(mark)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1048, - "charLength": 154, - "snippet": { - "text": " public FSMLexerBuilder GoTo(string mark)\n {\n if (Marks.ContainsKey(mark))\n GoTo(Marks[mark]);\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "69c0410d82ce8f4e41f36305299608e44da88bf99fb278368a97fdef68c9d4a3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 17, - "charOffset": 1740, - "charLength": 23, - "snippet": { - "text": "Marks.ContainsKey(mark)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1678, - "charLength": 150, - "snippet": { - "text": " {\n FSMNode node = null;\n if (Marks.ContainsKey(mark)) node = GetNode(Marks[mark]);\n return node;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d29de9f199f4b79108135e7fe20a70b96f99828da5b446559c10efb32e8c189" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 21, - "charOffset": 4037, - "charLength": 50, - "snippet": { - "text": "configuration.NonTerminals.ContainsKey(leftClause)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 3951, - "charLength": 236, - "snippet": { - "text": " foreach (var leftClause in leftClauses)\n {\n if (configuration.NonTerminals.ContainsKey(leftClause))\n {\n var newNonTerminal = configuration.NonTerminals[leftClause];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e3b837b4fe2cbafea2f1f3565fae74765b4f730cdb5406bb493ae9359a623a9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 20, - "charOffset": 929, - "charLength": 29, - "snippet": { - "text": "ItemsByName.ContainsKey(name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 856, - "charLength": 147, - "snippet": { - "text": " public Token Token(string name)\n {\n return ItemsByName.ContainsKey(name) ? ItemsByName[name].Token : null;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7041bdc740bef61fa369aa04df2525c985b59858aec8b52b58e4eaeebb9bb239" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 33, - "charOffset": 3647, - "charLength": 45, - "snippet": { - "text": "VisitorMethodsForOperation.ContainsKey(token)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 3567, - "charLength": 209, - "snippet": { - "text": " if (IsExpressionRule)\n {\n var operation = VisitorMethodsForOperation.ContainsKey(token)\n ? VisitorMethodsForOperation[token]\n : null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70fae2d688dfc2f6c4e0c5b76bf16463f655f0bbceb0a090f5a6425381675c6a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 437, - "startColumn": 33, - "charOffset": 16078, - "charLength": 46, - "snippet": { - "text": "possibleTokens.ContainsKey(match.Result.Value)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 435, - "startColumn": 1, - "charOffset": 15931, - "charLength": 336, - "snippet": { - "text": " {\n var possibleTokens = derivedTokens[GenericToken.Identifier];\n if (possibleTokens.ContainsKey(match.Result.Value))\n match.Properties[DerivedToken] = possibleTokens[match.Result.Value].tokenId;\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7abc3ddd5d8132277af48bbb7bf74827d560a50dd992ce6a156c3a045578a617" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 17, - "charOffset": 2675, - "charLength": 37, - "snippet": { - "text": "context.ContainsKey(identifier.Value)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2548, - "charLength": 229, - "snippet": { - "text": " public int OperandVariable(Token identifier,Dictionary context)\n {\n if (context.ContainsKey(identifier.Value))\n {\n return context[identifier.Value];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e0ff4d679d315b6434787eeb38704493b9016d1fa6966759b766679298fa720" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Signatures.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 17, - "charOffset": 3772, - "charLength": 43, - "snippet": { - "text": "binaryOperationSignatures.ContainsKey(oper)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 3716, - "charLength": 180, - "snippet": { - "text": " {\n WhileType result;\n if (binaryOperationSignatures.ContainsKey(oper))\n {\n var signatures = binaryOperationSignatures[oper];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84ae907ce4e3a1667ba9cee35f9eafd2526c5090d9c98c3f9118fee5918c9da4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 17, - "charOffset": 7457, - "charLength": 49, - "snippet": { - "text": "nonTerminals.ContainsKey(nonterm.NonTerminalName)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 7346, - "charLength": 253, - "snippet": { - "text": " {\n InitStartingTokensForNonTerminal(nonTerminals, nonterm.NonTerminalName);\n if (nonTerminals.ContainsKey(nonterm.NonTerminalName))\n {\n var firstNonTerminal = nonTerminals[nonterm.NonTerminalName];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c5d7995f337374af0f5f2d8ca1dc9f7b2d39b44b3b6b7ccec8be7294148f028" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 20, - "charOffset": 2083, - "charLength": 27, - "snippet": { - "text": "variables.ContainsKey(name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 2003, - "charLength": 144, - "snippet": { - "text": " public TypedValue GetVariable(string name)\n {\n return variables.ContainsKey(name) ? variables[name] : null;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7ee1f51cee443826be79b28057731329746f285f4ed8da86dbf5b29a0200750" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 33, - "charOffset": 6283, - "charLength": 49, - "snippet": { - "text": "nonTerminals.ContainsKey(nonterm.NonTerminalName)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 6124, - "charLength": 333, - "snippet": { - "text": " {\n InitStartingTokensForNonTerminal(nonTerminals, nonterm.NonTerminalName);\n if (nonTerminals.ContainsKey(nonterm.NonTerminalName))\n {\n var firstNonTerminal = nonTerminals[nonterm.NonTerminalName];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c631671c62835a0a07dea1f132085510e9f064302ccdef23ac84ce80470df5f1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 127, - "startColumn": 17, - "charOffset": 3629, - "charLength": 44, - "snippet": { - "text": "Transitions.ContainsKey(transition.FromNode)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 125, - "startColumn": 1, - "charOffset": 3546, - "charLength": 277, - "snippet": { - "text": " {\n var transitions = new List();\n if (Transitions.ContainsKey(transition.FromNode)) transitions = Transitions[transition.FromNode];\n transitions.Add(transition);\n Transitions[transition.FromNode] = transitions;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de03533de89923314f7c078f44d7c1b5f02e2436d1db0f8634ef2bfc00b3c6d8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "Dictionary lookup can be simplified with 'TryGetValue'", - "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 20, - "charOffset": 773, - "charLength": 29, - "snippet": { - "text": "ItemsByName.ContainsKey(name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 706, - "charLength": 149, - "snippet": { - "text": " public OUT Value(string name)\n {\n return ItemsByName.ContainsKey(name) ? ItemsByName[name].Value : default(OUT);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eee43cda5d27b4421934a43f6ba1aebac02ae9511d4658670f6463aa0c26a928" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ExtensionAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 75, - "snippet": { - "text": "namespace sly.lexer\n{\n public class ExtensionAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "021a3054504b0066af84a045b56d43eba69e46a2a3bb9cd61f68e1412d76f378" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 133, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 92, - "charLength": 109, - "snippet": { - "text": "using sly.parser.syntax.tree;\n\nnamespace sly.parser\n{\n public class ParseResult where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "071ed6429cbe583fdfb8ede9e5a385229e3255a0caeb8b0460e9c3691e22ff4b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 11, - "charOffset": 172, - "charLength": 19, - "snippet": { - "text": "sly.parser.llparser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 142, - "charLength": 132, - "snippet": { - "text": "using System.Linq;\n\nnamespace sly.parser.llparser\n{\n public partial class RecursiveDescentSyntaxParser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2315fe323d154cca3b7b7f196f9d0eed392b9ff164d57124ff90d5908c7160e2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 11, - "charOffset": 186, - "charLength": 19, - "snippet": { - "text": "sly.parser.llparser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 142, - "charLength": 191, - "snippet": { - "text": "using sly.parser.syntax.grammar;\n\nnamespace sly.parser.llparser\n{\n public partial class EBNFRecursiveDescentSyntaxParser : RecursiveDescentSyntaxParser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "235cc8105eae21e065190d23e6aeb5182bfaa33ed49ae8aad3e7739de583f66a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/PopAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 81, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2857f3ef8a454f1709ee301eeb5dd17c1497fc9b72de17ad654f058f325c419e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 23, - "snippet": { - "text": "namespace sly.parser\n{\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b67bc89e3d93e854e38ea6ef6cecdc3fad5e678d82ba67b4c9a0b092c7c09dc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CallBacksAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Enum, AllowMultiple = false)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30b4108a14c7c756fb01c98c67323094a494c08d576797817502793a27fc32f5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CustomIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 74, - "snippet": { - "text": "namespace sly.lexer\n{\n public class CustomIdAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36b11c488e885eda35396a12cbc7a932380581f666af3e3e5090fbf14ce245ac" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'", - "markdown": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JNull.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 16, - "snippet": { - "text": "bench.json.model" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 58, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JNull : JSon" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c63c586ceae7e807c0164ac720e067ac3edf0d7d7fed147d1ffad1384600862" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'", - "markdown": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 16, - "snippet": { - "text": "bench.json.model" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 59, - "snippet": { - "text": "namespace bench.json.model\n{\n public abstract class JSon" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f960049fc71cabda37ba4fbb3c23502fde9145ad37bba12cd6c2c2a393eeca7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/KeywordAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 73, - "snippet": { - "text": "namespace sly.lexer\n{\n public class KeywordAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "40876c85f8c51e812e08c819539194f3e8cb6b1b3b93f81f96551071a63e27a4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ISyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 11, - "charOffset": 90, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 51, - "charLength": 113, - "snippet": { - "text": "using sly.parser.generator;\n\nnamespace sly.parser\n{\n public interface ISyntaxParser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ae3fdd3cbb7c5c6dd96f3cba56e54d5056ef4abc3e496dbd6243a14f0d2be0a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'", - "markdown": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 45, - "charLength": 16, - "snippet": { - "text": "bench.json.model" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 95, - "snippet": { - "text": "using System.Collections.Generic;\n\nnamespace bench.json.model\n{\n public class JObject : JSon" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f0388c0c4a41be9634f1e64896faf78b280d6a7be6eb17023ba7783e9989c03" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/PushAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 81, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "53f2dcc71e08b68a7c12a18ffd771dcf5ba4016c1330aaf12730c25638e37527" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'", - "markdown": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 45, - "charLength": 16, - "snippet": { - "text": "bench.json.model" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 93, - "snippet": { - "text": "using System.Collections.Generic;\n\nnamespace bench.json.model\n{\n public class JList : JSon" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ca92c00545b373a4429e34edf1e129a747b27d8b59c60d411447829e7c91f69" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/DoubleAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 72, - "snippet": { - "text": "namespace sly.lexer\n{\n public class DoubleAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5d3c41cf2eeb016e4cc04d04ec211656eefab70b7ba78b596c813c960cc66da9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/IntAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 69, - "snippet": { - "text": "namespace sly.lexer\n{\n public class IntAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "650c0958b80e01dd9b91138540335e27f1d45fcb66641cbfe8b50d315541607e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 11, - "charOffset": 26, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 90, - "snippet": { - "text": "\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "674ba831d81da192bbbf86695ca76e22bc61cdf86db0532533fa49e1318dd6cd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 125, - "charLength": 19, - "snippet": { - "text": "sly.parser.llparser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 81, - "charLength": 150, - "snippet": { - "text": "using sly.parser.syntax.grammar;\n\nnamespace sly.parser.llparser\n{\n public partial class EBNFRecursiveDescentSyntaxParser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "706c5549eece2d13fb992bf12f2e9c4e12089f0005f0b6fedec2eaf1a826edcd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxParsingContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 11, - "charOffset": 104, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 60, - "charLength": 60, - "snippet": { - "text": "using sly.parser.syntax.grammar;\n\nnamespace sly.parser\n{\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "902e6671f98af53b32cf42f77a0fea1c98c141b4c647f3c214012ed98d091241" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser.llparser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 125, - "charLength": 19, - "snippet": { - "text": "sly.parser.llparser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 81, - "charLength": 171, - "snippet": { - "text": "using sly.parser.syntax.grammar;\n\nnamespace sly.parser.llparser\n{\n public partial class RecursiveDescentSyntaxParser : ISyntaxParser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "90fad1bf16d8e465f68566197e2c377e9989607a44b5a5a44f00421a591e6ecc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "921eb2e3c6731c4824bbb9a582764e820c5a06d59eeadfcc78c9a94d3b839ed6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 11, - "charOffset": 271, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 230, - "charLength": 104, - "snippet": { - "text": "using sly.parser.syntax.tree;\n\nnamespace sly.parser\n{\n public class Parser where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "974450740c2e8236c2beed1802e4e5b351cd92e2ef747b751e491b034dfde128" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 11, - "charOffset": 108, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 67, - "charLength": 110, - "snippet": { - "text": "using sly.parser.syntax.tree;\n\nnamespace sly.parser\n{\n public class SyntaxParseResult where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ac57459ce8c931c526d38af3f392ee008cfc9705236af5488f653d18aac5fb2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/StringAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 72, - "snippet": { - "text": "namespace sly.lexer\n{\n public class StringAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6629a5662d83199a7fc529ea2280409d80d939d1aca11a2d6622166908b1e1c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModesAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 11, - "charOffset": 78, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 48, - "charLength": 85, - "snippet": { - "text": "using System.Linq;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Enum)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a935be1ba314a956b169489f9e2a49886891a4773e5738a70a67a44f44e68661" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaNumIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 76, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaNumIdAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b2bb6ff2b3d51c1aba9fa4b04639b512d902bc8410e6af6185fd1e0a2e3fea9a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 73, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaIdAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b48824a8c0225de48a87ddf6d692c7416258938d96a68fd64d9926f902129ae2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/SingleLineCommentAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b683c4f9dd1d7cbff4472b86b5e31e538620415a768eeb7fb5c76f07a1b4aeab" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/UpToAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 70, - "snippet": { - "text": "namespace sly.lexer\n{\n public class UpToAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca2c41894aac613603734b26e3a804a2c44132edf05a62bcb8bfd678b3bb4f1a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaNumDashIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 80, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaNumDashIdAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9c40c1f7488b7134d6604ea521ca52fed9c282a34a8d96aad76085b229b456e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'", - "markdown": "Namespace does not correspond to file location, must be: 'bench.json.JsonModel'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 16, - "snippet": { - "text": "bench.json.model" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 59, - "snippet": { - "text": "namespace bench.json.model\n{\n public class JValue : JSon" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db157ef629fb778ab6e354b2b85397dd447f9153d0bbcdf9f1bdc16e1527294c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/DateAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 48, - "snippet": { - "text": "namespace sly.lexer\n{\n public enum DateFormat" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df503532800e28eab11abfdbc0b67a9c19c3c71123c19274421ecedf41c49849" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CharAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 75, - "snippet": { - "text": "namespace sly.lexer\n{\n public class CharacterAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e0f41255ee6dc31eb03477e7fa5a782018a700cadd598e623d0381392863b387" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'csly.indentedWhileLang'", - "markdown": "Namespace does not correspond to file location, must be: 'csly.indentedWhileLang'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/IndentedWhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 11, - "charOffset": 199, - "charLength": 31, - "snippet": { - "text": "csly.indentedWhileLang.compiler" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 175, - "charLength": 96, - "snippet": { - "text": "using Sigil;\n\nnamespace csly.indentedWhileLang.compiler\n{\n public class IndentedWhileCompiler" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea06e99a7c0c1075ed4d91c4856e64c6c3b80486787e8ddd8a77988e1c17bcc5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/MultiLineCommentAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f15ff5734300b4c11ab447aa597d0d929e11ba355e595b4af153b28f9d182f7e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/SugarAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 11, - "charOffset": 10, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 71, - "snippet": { - "text": "namespace sly.lexer\n{\n public class SugarAttribute : LexemeAttribute" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1c4ac081172d1152d2fee47f7f4f654fefe04305ac6d8811408bb6796803c79" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.lexer.attributes'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 11, - "charOffset": 25, - "charLength": 9, - "snippet": { - "text": "sly.lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 103, - "snippet": { - "text": "using System;\n\nnamespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f316e6b2813602ffcd222f78ef9ff14d3d3d5ebef70231971bbd2d08e0f6ac16" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CheckNamespace", - "kind": "fail", - "level": "warning", - "message": { - "text": "Namespace does not correspond to file location, must be: 'sly.parser.parser'", - "markdown": "Namespace does not correspond to file location, must be: 'sly.parser.parser'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 11, - "charOffset": 202, - "charLength": 10, - "snippet": { - "text": "sly.parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 158, - "charLength": 146, - "snippet": { - "text": "using sly.parser.syntax.grammar;\n\nnamespace sly.parser\n{\n public class UnexpectedTokenSyntaxError : ParseError, IComparable where T : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f74d8245084f13b4b83ac6416bd593caf5190e662973cc805d2c95d974ad98ca" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'PushAttribute' is never instantiated", - "markdown": "Class 'PushAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/PushAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 99, - "charLength": 13, - "snippet": { - "text": "PushAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 35, - "charLength": 137, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Field)]\n public class PushAttribute : Attribute\n {\n public string TargetMode { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01c7fc61ecf8ac5573da1b1544843e5c33d832bcd8bd406ac0b5eda255817989" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'PostProcessedLexerParserBuilder' is never instantiated", - "markdown": "Class 'PostProcessedLexerParserBuilder' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 18, - "charOffset": 214, - "charLength": 31, - "snippet": { - "text": "PostProcessedLexerParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 160, - "charLength": 100, - "snippet": { - "text": "namespace postProcessedLexerParser\n{\n public class PostProcessedLexerParserBuilder\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e994eaf826f8157780b6f6cc20ca5e3bdea66d2241f8c2e6ff66479ef27a337" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'TypeConverter' is never instantiated", - "markdown": "Class 'TypeConverter' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/TypeConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 18, - "charOffset": 68, - "charLength": 13, - "snippet": { - "text": "TypeConverter" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 15, - "charLength": 136, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public class TypeConverter\n {\n public static string WhileToCSharp(WhileType whileType)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "126ce97aede5e919746bb3273252dc9e64061a497a1b838754083e49aca479d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Program' is never instantiated", - "markdown": "Class 'Program' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 20, - "charOffset": 2131, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 2102, - "charLength": 77, - "snippet": { - "text": " \n \n internal class Program\n {\n [Production(\"R : A b c \")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2643a70a95c89aa7f363d44617df96a0424cc48a181e07c2170fd79874f21df8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ParserRootAttribute' is never instantiated", - "markdown": "Class 'ParserRootAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserRootAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 133, - "charLength": 19, - "snippet": { - "text": "ParserRootAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 133, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]\n public class ParserRootAttribute : Attribute\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3d7f76578dfc0d48c693bd717ecaa88fa5c7a18bb42e8ec22d1da1d84ecf1711" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'LexemeLabelAttribute' is never instantiated", - "markdown": "Class 'LexemeLabelAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/LexemeLabelAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 18, - "charOffset": 125, - "charLength": 20, - "snippet": { - "text": "LexemeLabelAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 36, - "charLength": 166, - "snippet": { - "text": " \n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]\n public class LexemeLabelAttribute : Attribute\n {\n public string Label { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "470a5c3f4728c27ad84e97fcb0844f3378a99a65d29a24e22fb2e4b567adc0de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Issue192' is never instantiated", - "markdown": "Class 'Issue192' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 18, - "charOffset": 1080, - "charLength": 8, - "snippet": { - "text": "Issue192" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1056, - "charLength": 39, - "snippet": { - "text": " }\n\n public class Issue192\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f9f6e609705609340ad9b1266b19e3df5c087a01e33dc69892b9b99d2c7701c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Program' is never instantiated", - "markdown": "Class 'Program' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 11, - "charOffset": 137, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 106, - "charLength": 84, - "snippet": { - "text": "namespace profiler\n{\n class Program\n {\n static void Main(string[] args)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4fa9ae94d2783e1d7727fecb04fd055f8a462b916000ec0f35cba9bda543d815" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'LexerAttribute' is never instantiated", - "markdown": "Class 'LexerAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 98, - "charLength": 14, - "snippet": { - "text": "LexerAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 35, - "charLength": 195, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Enum)]\n public class LexerAttribute : Attribute\n {\n private static readonly GenericLexer.Config Defaults = new GenericLexer.Config();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6780f4481d8186485cd36d92bc90fda1f9d3e346c0ebaacfcec1b1381bc7b2dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Program' is never instantiated", - "markdown": "Class 'Program' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 11, - "charOffset": 75, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 47, - "charLength": 42, - "snippet": { - "text": "namespace bench\n{\n class Program\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7cd6964c0b6b43085f2d7b968274160caf80a45d49a9681a46e2a549835d2d2d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Program' is never instantiated", - "markdown": "Class 'Program' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 74, - "charLength": 7, - "snippet": { - "text": "Program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 42, - "snippet": { - "text": "namespace bench\n{\n class Program\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b33d48b88931842804c8697ea88b461b59f166847e52c0ac3b10354b7f51e8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ModeAttribute' is never instantiated", - "markdown": "Class 'ModeAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 15, - "charOffset": 118, - "charLength": 13, - "snippet": { - "text": "ModeAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 35, - "charLength": 120, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]\n public class ModeAttribute : Attribute\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a008ceda86e59d6db7702b1073108f43148557a1a4c7541bd35782f99abfc1cc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'PopAttribute' is never instantiated", - "markdown": "Class 'PopAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/PopAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 99, - "charLength": 12, - "snippet": { - "text": "PopAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 35, - "charLength": 136, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Field)]\n public class PopAttribute : Attribute\n {\n public string TargetMode { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b4661c5bd467371740bc77c442705a9b8af4c0b35d57f39f0875cc426d687169" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassNeverInstantiated.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ModesAttribute' is never instantiated", - "markdown": "Class 'ModesAttribute' is never instantiated" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModesAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 18, - "charOffset": 151, - "charLength": 14, - "snippet": { - "text": "ModesAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 88, - "charLength": 104, - "snippet": { - "text": "{\n [AttributeUsage(AttributeTargets.Enum)]\n public class ModesAttribute : Attribute\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ba34f2480142ff28a082b3aa64d15fa3f3188c85d99470ba61056ffb53042bcd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassWithVirtualMembersNeverInherited.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Parser' has some virtual members but no inheritors", - "markdown": "Class 'Parser' has some virtual members but no inheritors" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 18, - "charOffset": 301, - "charLength": 6, - "snippet": { - "text": "Parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 261, - "charLength": 155, - "snippet": { - "text": "namespace sly.parser\n{\n public class Parser where IN : struct\n { \n public Action> SyntaxParseCallback { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ccdad7a409dab17b1368367164ef0a9c4f879ab3f84bf1c171715eeaaf45b46" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassWithVirtualMembersNeverInherited.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'EBNFRecursiveDescentSyntaxParser' has some virtual members but no inheritors", - "markdown": "Class 'EBNFRecursiveDescentSyntaxParser' has some virtual members but no inheritors" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 27, - "charOffset": 234, - "charLength": 32, - "snippet": { - "text": "EBNFRecursiveDescentSyntaxParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 176, - "charLength": 296, - "snippet": { - "text": "namespace sly.parser.llparser\n{\n public partial class EBNFRecursiveDescentSyntaxParser : RecursiveDescentSyntaxParser where IN : struct\n {\n public EBNFRecursiveDescentSyntaxParser(ParserConfiguration configuration, string startingNonTerminal, string i18n)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a675c5bfe0bd5be39490dede68f905899808c0561a411e1fe720cdcfce4b0ce3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ClassWithVirtualMembersNeverInherited.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'EBNFParserBuilder' has some virtual members but no inheritors", - "markdown": "Class 'EBNFParserBuilder' has some virtual members but no inheritors" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 20, - "charOffset": 407, - "charLength": 17, - "snippet": { - "text": "EBNFParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 317, - "charLength": 231, - "snippet": { - "text": " /// this class provides API to build parser\n /// \n internal class EBNFParserBuilder : ParserBuilder where IN : struct\n {\n public EBNFParserBuilder(string i18n = null) : base(i18n)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db880e5c6349740820bb2320d34c3a11c38cb07c37f6399631b3537981613fba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CoVariantArrayConversion", - "kind": "fail", - "level": "warning", - "message": { - "text": "Co-variant array conversion from string[] to object?[] can cause run-time exception on write operation", - "markdown": "Co-variant array conversion from string\\[\\] to object?\\[\\] can cause run-time exception on write operation" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 47, - "charOffset": 1245, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1126, - "charLength": 140, - "snippet": { - "text": " if (translation.TryGetValue(key, out pattern))\n {\n return string.Format(pattern, args);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "054c63c8eb63340c59ec3c1adbd220f5c1702f6257dbe1b20c51384e8c1f96fd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0" - ] - } - }, - { - "ruleId": "CoVariantArrayConversion", - "kind": "fail", - "level": "warning", - "message": { - "text": "Co-variant array conversion from string[] to object[] can cause run-time exception on write operation", - "markdown": "Co-variant array conversion from string\\[\\] to object\\[\\] can cause run-time exception on write operation" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 47, - "charOffset": 1245, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1126, - "charLength": 140, - "snippet": { - "text": " if (translation.TryGetValue(key, out pattern))\n {\n return string.Format(pattern, args);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ec484a78d58bcd53efac78e87dad752272f5216c3ec922c855dd6fa49bd79cb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CollectionNeverQueried.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Content of collection 'furtherResults' is only updated but never used", - "markdown": "Content of collection 'furtherResults' is only updated but never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 49, - "charOffset": 2403, - "charLength": 14, - "snippet": { - "text": "furtherResults" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 2294, - "charLength": 321, - "snippet": { - "text": " {\n int lastPosition = -1;\n List> furtherResults = new List>();\n //List> furtherErrors = new List>();\n foreach (var r in rs)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "285ed5755ea5ab82e008e987a28b9c250ad5542e9f77c336478c79b0b31cbf17" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CollectionNeverQueried.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Content of collection 'functions' is only updated but never used", - "markdown": "Content of collection 'functions' is only updated but never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 201, - "startColumn": 17, - "charOffset": 7277, - "charLength": 9, - "snippet": { - "text": "functions" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 199, - "startColumn": 1, - "charOffset": 7192, - "charLength": 281, - "snippet": { - "text": " {\n var conf = new ParserConfiguration();\n var functions = new Dictionary();\n var nonTerminals = new Dictionary>();\n var methods = parserClass.GetMethods().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "29128d96ba212d71e11d8a966a5e1f30ddd751ecbf1dde12aec022c903c6d6d6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CollectionNeverQueried.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Content of collection 'lines' is only updated but never used", - "markdown": "Content of collection 'lines' is only updated but never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/EOLManager.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 17, - "charOffset": 1837, - "charLength": 5, - "snippet": { - "text": "lines" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1764, - "charLength": 158, - "snippet": { - "text": " {\n var lineLengths = new List();\n var lines = new List();\n var previousStart = 0;\n var i = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4be5f3acd69be4692a26c1c3f254e1029235abdc6082c1de81a6ee1bc7de348d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "CollectionNeverQueried.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Content of collection 'terr' is only updated but never used", - "markdown": "Content of collection 'terr' is only updated but never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 393, - "startColumn": 54, - "charOffset": 15747, - "charLength": 4, - "snippet": { - "text": "terr" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 391, - "startColumn": 1, - "charOffset": 15640, - "charLength": 232, - "snippet": { - "text": " if (rulesResults.Count > 0)\n {\n List> terr = new List>();\n foreach (var ruleResult in rulesResults)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "86e881d5ee3f83888c1e475dc748704ff9477e2480d414b6b7fce06b2fd6afee" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 43, - "charOffset": 7050, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 6973, - "charLength": 183, - "snippet": { - "text": " }\n\n isError = isError || nonTerminalResult.IsError;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0356cdf11d3883adce7cbf6613da8783fd1596444a26e8e2018e13457159a25b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 29, - "charOffset": 5314, - "charLength": 14, - "snippet": { - "text": "method == null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 5259, - "charLength": 223, - "snippet": { - "text": " }\n\n if (method == null) method = node.Visitor;\n var t = method.Invoke(ParserVsisitorInstance, args.ToArray());\n var res = (OUT) t;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15651ec187f48123b3a3eebe5e51a7960bda33ea8907a5ec19443c7879f00ce9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 43, - "charOffset": 3461, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 3384, - "charLength": 183, - "snippet": { - "text": " }\n\n isError = isError || nonTerminalResult.IsError;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "16664808d22a12d04f77cc864b1620739dc8828f69eb0b17ed36f920bb020494" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 43, - "charOffset": 2496, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 2419, - "charLength": 173, - "snippet": { - "text": " }\n\n isError = isError || termRes.IsError;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19e550a943c097e907b1b6365d412adde6592e99ee3f6431ed3cc253e0db4390" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 25, - "charOffset": 1512, - "charLength": 5, - "snippet": { - "text": "match" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1435, - "charLength": 191, - "snippet": { - "text": " {\n var range = ranges[i];\n match = match || input.CompareTo(range.start) >= 0 && input.CompareTo(range.end) <= 0;\n i++;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b982eb374d9d58558ec48ed72525cab246a553b013e7120699aefd3f5e50cc0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 423, - "startColumn": 37, - "charOffset": 19998, - "charLength": 13, - "snippet": { - "text": "hasByPasNodes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 421, - "startColumn": 1, - "charOffset": 19789, - "charLength": 310, - "snippet": { - "text": " manyNode.IsManyValues = choice.IsNonTerminalChoice;\n firstInnerResult = ParseChoice(tokens, choice, currentPosition, parsingContext);\n hasByPasNodes = hasByPasNodes || firstInnerResult.HasByPassNodes;\n break;\n default:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ea7c9f5a83439db8ea614970ec3f8775794c027d28233fd294f088e49a21efb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 17, - "charOffset": 644, - "charLength": 14, - "snippet": { - "text": "value is int i" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 566, - "charLength": 134, - "snippet": { - "text": " {\n object value = Value.GetValue(context);\n if (value is int i)\n {\n return -i;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4885a67f855cd3607ceb86e0f7159745ddb1395c7ef2f099d5227294b602c540" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 266, - "startColumn": 30, - "charOffset": 12893, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 264, - "startColumn": 1, - "charOffset": 12809, - "charLength": 181, - "snippet": { - "text": "\n var result = new SyntaxParseResult();\n result.IsError = isError;\n result.Errors = errors;\n result.EndingPosition = currentPosition;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e5905f84c892f89024b2a0949120f27024acd4d72c8c03bca9281bc4805551f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 412, - "startColumn": 37, - "charOffset": 19405, - "charLength": 13, - "snippet": { - "text": "hasByPasNodes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 410, - "startColumn": 1, - "charOffset": 19244, - "charLength": 305, - "snippet": { - "text": " {\n firstInnerResult = ParseNonTerminal(tokens, nonTerm, currentPosition, parsingContext);\n hasByPasNodes = hasByPasNodes || firstInnerResult.HasByPassNodes;\n if (nonTerm.IsGroup)\n manyNode.IsManyGroups = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6786101b00e82d38fd1940c0ecd530053ae6169af42a6aefa822ff36900e01c0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 17, - "charOffset": 683, - "charLength": 15, - "snippet": { - "text": "value is bool b" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 605, - "charLength": 135, - "snippet": { - "text": " {\n object value = Value.GetValue(context);\n if (value is bool b)\n {\n return !b;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b7ad706f94acf406d964b8719c2b1c180fcd985dde268b90333946481cfd95f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 154, - "startColumn": 43, - "charOffset": 5969, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 152, - "startColumn": 1, - "charOffset": 5892, - "charLength": 173, - "snippet": { - "text": " }\n\n isError = isError || termRes.IsError;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ca4595ba94ad0f4e8396a74dcce3f3a601c76815dae4ae12d062b1a0e967742" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 429, - "startColumn": 17, - "charOffset": 20249, - "charLength": 24, - "snippet": { - "text": "firstInnerResult != null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 427, - "startColumn": 1, - "charOffset": 20218, - "charLength": 152, - "snippet": { - "text": " }\n\n if (firstInnerResult != null && !firstInnerResult.IsError)\n {\n manyNode.Add(firstInnerResult.Root);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81e373945eef3b1cf2d52ddbfa7eb088b0391749c9c04be9cb82f54c879d5079" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 269, - "startColumn": 17, - "charOffset": 13007, - "charLength": 8, - "snippet": { - "text": "!isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 267, - "startColumn": 1, - "charOffset": 12902, - "charLength": 172, - "snippet": { - "text": " result.Errors = errors;\n result.EndingPosition = currentPosition;\n if (!isError)\n {\n SyntaxNode node = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f1dfc5791a546c0369aeff00734de2b9922b026942a344913b8b1e430f4ff56" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 43, - "charOffset": 5322, - "charLength": 23, - "snippet": { - "text": "expectingTokens != null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 5082, - "charLength": 395, - "snippet": { - "text": " {\n var expectingTokens = expecting.SelectMany, LeadingToken>(x => x.ExpectedTokens ?? new List>()).Distinct();\n var expectedTokens = expectingTokens != null && expectingTokens.Any() ? expectingTokens?.ToArray() : null;\n if (expectedTokens != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96235d9aae9d7ad72e091bf80e9f452c27b290cd836dcb5ea3580fbfa6a09e65" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 232, - "startColumn": 33, - "charOffset": 9329, - "charLength": 20, - "snippet": { - "text": "operatorNode != null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 230, - "startColumn": 1, - "charOffset": 9164, - "charLength": 307, - "snippet": { - "text": " if (operatorIndex >= 0)\n if (node.Children[operatorIndex] is SyntaxLeaf operatorNode)\n if (operatorNode != null)\n {\n var visitor = rule.GetVisitor(operatorNode.Token.TokenID);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5dc4d7a76fbb439fc4463e322f330337dd2a2b621522a53f048a3969fe76d56" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always false", - "markdown": "Expression is always false" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 407, - "startColumn": 37, - "charOffset": 19115, - "charLength": 13, - "snippet": { - "text": "hasByPasNodes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 405, - "startColumn": 1, - "charOffset": 18918, - "charLength": 325, - "snippet": { - "text": " manyNode.IsManyTokens = true;\n firstInnerResult = ParseTerminal(tokens, terminalClause, currentPosition, parsingContext);\n hasByPasNodes = hasByPasNodes || firstInnerResult.HasByPassNodes;\n break;\n case NonTerminalClause nonTerm:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4280b0183e1e570d729168800a50ba769ef826a81573bced35977c8959201e9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConditionIsAlwaysTrueOrFalse", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always true", - "markdown": "Expression is always true" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 451, - "startColumn": 21, - "charOffset": 21201, - "charLength": 24, - "snippet": { - "text": "firstInnerResult != null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 449, - "startColumn": 1, - "charOffset": 21150, - "charLength": 161, - "snippet": { - "text": " else\n {\n if (firstInnerResult != null)\n {\n innerErrors.AddRange(firstInnerResult.Errors);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fd0471afbbd482fca2eac62c24e5435b905f289b7c50f98cc57ee65e9dcb7fec" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConstantConditionalAccessQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Conditional access qualifier expression is known to be not null", - "markdown": "Conditional access qualifier expression is known to be not null" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 35, - "charOffset": 1917, - "charLength": 1, - "snippet": { - "text": "?" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1720, - "charLength": 286, - "snippet": { - "text": " if (previous != null && (previous.TokenID == IndentedLangLexer2.SINGLE_COMMENT || previous.TokenID == IndentedLangLexer2.MULTI_COMMENT))\n {\n comment = previous?.Value;\n }\n return new IfThenElse(cond, thenblk, elseblk,comment);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "048480f6011e2fcf7228a4cac59225daafddb2f8d8a04234586827ee6b7961a5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConstantConditionalAccessQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Conditional access qualifier expression is known to be not null", - "markdown": "Conditional access qualifier expression is known to be not null" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 31, - "charOffset": 3582, - "charLength": 1, - "snippet": { - "text": "?" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 3437, - "charLength": 367, - "snippet": { - "text": " multiCommentAttributes.Length == 0 && commentAttributes.Length == 0)\n {\n result?.AddError(new LexerInitializationError(ErrorLevel.WARN,\n $\"token {tokenID} in lexer definition {typeof(IN).FullName} does not have Lexeme\",\n ErrorCodes.NOT_AN_ERROR));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "26bce072bdff1fb15da3062ca9b12ec73d3df638c139f5f8503a5179effc7670" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConstantConditionalAccessQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Conditional access qualifier expression is known to be not null", - "markdown": "Conditional access qualifier expression is known to be not null" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 109, - "charOffset": 5388, - "charLength": 1, - "snippet": { - "text": "?" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 5082, - "charLength": 395, - "snippet": { - "text": " {\n var expectingTokens = expecting.SelectMany, LeadingToken>(x => x.ExpectedTokens ?? new List>()).Distinct();\n var expectedTokens = expectingTokens != null && expectingTokens.Any() ? expectingTokens?.ToArray() : null;\n if (expectedTokens != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95383bee83756fce44afb656ba0a1d5226c1b2b3d61099f933db9821bf0545c0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConstantConditionalAccessQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Conditional access qualifier expression is known to be not null", - "markdown": "Conditional access qualifier expression is known to be not null" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 35, - "charOffset": 1705, - "charLength": 1, - "snippet": { - "text": "?" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1510, - "charLength": 230, - "snippet": { - "text": " if (previous != null && (previous.TokenID == IndentedLangLexer.SINGLE_COMMENT || previous.TokenID == IndentedLangLexer.MULTI_COMMENT))\n {\n comment = previous?.Value;\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2ddaca103ce1bd76f9cd661435f8c9068b8f725641f686c57c8cadc19740bc8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertClosureToMethodGroup", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1302, - "startColumn": 70, - "charOffset": 44970, - "charLength": 9, - "snippet": { - "text": "WriteLine" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1300, - "startColumn": 1, - "charOffset": 44839, - "charLength": 192, - "snippet": { - "text": " if (lexResult.IsOk)\n {\n lexResult.Tokens.Tokens.ForEach(x => Console.WriteLine(x));\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fad231fe6138fad7619ee9e09691c2f26ae6d5b6ee44f7c141f5cb4c85a3797" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertClosureToMethodGroup", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 80, - "charOffset": 1242, - "charLength": 18, - "snippet": { - "text": "GetLeftClausesName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1023, - "charLength": 386, - "snippet": { - "text": " return GetLeftClausesName(option.Clause);\n case ChoiceClause choice when choice.IsNonTerminalChoice:\n return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();\n case GroupClause group:\n return GetLeftClausesName(group.Clauses.First>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "889be004f5413edc66e66f0c10a3691e912627119baeae1ef7a5416ee72115bd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertClosureToMethodGroup", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 52, - "charOffset": 1737, - "charLength": 9, - "snippet": { - "text": "WriteLine" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1628, - "charLength": 154, - "snippet": { - "text": " {\n Console.WriteLine(\"ERROR\");\n result.Errors.ForEach(e => Console.WriteLine(e));\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c1ab10336206f34b35fdb1b0e933b2011b6644b70acd391da6190be6d029fc79" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertClosureToMethodGroup", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into method group", - "markdown": "Convert into method group" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 62, - "charOffset": 3696, - "charLength": 25, - "snippet": { - "text": "AddNonTerminalIfNotExists" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 3620, - "charLength": 160, - "snippet": { - "text": " }\n\n newNonTerms.ForEach(nonTerminal => configuration.AddNonTerminalIfNotExists(nonTerminal));\n return configuration;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec9e751526a9629477e7f145361ae3e88a379472c7b73a17a4b7eeba2ca2b630" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 9, - "charOffset": 875, - "charLength": 373, - "snippet": { - "text": "public FSMLexer()\n {\n Nodes = new Dictionary>();\n Transitions = new Dictionary>();\n Callbacks = new Dictionary>();\n IgnoreWhiteSpace = false;\n IgnoreEOL = false;\n AggregateEOL = false;\n WhiteSpaces = new List();\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 791, - "charLength": 509, - "snippet": { - "text": " private readonly Dictionary> Transitions;\n\n public FSMLexer()\n {\n Nodes = new Dictionary>();\n Transitions = new Dictionary>();\n Callbacks = new Dictionary>();\n IgnoreWhiteSpace = false;\n IgnoreEOL = false;\n AggregateEOL = false;\n WhiteSpaces = new List();\n }\n\n public bool IgnoreWhiteSpace { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01a5ae358f6614681f33d2710a5414648ec6de2b54fed4164dc4db94cf292c9c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 320, - "charLength": 158, - "snippet": { - "text": "public Group()\n {\n Items = new List>();\n ItemsByName = new Dictionary>();\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 244, - "charLength": 276, - "snippet": { - "text": " public Dictionary> ItemsByName;\n\n public Group()\n {\n Items = new List>();\n ItemsByName = new Dictionary>();\n }\n\n public int Count => Items.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0338485b40175281d4fbf2b7dba0ae90ceac2f4c2b54d99d56934239aec83528" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Signatures.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 238, - "charLength": 3370, - "snippet": { - "text": "public Signatures()\n {\n binaryOperationSignatures = new Dictionary>\n {\n {\n BinaryOperator.ADD, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.SUB, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.DIVIDE, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.MULTIPLY, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.AND, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.OR, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.LESSER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.GREATER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.EQUALS, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.DIFFERENT, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.CONCAT, new List\n {\n new Signature(WhileType.ANY, WhileType.ANY, WhileType.STRING)\n }\n }\n };\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 9, - "charOffset": 238, - "charLength": 3370, - "snippet": { - "text": "public Signatures()\n {\n binaryOperationSignatures = new Dictionary>\n {\n {\n BinaryOperator.ADD, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.SUB, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.DIVIDE, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.MULTIPLY, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.INT)\n }\n },\n {\n BinaryOperator.AND, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.OR, new List\n {\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.LESSER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.GREATER, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.EQUALS, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.DIFFERENT, new List\n {\n new Signature(WhileType.INT, WhileType.INT, WhileType.BOOL),\n new Signature(WhileType.STRING, WhileType.STRING, WhileType.BOOL),\n new Signature(WhileType.BOOL, WhileType.BOOL, WhileType.BOOL)\n }\n },\n {\n BinaryOperator.CONCAT, new List\n {\n new Signature(WhileType.ANY, WhileType.ANY, WhileType.STRING)\n }\n }\n };\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "150dae545d4deb7052a03a82eebb0b07052a1bf9c89ba69d2f3c75c69afb152c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 429, - "charLength": 112, - "snippet": { - "text": "public GraphVizEBNFSyntaxTreeVisitor()\n {\n Graph = new DotGraph(\"syntaxtree\", true);\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 368, - "charLength": 211, - "snippet": { - "text": " public DotGraph Graph { get; private set; }\n\n public GraphVizEBNFSyntaxTreeVisitor()\n {\n Graph = new DotGraph(\"syntaxtree\", true);\n }\n\n private int NodeCounter = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b7f90e02d976143b6c04a4ebf65a92b69bdee6579b66eeed1669a1683f9547a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 9, - "charOffset": 1377, - "charLength": 109, - "snippet": { - "text": "public InterpreterContext()\n {\n variables = new Dictionary();\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1311, - "charLength": 239, - "snippet": { - "text": " public Dictionary variables;\n\n public InterpreterContext()\n {\n variables = new Dictionary();\n }\n\n public void SetVariable(string name, TypedValue value)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d23da4e467259d2ef7247734abb1b2700282c3a677fd9a46f848125b07284b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 221, - "charLength": 225, - "snippet": { - "text": "public Rule()\n {\n Clauses = new List>();\n VisitorMethodsForOperation = new Dictionary>();\n Visitor = null;\n IsSubRule = false;\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 145, - "charLength": 358, - "snippet": { - "text": " public class Rule : GrammarNode where IN : struct\n {\n public Rule()\n {\n Clauses = new List>();\n VisitorMethodsForOperation = new Dictionary>();\n Visitor = null;\n IsSubRule = false;\n }\n\n public bool IsByPassRule { get; set; } = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fee584b07b5371e72095c4f012c893c45fa698004e9bada32f741d9ce6bd2e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 163, - "charLength": 87, - "snippet": { - "text": "public ExpressionTyper()\n {\n signatures = new Signatures();\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 106, - "charLength": 146, - "snippet": { - "text": " private readonly Signatures signatures;\n\n public ExpressionTyper()\n {\n signatures = new Signatures();\n }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b07b7e73050b171cb2bc08e2a84ab7093f89dfec8a1baaf391ba19e0d2678e5b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertConstructorToMemberInitializers", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert constructor into member initializers", - "markdown": "Convert constructor into member initializers" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 13, - "charOffset": 347, - "charLength": 207, - "snippet": { - "text": "public Config()\n {\n IdType = IdentifierType.Alpha;\n IgnoreEOL = true;\n IgnoreWS = true;\n WhiteSpace = new[] { ' ', '\\t' };\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 297, - "charLength": 313, - "snippet": { - "text": " public class Config\n {\n public Config()\n {\n IdType = IdentifierType.Alpha;\n IgnoreEOL = true;\n IgnoreWS = true;\n WhiteSpace = new[] { ' ', '\\t' };\n }\n\n public IdentifierType IdType { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb01d8ae97957e281055ad1ccda8f0179d33f9c76edf1ff33bdefdf0accfd161" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 189, - "startColumn": 17, - "charOffset": 7550, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 187, - "startColumn": 1, - "charOffset": 7476, - "charLength": 193, - "snippet": { - "text": " {\n SyntaxNode node = null;\n if (rule.IsSubRule)\n node = new GroupSyntaxNode(nonTerminalName, children);\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ad0bf46bc9b6bbf9e1bc34f9e26c98f0bf1e9dcff43f9e8754154fc63204ab2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 373, - "startColumn": 13, - "charOffset": 15173, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 371, - "startColumn": 1, - "charOffset": 15146, - "charLength": 80, - "snippet": { - "text": " }\n\n if (hasOk)\n {\n max = maxOk;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3656a66132628f429f5db15da9a40c5879acf28d2afb7ea7d0b201b3b0963da1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into method call with '?:' expression inside", - "markdown": "Convert into method call with '?:' expression inside" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 13, - "charOffset": 4585, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 4472, - "charLength": 199, - "snippet": { - "text": " throw new InterpreterException($\"invalid condition type {ast.Condition.Dump(\"\")}\");\n\n if (val.BoolValue)\n Interprete(ast.ThenStmt, context);\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37dae995596d706069c459ff685a89598a49e65af5543890df9ad1efc361ca28" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 639, - "startColumn": 17, - "charOffset": 23381, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 637, - "startColumn": 1, - "charOffset": 23266, - "charLength": 280, - "snippet": { - "text": " var elements = match.Result.Value.Split(separator);\n DateTime date;\n if (format == DateFormat.DDMMYYYY)\n {\n date = new DateTime(int.Parse(elements[2]), int.Parse(elements[1]), int.Parse(elements[0]));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4000d627b34101fdfdbe307fa31b86fc33105f2de770a53ce5e535384019192b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 608, - "startColumn": 37, - "charOffset": 24556, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 606, - "startColumn": 1, - "charOffset": 24418, - "charLength": 284, - "snippet": { - "text": " case NonTerminalClause nonTerm:\n {\n if (nonTerm.IsGroup)\n {\n expected = typeof(ValueOption>);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "40cc4635d608c59ded106173d8d61b4ec9bb39e0083353b8497755ac4df83da2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 498, - "startColumn": 17, - "charOffset": 18241, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 496, - "startColumn": 1, - "charOffset": 18127, - "charLength": 215, - "snippet": { - "text": " if (!derivedTokens.TryGetValue(genericToken, out var tokensForGeneric))\n {\n if (genericToken == GenericToken.Identifier)\n {\n tokensForGeneric =" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89edbb643b4a9a9d6e6140290bcf0cf59f32d3ef42bb298b38fd90ee67bc008c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 527, - "startColumn": 29, - "charOffset": 20867, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 525, - "startColumn": 1, - "charOffset": 20730, - "charLength": 258, - "snippet": { - "text": " Type expected = null;\n var found = arg.ParameterType;\n if (nonTerminal.IsGroup)\n {\n expected = typeof(Group);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aaea58ab3476210a24b406773a38e678b2055067c00be00798f0c89a08ad933a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1065, - "startColumn": 17, - "charOffset": 40449, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1063, - "startColumn": 1, - "charOffset": 40367, - "charLength": 200, - "snippet": { - "text": " {\n var position = lexerPosition.Index;\n if (position < source.Length -1)\n {\n commentValue = source.GetToEndOfLine(position);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b275e24fc94fdf85102026329b416b36ba8b59ae1da53b2914fea98cdb6271b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 578, - "startColumn": 17, - "charOffset": 21175, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 576, - "startColumn": 1, - "charOffset": 21060, - "charLength": 280, - "snippet": { - "text": " var elements = match.Result.Value.Split(separator);\n DateTime date;\n if (format == DateFormat.DDMMYYYY)\n {\n date = new DateTime(int.Parse(elements[2]), int.Parse(elements[1]), int.Parse(elements[0]));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5c2e92f2fcf044bd9080facae03793effe606ed9a9c880ba5f8664b851b46fc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1074, - "startColumn": 17, - "charOffset": 40771, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1072, - "startColumn": 1, - "charOffset": 40678, - "charLength": 243, - "snippet": { - "text": " }\n position = position + commentValue.Length;\n if (commentValue.Length > comment.SpanValue.Length)\n {\n comment.SpanValue = commentValue.RemoveEndOfLineChars(); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc8b839b90257fae3cd41e42cb911e7c2a600f75c8a77f013cd7b05f8b15eeb2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 92, - "startColumn": 17, - "charOffset": 2820, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 90, - "startColumn": 1, - "charOffset": 2733, - "charLength": 215, - "snippet": { - "text": " if (Operation != null && Operation.IsBinary)\n {\n if (Operation.IsExplicitOperatorToken)\n {\n expressionSuffix = Operation.ExplicitOperatorToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5200f5d289b7b84d48d0c5d110b124de5ed81c94d63fdac995afdde87fb5458" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 17, - "charOffset": 815, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 754, - "charLength": 148, - "snippet": { - "text": " {\n var path = \"\";\n if (ParentScope == null)\n path = Id.ToString();\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db21c6da9e62d3ad095bc5beb8b4b6a3313d26e2ba70f4b0969e52dbbbbd79aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 553, - "startColumn": 37, - "charOffset": 22017, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 551, - "startColumn": 1, - "charOffset": 21879, - "charLength": 277, - "snippet": { - "text": " case NonTerminalClause nonTerm:\n {\n if (nonTerm.IsGroup)\n {\n expected = typeof(List>);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e69af8a4cba1f888518f95cc1f19a4efa7e788128fa7c43a8c06063cec0cf740" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 227, - "startColumn": 21, - "charOffset": 8448, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 225, - "startColumn": 1, - "charOffset": 8339, - "charLength": 272, - "snippet": { - "text": " functions[key] = m;\n NonTerminal nonT = null;\n if (!nonTerminals.ContainsKey(ntAndRule.Item1))\n nonT = new NonTerminal(ntAndRule.Item1, new List>());\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9895637a9fef553e09c7c93f0160ee62b9930ae97c466ab82745c78fdb563bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 272, - "startColumn": 17, - "charOffset": 13091, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 270, - "startColumn": 1, - "charOffset": 13017, - "charLength": 193, - "snippet": { - "text": " {\n SyntaxNode node = null;\n if (rule.IsSubRule)\n node = new GroupSyntaxNode(nonTerminalName, children);\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "efe4922651cd20a6a4b8d70cdfc719a7fced2615cbfcd2d0b31f3b9b925c03f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToConditionalTernaryExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '?:' expression", - "markdown": "Convert into '?:' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 157, - "startColumn": 25, - "charOffset": 6028, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 155, - "startColumn": 1, - "charOffset": 5907, - "charLength": 302, - "snippet": { - "text": " rule.SetVisitor(m);\n NonTerminal nonT = null;\n if (!nonTerminals.ContainsKey(rule.NonTerminalName))\n nonT = new NonTerminal(rule.NonTerminalName, new List>());\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8c7cefa8435d6218184f58a0208522764c5b8b046da792df4344f9bfb5ed1bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToNullCoalescingExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into '??' expression", - "markdown": "Convert into '??' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 17, - "charOffset": 380, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 334, - "charLength": 130, - "snippet": { - "text": " get\n {\n if (_instance == null)\n {\n _instance = new I18N();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7652c2caeed3e4c9d8c9289662a2a2d633f82e80e37fb27cce837981f1c703dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 225, - "startColumn": 21, - "charOffset": 9850, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 223, - "startColumn": 1, - "charOffset": 9713, - "charLength": 315, - "snippet": { - "text": " var InFixClauses = InFixOps.Select, TerminalClause>(x =>\n {\n if (x.IsExplicitOperatorToken)\n {\n return new TerminalClause(x.ExplicitOperatorToken.Substring(1,x.ExplicitOperatorToken.Length-2));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e560b6df43bb8036d990806f7697c1f350c380cd29e2eec1e988789e1b55034" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 129, - "startColumn": 25, - "charOffset": 5718, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 127, - "startColumn": 1, - "charOffset": 5615, - "charLength": 226, - "snippet": { - "text": " return token;\n }).ToList();\n if (lexerPostProcess != null)\n {\n return lexerPostProcess(labeledTokens);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1458c834a02e58bf90b61b0abdac192022d80d9012ef26e4d923d7a7f16ed064" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 107, - "startColumn": 13, - "charOffset": 3280, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 105, - "startColumn": 1, - "charOffset": 3199, - "charLength": 206, - "snippet": { - "text": " public List> GetOperations()\n {\n if (IsExpressionRule)\n {\n return VisitorMethodsForOperation.Values.ToList>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1781affb67d945b268328890ce6cd130709f37bd9bcbd824a37883c3004419b7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 13, - "charOffset": 529, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 448, - "charLength": 171, - "snippet": { - "text": " public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))\n {\n return $\" {name}={value}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2204983c68351e65fe6288dd644d1a0496b1afb019e4e887ba9761a23f1d9d75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ValueOption.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 13, - "charOffset": 1050, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 974, - "charLength": 150, - "snippet": { - "text": " public T Match(Func some, Func none)\n {\n if (IsSome)\n return some(Value);\n return none();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2409a999490101a4953183c31cb45288a52d39c2d0b2914ee5a1e069a44b12d8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 13, - "charOffset": 1842, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1815, - "charLength": 118, - "snippet": { - "text": " }\n\n if (other.IsTerminalChoice != IsTerminalChoice)\n {\n return false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c4ddb64c7cbab465c39499e876f4c0d6d49c000f6fcd7516cd94c45f0e9cbd2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 13, - "charOffset": 1298, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1171, - "charLength": 241, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((NonTerminalClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5064403bb8308f47d895480d2eca9f07a67d7de215020c063f884fc1571165c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 13, - "charOffset": 1430, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1341, - "charLength": 228, - "snippet": { - "text": " public DotNode VisitOptionNode(bool exists, DotNode child)\n {\n if (!exists)\n {\n return VisitLeaf(new Token() { TokenID = default(IN), SpanValue = \"\".ToCharArray() });" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "668ed01faef9705606645fd51c365d90a0674056ec563685a4a4401a28af2ff0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 13, - "charOffset": 806, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 742, - "charLength": 124, - "snippet": { - "text": " public override string ToString()\n {\n if (IsOk)\n {\n return \"lexing OK.\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c090656ec709a0031f8434e147252f11b3c8f66b154cfdecd7194fb46151e55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 13, - "charOffset": 391, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 338, - "charLength": 157, - "snippet": { - "text": " {\n object value = \"\";\n if (context.TryGetValue(VariableName, out value))\n {\n return value.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e088de055d28c733c22c779e795d24a59b7d8d2e7887c576647e4184d65095d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 13, - "charOffset": 1068, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1004, - "charLength": 143, - "snippet": { - "text": " public override string ToString()\n {\n if (IsExplicitToken)\n {\n return $\"'{ExplicitToken}'\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3b7d8312a3262af733f922ee2c6409481326faffae052ed1e806bf786888f69" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 13, - "charOffset": 1138, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1090, - "charLength": 161, - "snippet": { - "text": "\n string pattern = null;\n if (translation.TryGetValue(key, out pattern))\n {\n return string.Format(pattern, args);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa7235bc1712d09a7289c2e9d092f55e9b93cf0cc24d56046ef91da8140f5e13" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 13, - "charOffset": 2671, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2548, - "charLength": 229, - "snippet": { - "text": " public int OperandVariable(Token identifier,Dictionary context)\n {\n if (context.ContainsKey(identifier.Value))\n {\n return context[identifier.Value];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "acfb5d5a69c32a8cfacb70277f5816243544b15270a4a74a4d7d0a7bbbdc39ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 13, - "charOffset": 1834, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 1707, - "charLength": 237, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((LeadingToken)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1298150a35745e59a1092798979f2e527d43c92ce6ed3c5b1be88d4dc071ce3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 13, - "charOffset": 772, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 660, - "charLength": 208, - "snippet": { - "text": " public X Match(Func, X> fToken, Func fValue)\n {\n if (IsToken)\n return fToken(Name, Token);\n return fValue(Name, Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7e74c9238e8fe5285722df6800040b619659991487516a75254aa5fe60eb61a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 17, - "charOffset": 2199, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 2122, - "charLength": 196, - "snippet": { - "text": " if (child == null || node.IsEmpty)\n {\n if (node.IsGroupOption)\n {\n return SyntaxVisitorResult.NewOptionGroupNone(); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5e359aa6d1e116bdc3fd4ea6fee0aa257ec24eac34f4c2917138c5a83596451" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 13, - "charOffset": 548, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 484, - "charLength": 123, - "snippet": { - "text": " public override string ToString()\n {\n if (IsOk)\n {\n return \"parse OK.\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f16fcc5696f3f3fcad0bb7f56c40ec4a6db925b6ec050a84828f93a49711f14e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 13, - "charOffset": 2229, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2102, - "charLength": 236, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((ChoiceClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f3a4d7db3a97d7dbaa49f844925028f1372cca58308e00d7005231112567fd03" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotArrow.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 13, - "charOffset": 446, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 365, - "charLength": 171, - "snippet": { - "text": " public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))\n {\n return $\" {name}={value}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f78849329b70391f360f9b153590b5fb41e36baa1caa78e03862d809e20c2835" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToReturnStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into 'return' statement", - "markdown": "Convert into 'return' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 13, - "charOffset": 1244, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1117, - "charLength": 236, - "snippet": { - "text": " if (ReferenceEquals(null, obj)) return false;\n if (ReferenceEquals(this, obj)) return true;\n if (obj.GetType() != this.GetType()) return false;\n return Equals((OptionClause)obj);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb39cd11dfb224bd0674b5d48c82334e870b80b23300b96a17710a7f3b2f77f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 13, - "charOffset": 357, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 253, - "charLength": 321, - "snippet": { - "text": " public WhileType TypeExpression(Expression expr, CompilerContext context)\n {\n if (expr is BoolConstant b) return TypeExpression(b, context);\n if (expr is IntegerConstant i) return TypeExpression(i, context);\n if (expr is StringConstant s) return TypeExpression(s, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5846a3121c5dd4ad541b011a9eb3a8189fb96a1aaffac3e384284130c370c5ef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch'", - "markdown": "Convert 'if' statement into 'switch'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 13, - "charOffset": 10193, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 10091, - "charLength": 301, - "snippet": { - "text": " public TypedValue Evaluate(Expression expr, InterpreterContext context)\n {\n if (expr is BoolConstant b) return Evaluate(b, context);\n if (expr is IntegerConstant i) return Evaluate(i, context);\n if (expr is StringConstant s) return Evaluate(s, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f7cb6f8e225013959404d8c624de175d0d53f74b8fdebfd1d008b63896979e0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 160, - "startColumn": 26, - "charOffset": 5294, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 158, - "startColumn": 1, - "charOffset": 5209, - "charLength": 165, - "snippet": { - "text": " InNum = true;\n }\n else if (current == 't')\n {\n InTrue = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "703a91511c6f3af3b96bd678f18d85e76afd401fac940cc642f0813d829445dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 562, - "startColumn": 17, - "charOffset": 20527, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 560, - "startColumn": 1, - "charOffset": 20413, - "charLength": 240, - "snippet": { - "text": " TransitionPrecondition checkDate = delegate(ReadOnlyMemory value)\n {\n if (format == DateFormat.DDMMYYYY)\n {\n return value.Length == 3 && value.At(2) == separator;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "85201623228c859ba2d24da442b83ea93383c1dbbcb6b471b8cc0691e4d1c000" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 13, - "charOffset": 3047, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 2937, - "charLength": 288, - "snippet": { - "text": " private InterpreterContext Interprete(WhileAST ast, InterpreterContext context)\n {\n if (ast is AssignStatement assign) Interprete(assign, context);\n if (ast is SequenceStatement seq) Interprete(seq, context);\n if (ast is SkipStatement skip)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9380d6a5db86119d39df91d1353d6935436d1d05a32780833f9416fb5594d84" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SemanticChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 13, - "charOffset": 552, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 445, - "charLength": 291, - "snippet": { - "text": " private CompilerContext SemanticCheck(WhileAST ast, CompilerContext context)\n {\n if (ast is AssignStatement assign) SemanticCheck(assign, context);\n if (ast is SequenceStatement seq) SemanticCheck(seq, context);\n if (ast is SkipStatement skip)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dea0e66fdfe6acf63b8269374d733fa45985651074cf31c2b5e1d8bfc779693e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 25, - "charOffset": 1119, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 1016, - "charLength": 268, - "snippet": { - "text": " foreach (var clause in rule.Clauses)\n {\n if (clause is TerminalClause terminalClause && terminalClause.IsExplicitToken)\n {\n clauses.Add(terminalClause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ebf1adee70bd3695eff6db4b9bd092f38004aa56058d2057ae248f67bce3777c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 621, - "startColumn": 17, - "charOffset": 22594, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 619, - "startColumn": 1, - "charOffset": 22480, - "charLength": 275, - "snippet": { - "text": " TransitionPrecondition checkDate = delegate(ReadOnlyMemory value)\n {\n if (format == DateFormat.DDMMYYYY)\n {\n bool match = value.Length == 6 && value.At(2) == separator && value.At(5) == separator; " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6c6247167cb4eee025e552492f7e14e21c9d6780c296e52efe7c05f64748914" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertIfStatementToSwitchStatement", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'if' statement into 'switch' statement", - "markdown": "Convert 'if' statement into 'switch' statement" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 21, - "charOffset": 2484, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2345, - "charLength": 405, - "snippet": { - "text": " attr.IntToken >= 0;\n OperationMetaData operation = null;\n if (!isEnumValue && !string.IsNullOrEmpty(explicitToken) && explicitToken.StartsWith(\"'\") && explicitToken.EndsWith(\"'\")) \n {\n operation = new OperationMetaData(attr.Precedence, attr.Assoc, m, attr.Affix, explicitToken);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fee08c6b2a281f9578fec4947a52554fcc8debe1080db0acbf0fc0f9d5806828" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 17, - "charOffset": 696, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 630, - "charLength": 148, - "snippet": { - "text": "\n if (left.HasValue && right.HasValue)\n switch (Operator)\n {\n case ExpressionToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05fe669d338593b0a3d10bad27f01ce8efb4b222ce6ed9aa2f45f8ff6d9b3410" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 13, - "charOffset": 549, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 499, - "charLength": 133, - "snippet": { - "text": " {\n var result = 0;\n switch (operation.TokenID)\n {\n case ExpressionToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "128a0cff05c1bbb1c07f99d02918339ab3c324678c29d8f91abd763bba6bfe11" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 13, - "charOffset": 460, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 407, - "charLength": 136, - "snippet": { - "text": " {\n double result = 0;\n switch (operation.TokenID)\n {\n case ExpressionToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e102d2d13d4f69e53e8979afa3869609ec8690e35b44cf39910d66fb9d78849" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/TypeConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 13, - "charOffset": 843, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 782, - "charLength": 129, - "snippet": { - "text": " {\n var type = typeof(object);\n switch (whileType)\n {\n case WhileType.INT:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2de497723c1686ecfe45cf8b7d936ba25d75df3501a0e359cf304715af4ea76b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 13, - "charOffset": 836, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 780, - "charLength": 147, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case WhileTokenGeneric.LESSER:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31fccb58ce259077be478d4f55befe9faac75f36ff286fef0d55912a88a596aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 414, - "startColumn": 21, - "charOffset": 13770, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 412, - "startColumn": 1, - "charOffset": 13688, - "charLength": 172, - "snippet": { - "text": " case BinaryOperator.LESSER:\n {\n switch (left.ValueType)\n {\n case WhileType.BOOL:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32a00db2b106517b74d384c4726d79758da0ab546240cb88f34c6060793723d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 17, - "charOffset": 533, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 484, - "charLength": 128, - "snippet": { - "text": "\n if (right.HasValue)\n switch (Operator)\n {\n case FormulaToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35e915f05d63364195e41ffe6bc293dfc99cf69f742e70624d16cab7cc99d20e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 13, - "charOffset": 1463, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1449, - "charLength": 102, - "snippet": { - "text": "\n\n switch (operatorToken.TokenID)\n {\n case ExpressionToken.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "39e392c0c62349d47b578117996e7a327615683abf45ac6e6ef81a2ba6c8d3d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 13, - "charOffset": 862, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 806, - "charLength": 155, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case IndentedWhileTokenGeneric.LESSER:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "458c1dcd0fbfef9dfd9a93ad301588438fb348ff036f9407bbce952d27edbbd9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 13, - "charOffset": 782, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 726, - "charLength": 140, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case WhileToken.LESSER:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "501956bb210dac269cfd491d8567c79497dedc9a0dd0fe53b1039274e71a314f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 442, - "startColumn": 21, - "charOffset": 14763, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 440, - "startColumn": 1, - "charOffset": 14681, - "charLength": 172, - "snippet": { - "text": " case BinaryOperator.EQUALS:\n {\n switch (left.ValueType)\n {\n case WhileType.BOOL:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52f247991e5a914c94bc7d230bfb9bbb0d8a3b4835e28385b0e690c123b8ce63" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 178, - "startColumn": 13, - "charOffset": 5827, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 176, - "startColumn": 1, - "charOffset": 5771, - "charLength": 138, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case WhileToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5991eb35cd2383100be0f77ff5e9a33d8c65b8d236b3d505cddb4c0f4640e27c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/TypeConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 13, - "charOffset": 207, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 152, - "charLength": 123, - "snippet": { - "text": " {\n var cSharpType = \"\";\n switch (whileType)\n {\n case WhileType.INT:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f15f12b404dace315ee6c8bcdffaa237d7f3350f9a851edfa30e24ee31c4605" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 202, - "startColumn": 13, - "charOffset": 6675, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 200, - "startColumn": 1, - "charOffset": 6614, - "charLength": 144, - "snippet": { - "text": " var oper = BinaryOperator.MULTIPLY;\n\n switch (operatorToken.TokenID)\n {\n case WhileToken.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68122c0380c363086b12ac8b3e8fe181669d3e8561a659bfcd48c62389f800c0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 17, - "charOffset": 726, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 660, - "charLength": 145, - "snippet": { - "text": "\n if (left.HasValue && right.HasValue)\n switch (Operator)\n {\n case FormulaToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6eaa7a036e50711051f8ffebd54c5dced88049c4a3da7cae51110ad3352db9c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 203, - "startColumn": 13, - "charOffset": 7099, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 201, - "startColumn": 1, - "charOffset": 7038, - "charLength": 151, - "snippet": { - "text": " var oper = BinaryOperator.MULTIPLY;\n\n switch (operatorToken.TokenID)\n {\n case WhileTokenGeneric.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "749112a5bf4e95f1f34bf3e0b5a3ffacd0ab2d5f3f8732e2fa5d452d0a229966" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 182, - "startColumn": 13, - "charOffset": 6094, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 180, - "startColumn": 1, - "charOffset": 6038, - "charLength": 153, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case IndentedWhileTokenGeneric.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ed99f789d2ce1befb050d1892bbaffcd76051263fd29773cf7971b55b936a18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 13, - "charOffset": 1641, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 1615, - "charLength": 97, - "snippet": { - "text": " \n\n switch (Operator)\n {\n case BinaryOperator.OR:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7fe7234064976ed99536b4735ed607c0b3c5789746952eef686c405f93ad19a4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 178, - "startColumn": 13, - "charOffset": 6204, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 176, - "startColumn": 1, - "charOffset": 6148, - "charLength": 145, - "snippet": { - "text": " var oper = BinaryOperator.ADD;\n\n switch (operatorToken.TokenID)\n {\n case WhileTokenGeneric.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93de50a99637526993d48c033fb31bc9c08be3d543d810887453b8347513ec1c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 386, - "startColumn": 21, - "charOffset": 12778, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 384, - "startColumn": 1, - "charOffset": 12695, - "charLength": 173, - "snippet": { - "text": " case BinaryOperator.GREATER:\n {\n switch (left.ValueType)\n {\n case WhileType.BOOL:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c538cab80842e740602e701f7244fe2a810efd896addf06687ed25d2a72bbc0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 17, - "charOffset": 518, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 469, - "charLength": 131, - "snippet": { - "text": "\n if (right.HasValue)\n switch (Operator)\n {\n case ExpressionToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a668a5049f44b5fe9a0f2eefd0a292598ada1c5a65e3f508eb06bce10ba9f5e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 13, - "charOffset": 1167, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 1114, - "charLength": 137, - "snippet": { - "text": " {\n double result = 0;\n switch (operation.TokenID)\n {\n case ExpressionToken.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ae9e85b64ba077715997c00c8c20a944423126f5f4f85aef44204c455f4671d8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 13, - "charOffset": 2250, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2154, - "charLength": 152, - "snippet": { - "text": " {\n var parameters = Parameters.Select(x => x.Evaluate(context));\n switch (Name)\n {\n case \"sin\" :" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7180a9c6f7ab7d3f08db2ca362c4ed89dc3edee054774ce1b5a1b856ddc1bf4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 13, - "charOffset": 689, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 675, - "charLength": 101, - "snippet": { - "text": "\n\n switch (operatorToken.TokenID)\n {\n case ExpressionToken.PLUS:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc84e5e6cc64e2d4005f2ab544b5bf6c40ea3e40e9e1db4af3932a86b9f4b97e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 207, - "startColumn": 13, - "charOffset": 7029, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 205, - "startColumn": 1, - "charOffset": 6968, - "charLength": 159, - "snippet": { - "text": " var oper = BinaryOperator.MULTIPLY;\n\n switch (operatorToken.TokenID)\n {\n case IndentedWhileTokenGeneric.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf2c1eb007a9d82bff1d22db2a84da3ba70947a8bcd0f6d9fa967c9e0d5b3ccf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 13, - "charOffset": 1295, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1245, - "charLength": 134, - "snippet": { - "text": " {\n var result = 0;\n switch (operation.TokenID)\n {\n case ExpressionToken.TIMES:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7cdfcd55ffccf869cefe975cbf4a46cf8eb00e3971519db8037bb1d98ce3b32" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertSwitchStatementToSwitchExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert 'switch' statement to 'switch' expression", - "markdown": "Convert 'switch' statement to 'switch' expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 470, - "startColumn": 21, - "charOffset": 15737, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 468, - "startColumn": 1, - "charOffset": 15652, - "charLength": 175, - "snippet": { - "text": " case BinaryOperator.DIFFERENT:\n {\n switch (left.ValueType)\n {\n case WhileType.BOOL:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f14c9c7afeda3920519ce039e0be5d6eb362612996299613d7552c2ff1cef5d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 83, - "charOffset": 1239, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1071, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "240f0ffdbe4e72740dd624337f5fc77c7ee56f6efecbb686e213ba6998719dfd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 83, - "charOffset": 1239, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1071, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a011b4374ffc5950d11b54bc251c570abef5aa9d88cfdfe7f37f4d7b616d686" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 58, - "charOffset": 2245, - "charLength": 9, - "snippet": { - "text": "factorial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 2147, - "charLength": 152, - "snippet": { - "text": " {\n var factorial = 1;\n for (var i = 1; i <= value; i++) factorial = factorial * i;\n return factorial;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "586cafc716ccff85eeb0c5d068366621462831decca5fc099de3d2d20960cbb3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 83, - "charOffset": 1468, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1300, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62268fc18d0b38a12f94c93b009416f175f94d8fcf76adcc1abf30311448064a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 83, - "charOffset": 1472, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1304, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "640373babefac0969396d420682b12c788bd75db1d8c7d721ea40df29b1882b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 58, - "charOffset": 2034, - "charLength": 9, - "snippet": { - "text": "factorial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1936, - "charLength": 152, - "snippet": { - "text": " {\n var factorial = 1;\n for (var i = 1; i <= value; i++) factorial = factorial * i;\n return factorial;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d3bbc2594b4461c57845f188b5d46bd0794cd66711a0bef2dec3a5aea6d5222" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 83, - "charOffset": 1270, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1102, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "94c362aa1a72d3cab62b2eadb1ed92c2b666f58d65c5423d4776c102c457c0ed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1073, - "startColumn": 28, - "charOffset": 40723, - "charLength": 8, - "snippet": { - "text": "position" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1071, - "startColumn": 1, - "charOffset": 40625, - "charLength": 215, - "snippet": { - "text": " commentValue = \"\".ToCharArray();\n }\n position = position + commentValue.Length;\n if (commentValue.Length > comment.SpanValue.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "99ead391b790b4b09dae5f205538076ff1a6465c450761e8cfde05b37ee77d52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 83, - "charOffset": 1288, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1120, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8826ab06b4a036f719715fd900693c733e30951307493645be21ab53fd370a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 83, - "charOffset": 1239, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1071, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7b133b1988590e17cedd8f13bca6e8de78efc8642d2d04b7ff5f06d6a7e108c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 83, - "charOffset": 1257, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1089, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d34e62982002de61197f8e8e1e8229bb8105a96978f69106657e106027e24b24" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 83, - "charOffset": 1486, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1318, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e02ea35c0cc3b9d69481e236a07eb314df7ebd7b75f7e5b0e9d3a9e8c138e9f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 83, - "charOffset": 1468, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1300, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e04b7aed21640606239d523b650d6893b06fb30d8303cebac48a311022440274" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 83, - "charOffset": 1270, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1102, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4ee7cfb1dc161373aad403a9d48a8db8d7b2809e23379e8eb6e379873fba674" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 35, - "charOffset": 1714, - "charLength": 15, - "snippet": { - "text": "tokenStartIndex" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1491, - "charLength": 325, - "snippet": { - "text": " token.Position = new LexerPosition(currentTokenPosition, currentTokenLine, currentTokenColumn);\n token.SpanValue = source.Slice(tokenStartIndex,tokenLength);\n tokenStartIndex = tokenStartIndex + tokenLength;\n token.TokenID = tok;\n tokens.Add(token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f464c3f7be1b824e572a50e2572ab983e44fe3e95475de4c5d205a36533f2c80" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToCompoundAssignment", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into compound assignment", - "markdown": "Convert into compound assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 83, - "charOffset": 1270, - "charLength": 11, - "snippet": { - "text": "decimalPart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1102, - "charLength": 245, - "snippet": { - "text": " {\n var decimalPart = double.Parse(doubleParts[1]);\n for (var i = 0; i < doubleParts[1].Length; i++) decimalPart = decimalPart / 10.0;\n dbl += decimalPart;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5cf3eee78cd37453de34f5d5ad7467650ec5538bda91cd0e7ae0b42ebe51991" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 875, - "startColumn": 21, - "charOffset": 32417, - "charLength": 7, - "snippet": { - "text": "escaped" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 873, - "startColumn": 1, - "charOffset": 32314, - "charLength": 168, - "snippet": { - "text": " {\n var exceptDelimiter = new[] { stringDelimiterChar };\n var escaped = \"escaped_same\";\n\n FSMBuilder.GoTo(start)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "090a07199e752a51fdb7035aed0e84a8489333c13e3e0d8500f00778313015fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 559, - "startColumn": 21, - "charOffset": 18349, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 557, - "startColumn": 1, - "charOffset": 18239, - "charLength": 221, - "snippet": { - "text": " var graph = lexer.ToGraphViz();\n Console.WriteLine(graph);\n var source = \"'\\\\''\";\n Console.WriteLine(source);\n var res2 = lexer.Tokenize(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e9c4264cf5ff5abf9baa67b546e363e1fd10664de8ebc8e312b4b05278a3867" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 969, - "startColumn": 17, - "charOffset": 33579, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 967, - "startColumn": 1, - "charOffset": 33494, - "charLength": 131, - "snippet": { - "text": " public static void TestIndentedParserNeverEnding()\n {\n var source =@\"if truc == 1\n un = 1\n deux = 2" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1071b78a88f8fd123943851175a10ff864bc9c5e7b9f3044aa26575f250df77a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 694, - "startColumn": 17, - "charOffset": 24443, - "charLength": 12, - "snippet": { - "text": "StartingRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 692, - "startColumn": 1, - "charOffset": 24322, - "charLength": 319, - "snippet": { - "text": " private static BuildResult> BuildParserExpression()\n { \n var StartingRule = $\"{nameof(SimpleExpressionParser)}_expressions\";\n var parserInstance = new SimpleExpressionParser();\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18f11c7ee791f9a2b511a8395f3eefdfd5f5c538987e984ad3be21e1513f90d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 719, - "startColumn": 17, - "charOffset": 25522, - "charLength": 13, - "snippet": { - "text": "expectString2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 717, - "startColumn": 1, - "charOffset": 25410, - "charLength": 237, - "snippet": { - "text": " var expectString1 = \"\\\"hello \\\"world \\\"\";\n var string2 = \"'that''s it'\";\n var expectString2 = \"'that's it'\";\n var source1 = $\"{string1} {string2}\";\n var r = lexer.Tokenize(source1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21300d78f2738e991118f9150a51dc96ae30584d042807658b56080f223b8211" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1144, - "startColumn": 20, - "charOffset": 39585, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1142, - "startColumn": 1, - "charOffset": 39372, - "charLength": 320, - "snippet": { - "text": " var buildResult = builder.BuildParser(parserInstance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"block\");//line-based, 1 statement per line.\n var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2595c03acf3532864ade8d5339273b05a4993b2ec78f5debd2dd1645d410d7d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1017, - "startColumn": 17, - "charOffset": 35553, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1015, - "startColumn": 1, - "charOffset": 35523, - "charLength": 197, - "snippet": { - "text": " \n\n var source = @\"hello - {= world =} - billy - {% if (a == 1) %} - bob - {%else%} - boubou - {%endif%}\";\n \n var tokens = genericLexer.Tokenize(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2e7f7bde2afa9682a2955f85dc72a5d2260fd1f3f6ce3a14bf2704b10b5cee6e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 368, - "startColumn": 17, - "charOffset": 11156, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 366, - "startColumn": 1, - "charOffset": 11029, - "charLength": 288, - "snippet": { - "text": " var parser = builder.BuildParser(new JSONParser(), ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");\n\n var source = \"{ \\\"k\\\" : 1;\\\"k2\\\" : 1.1;\\\"k3\\\" : null;\\\"k4\\\" : false}\";\n //source = File.ReadAllText(\"test.json\");\n var lexer = new JSONLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "302f30cc1efc34ecfe91b87265185e7ad712740dd9fb4c301d62b1d7c916c428" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 245, - "startColumn": 17, - "charOffset": 8553, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 243, - "startColumn": 1, - "charOffset": 8412, - "charLength": 169, - "snippet": { - "text": " public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4408b12f738e86b5d4c9ec1f37bf2f0789f9046a4d91a2c72d1f9d5be30cdefc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 563, - "startColumn": 21, - "charOffset": 18557, - "charLength": 7, - "snippet": { - "text": "sourceU" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 561, - "startColumn": 1, - "charOffset": 18410, - "charLength": 297, - "snippet": { - "text": " var res2 = lexer.Tokenize(source);\n Console.WriteLine($\"{res2.IsOk} - {res2.Tokens[0].Value}\");\n var sourceU = \"'\\\\u0066'\";\n var res3 = lexer.Tokenize(sourceU);\n Console.WriteLine($\"{res3.IsOk} - {res3.Tokens[0].Value}\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47b061e023ffe2587d2a0ea9953cefa1f1d1aadf826476d9c10e0180076defaf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 17, - "charOffset": 2044, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1892, - "charLength": 307, - "snippet": { - "text": " public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;\n var operation = new BinaryOperation(left as Expression, oper, right as Expression);\n return operation;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5188dfedffa89eeb68bf42bcefdf100806992961b60ea908e42844b33ae524fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 523, - "startColumn": 17, - "charOffset": 16794, - "charLength": 12, - "snippet": { - "text": "StartingRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 521, - "startColumn": 1, - "charOffset": 16725, - "charLength": 264, - "snippet": { - "text": " private static void TestGraphViz()\n {\n var StartingRule = $\"{nameof(SimpleExpressionParser)}_expressions\";\n var parserInstance = new SimpleExpressionParser();\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "54989ab41f6aa89e9dd17012f7725548b359507b0f2237d3f2ded90e7f4957d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 17, - "charOffset": 1343, - "charLength": 11, - "snippet": { - "text": "tokenLength" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1289, - "charLength": 135, - "snippet": { - "text": "\n int tokenStartIndex = 0;\n int tokenLength = 0;\n\n Func> NewToken = tok =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "54dd677953215e82deecc2a089875e43699cc087e57ce318c72659956cf88e4d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 289, - "startColumn": 17, - "charOffset": 8261, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 287, - "startColumn": 1, - "charOffset": 8206, - "charLength": 78, - "snippet": { - "text": " var sw = new Stopwatch();\n\n var source = @\"\n(\n r:=1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7096bb783c32d2630cc1817f50f9df7922c4ee51bbcf5ffff80108a7b1b57b5b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 649, - "startColumn": 24, - "charOffset": 22214, - "charLength": 3, - "snippet": { - "text": "ko1" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 647, - "startColumn": 1, - "charOffset": 22128, - "charLength": 209, - "snippet": { - "text": " {\n var parser = parserBuild.Result;\n string ko1 = \"|B|test2(a, b, c=100)|E|\";\n string ko2 = \"|B|plotshape(data, style=shapexcross)|E|\";\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "789e45b4463617e5370f8b90e145f38c4b9adb80b5acfc4721d411f2c9622538" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 300, - "startColumn": 25, - "charOffset": 11028, - "charLength": 6, - "snippet": { - "text": "column" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 298, - "startColumn": 1, - "charOffset": 10836, - "charLength": 310, - "snippet": { - "text": " var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;\n // r.Result.Position.Line = line+1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b07cabc0588350501e369c6ee34daf763e5e2ec8333b476157758f532d0872a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 718, - "startColumn": 17, - "charOffset": 25480, - "charLength": 7, - "snippet": { - "text": "string2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 716, - "startColumn": 1, - "charOffset": 25360, - "charLength": 242, - "snippet": { - "text": " var string1 = \"\\\"hello \\\\\\\"world \\\"\";\n var expectString1 = \"\\\"hello \\\"world \\\"\";\n var string2 = \"'that''s it'\";\n var expectString2 = \"'that's it'\";\n var source1 = $\"{string1} {string2}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7f30203b6cc515364c773eeb12369fb9742827ea8ae753e39dcf41bdd41e4a77" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 17, - "charOffset": 1874, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1737, - "charLength": 292, - "snippet": { - "text": " public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;\n var operation = new BinaryOperation(left as Expression, oper, right as Expression);\n return operation;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "82b9bd5116b5da063e9115a3086b766803911b3eedb74e1ad185e4457183e89a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 650, - "startColumn": 24, - "charOffset": 22271, - "charLength": 3, - "snippet": { - "text": "ko2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 648, - "startColumn": 1, - "charOffset": 22142, - "charLength": 238, - "snippet": { - "text": " var parser = parserBuild.Result;\n string ko1 = \"|B|test2(a, b, c=100)|E|\";\n string ko2 = \"|B|plotshape(data, style=shapexcross)|E|\";\n \n var r = parser.Parse(ko1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "97ed5ef8b650a798f6fd182d5e739c98375c35858f259f2bb36e7ea26dab4387" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1354, - "startColumn": 18, - "charOffset": 46728, - "charLength": 6, - "snippet": { - "text": "escape" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1352, - "startColumn": 1, - "charOffset": 46662, - "charLength": 158, - "snippet": { - "text": " private static void EscapeIt()\n {\n char escape = '\\\\';\n char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a188ed37cb213ca0547d51d41941b6cb3a3f102b1b1cabbebb36e1954f91762" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 577, - "startColumn": 20, - "charOffset": 19069, - "charLength": 14, - "snippet": { - "text": "productionRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 575, - "startColumn": 1, - "charOffset": 18992, - "charLength": 294, - "snippet": { - "text": " private static void TestGrammarParser()\n {\n string productionRule = \"clauses : clause (COMMA [D] clause)*\";\n var ruleparser = new RuleParser();\n var builder = new ParserBuilder>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a17e959476483aa93203f64b28179e7a2145d765f95f5727aeb1ba859e216a06" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 17, - "charOffset": 7963, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 7834, - "charLength": 308, - "snippet": { - "text": " var currentPosition = position;\n var errors = new List>();\n var isError = false;\n var children = new List>();\n if (!tokens[position].IsEOS && rule.PossibleLeadingTokens.Any(x => x.Match(tokens[position])))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a1c140c6b53febcefe63533f811852e93afe4aacc449a5280909d9d542cbf51b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1322, - "startColumn": 17, - "charOffset": 45469, - "charLength": 12, - "snippet": { - "text": "startingRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1320, - "startColumn": 1, - "charOffset": 45393, - "charLength": 290, - "snippet": { - "text": " private static void TestShortOperations()\n {\n var startingRule = $\"{nameof(ShortOperationAttributesParser)}_expressions\";\n var parserInstance = new ShortOperationAttributesParser();\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a921c4617a8c25a5d6ce4f54b37ca3074513f198413d82f5df430210574e0366" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 192, - "startColumn": 17, - "charOffset": 5227, - "charLength": 7, - "snippet": { - "text": "program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 190, - "startColumn": 1, - "charOffset": 5184, - "charLength": 81, - "snippet": { - "text": " }\n \n var program = \n@\"# indented factorial\nr:=1" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aca821fb3fb13bc069cc7f1c1f752f4372d6fe5e0bd87f4bcee6894df4eeaa20" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1356, - "startColumn": 17, - "charOffset": 46789, - "charLength": 5, - "snippet": { - "text": "value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1354, - "startColumn": 1, - "charOffset": 46711, - "charLength": 166, - "snippet": { - "text": " char escape = '\\\\';\n char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";\n int i = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aeab3b559b65d53f223b5a25869245f20808e4f5f385b3c16185c6416c308e6b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 234, - "startColumn": 17, - "charOffset": 7694, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 232, - "startColumn": 1, - "charOffset": 7561, - "charLength": 160, - "snippet": { - "text": " public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b36974c40b5aef09c584da85dfb73669311f95961ccb5fd97b5f66f3766ce0c6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 249, - "startColumn": 17, - "charOffset": 8547, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 247, - "startColumn": 1, - "charOffset": 8398, - "charLength": 177, - "snippet": { - "text": " public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc167efe8a85e912ae18dd3b8a9333c679c03acff61585e2e34a8a2e1f9b40a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 703, - "startColumn": 17, - "charOffset": 24865, - "charLength": 12, - "snippet": { - "text": "StartingRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 701, - "startColumn": 1, - "charOffset": 24770, - "charLength": 276, - "snippet": { - "text": " public static void TestAssociativityFactorExpressionParser()\n {\n var StartingRule = $\"{nameof(SimpleExpressionParser)}_expressions\";\n var Parser = BuildParserExpression();\n var r = Parser.Result.Parse(\"1 / 2 / 3\", StartingRule);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb1b845a45940ed2297b337a35e8d4865ed9d14911d1bd13e99cd8a49e41ba40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 17, - "charOffset": 1970, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1826, - "charLength": 299, - "snippet": { - "text": " public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;\n var operation = new BinaryOperation(left as Expression, oper, right as Expression);\n return operation;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccd15d17de8fd0524535e667bde0f6027f1a853ec38d9e3bc39ca5b21958c343" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 716, - "startColumn": 17, - "charOffset": 25376, - "charLength": 7, - "snippet": { - "text": "string1" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 714, - "startColumn": 1, - "charOffset": 25275, - "charLength": 230, - "snippet": { - "text": " Assert.False(lexerRes.IsError);\n var lexer = lexerRes.Result;\n var string1 = \"\\\"hello \\\\\\\"world \\\"\";\n var expectString1 = \"\\\"hello \\\"world \\\"\";\n var string2 = \"'that''s it'\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cdebcab045298e0683ada58495a46095b150547934f2a03c26bdeb68c3ce2e09" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 717, - "startColumn": 17, - "charOffset": 25426, - "charLength": 13, - "snippet": { - "text": "expectString1" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 715, - "startColumn": 1, - "charOffset": 25319, - "charLength": 233, - "snippet": { - "text": " var lexer = lexerRes.Result;\n var string1 = \"\\\"hello \\\\\\\"world \\\"\";\n var expectString1 = \"\\\"hello \\\"world \\\"\";\n var string2 = \"'that''s it'\";\n var expectString2 = \"'that's it'\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce03908d5c7acbf8510776888f3ea65d8712abdbf4c18970d295fe5e4f181d4c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1063, - "startColumn": 17, - "charOffset": 37184, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1061, - "startColumn": 1, - "charOffset": 37154, - "charLength": 77, - "snippet": { - "text": " \n\n var source = @\"hello \n\n{= world =}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d312d233f1dd159614affdec8195f7beb66aecfda0979b856f5cc98e91524bf7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 433, - "startColumn": 17, - "charOffset": 13593, - "charLength": 12, - "snippet": { - "text": "StartingRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 431, - "startColumn": 1, - "charOffset": 13575, - "charLength": 235, - "snippet": { - "text": "\n\n var StartingRule = $\"{nameof(SimpleExpressionParserWithContext)}_expressions\";\n var parserInstance = new SimpleExpressionParserWithContext();\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d54a8247f0f700fcfecb91b56fbec9d0f0b65a85d4af4dd4c856133aa89c0403" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1158, - "startColumn": 20, - "charOffset": 40272, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1156, - "startColumn": 1, - "charOffset": 40059, - "charLength": 320, - "snippet": { - "text": " var buildResult = builder.BuildParser(parserInstance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"block\");//line-based, 1 statement per line.\n var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9440d681c5e9aa75042d48518184f82a0b3705d4391cc80cad013c5423ad963" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 895, - "startColumn": 21, - "charOffset": 31242, - "charLength": 6, - "snippet": { - "text": "source" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 893, - "startColumn": 1, - "charOffset": 31160, - "charLength": 115, - "snippet": { - "text": " {\n var lexer = lexerResult.Result;\n var source = @\"toto \n// commentaire\n1" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9eb23a40e16be193d5ce20bc9db93d168aad0acf20b79e4c26aebd0aa1f70f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 244, - "startColumn": 17, - "charOffset": 8073, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 242, - "startColumn": 1, - "charOffset": 7939, - "charLength": 162, - "snippet": { - "text": " public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed921ed740fb553b728866b6ebf43951ea86435fcd7e2f1aa6a13494bd90c2cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 235, - "startColumn": 17, - "charOffset": 8160, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 233, - "startColumn": 1, - "charOffset": 8020, - "charLength": 167, - "snippet": { - "text": " public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f914fa0ec8ee54df53168fccc675de6d3c52fb19de996081e312b879d61a2f26" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 17, - "charOffset": 1028, - "charLength": 20, - "snippet": { - "text": "currentTokenPosition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 934, - "charLength": 155, - "snippet": { - "text": " var currentTokenLine = 1;\n var currentTokenColumn = 1;\n var currentTokenPosition = 1;\n var currentValue = \"\";\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc4fd8b8c8a7f9b09609f5a256b1f55f9a34c70815d97639ce02e7a1cf26e37e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToConstant.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Convert into constant", - "markdown": "Convert into constant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 239, - "startColumn": 17, - "charOffset": 8138, - "charLength": 4, - "snippet": { - "text": "oper" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 237, - "startColumn": 1, - "charOffset": 7990, - "charLength": 175, - "snippet": { - "text": " public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff71bf5fe43bba4ebac932a6f1469586efafd367caf3c2688c506367d25a28ec" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLambdaExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Use lambda expression", - "markdown": "Use lambda expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 974, - "startColumn": 58, - "charOffset": 37108, - "charLength": 6, - "snippet": { - "text": "return" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 972, - "startColumn": 1, - "charOffset": 36970, - "charLength": 186, - "snippet": { - "text": " Func precond = (int i) =>\n {\n return (ReadOnlyMemory value) => { return value.Length == i + 1; };\n };\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0718901b225a6b3b6621c4eb7943105054bc29ee05c3f6d1a99a18a4ba32d645" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLambdaExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Use lambda expression", - "markdown": "Use lambda expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 17, - "charOffset": 1879, - "charLength": 6, - "snippet": { - "text": "return" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1828, - "charLength": 127, - "snippet": { - "text": " }, () =>\n {\n return null;\n });\n var eBlk = eGrp?.Value(0) as Block;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81b3494f4bf43dae9bd51ee933cc6ff6f6041d1dd8ebd5b00117d7387e5c4304" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLambdaExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Use lambda expression", - "markdown": "Use lambda expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 17, - "charOffset": 1818, - "charLength": 6, - "snippet": { - "text": "return" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1741, - "charLength": 121, - "snippet": { - "text": " var eGrp = elseblk.Match(\n x => {\n return x;\n }, () =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e9b7c8e402809738445abb10259f1b560e4bcec569246490f8cd017a1e99519" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 678, - "startColumn": 40, - "charOffset": 24683, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 676, - "startColumn": 1, - "charOffset": 24590, - "charLength": 169, - "snippet": { - "text": " BuildResult> result)\n {\n NodeCallback callback = match =>\n {\n IN derivedToken = default;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "006d21f4d76eaa1b6b568900c13657b16282d2eebd6e3c932692d569829d00d8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 399, - "startColumn": 40, - "charOffset": 17196, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 397, - "startColumn": 1, - "charOffset": 17117, - "charLength": 185, - "snippet": { - "text": " where IN : struct\n {\n NodeCallback callback = match =>\n {\n match.Properties[GenericLexer.DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0214423dfb4b1f092dd38e93dc310639862fa2f8ab463a6f8202e9e0aa46e9af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 741, - "startColumn": 44, - "charOffset": 26433, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 739, - "startColumn": 1, - "charOffset": 26335, - "charLength": 242, - "snippet": { - "text": " \t\n // callback on end_exponent node \n NodeCallback callback = (FSMMatch match) => \n {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04a526c5635dbe3e6d63e380fa1778a4b3ae1e1b7afe19fee6cf95357a1502be" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 619, - "startColumn": 36, - "charOffset": 22515, - "charLength": 9, - "snippet": { - "text": "checkDate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 617, - "startColumn": 1, - "charOffset": 22372, - "charLength": 256, - "snippet": { - "text": " private void AddDoubleWhenDoubleTokenPresent(IN token, DateFormat format, char separator)\n {\n TransitionPrecondition checkDate = delegate(ReadOnlyMemory value)\n {\n if (format == DateFormat.DDMMYYYY)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1aebe1ae39871fdc5c8a2b51dbd498807f74031ab69528bdbb5efd07eae1e24b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 37, - "charOffset": 776, - "charLength": 12, - "snippet": { - "text": "mayOmmitLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 712, - "charLength": 252, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ff3c6810761c106177a4a787e893581c676ff8633b4e91895a92fcc1ae291ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 516, - "startColumn": 40, - "charOffset": 18957, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 514, - "startColumn": 1, - "charOffset": 18818, - "charLength": 213, - "snippet": { - "text": " public void AddDouble(IN token, string separator, BuildResult> result)\n {\n NodeCallback callback = match =>\n {\n IN derivedToken = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "215651adbe58d1f17a0548ded4fff3875974bbf2a82462abcdceecf11cee5e7e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 414, - "startColumn": 40, - "charOffset": 17792, - "charLength": 13, - "snippet": { - "text": "callbackMulti" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 412, - "startColumn": 1, - "charOffset": 17713, - "charLength": 190, - "snippet": { - "text": " where IN : struct\n {\n NodeCallback callbackMulti = match =>\n {\n match.Properties[GenericLexer.DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "29706cefd8d364a293c763ce48932469c55c04de7bd0c299321b2ce7b75ef2ed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 560, - "startColumn": 36, - "charOffset": 20448, - "charLength": 9, - "snippet": { - "text": "checkDate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 558, - "startColumn": 1, - "charOffset": 20310, - "charLength": 251, - "snippet": { - "text": " private void AddDoubleWhenNoDoubleToken(IN token, DateFormat format, char separator)\n {\n TransitionPrecondition checkDate = delegate(ReadOnlyMemory value)\n {\n if (format == DateFormat.DDMMYYYY)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3620ebe199bb70643c0ace0aab0ecd12284f6272899a26115589876e24794df5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1405, - "startColumn": 40, - "charOffset": 48274, - "charLength": 12, - "snippet": { - "text": "mayOmmitLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1403, - "startColumn": 1, - "charOffset": 48207, - "charLength": 264, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "383b81d540c75f94fb87aaacf43bfdbbe8056ed5ef48e3c197a4923b586344eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1407, - "startColumn": 40, - "charOffset": 48398, - "charLength": 13, - "snippet": { - "text": "mayOmmitRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1405, - "startColumn": 1, - "charOffset": 48235, - "charLength": 266, - "snippet": { - "text": " Func mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3d7252948f698ff8db776ca0c1ca55c1f3c45d2d55756227fd436862c07f415d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 573, - "startColumn": 40, - "charOffset": 20923, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 571, - "startColumn": 1, - "charOffset": 20839, - "charLength": 220, - "snippet": { - "text": " return false;\n };\n NodeCallback callback = delegate(FSMMatch match)\n {\n match.Properties[GenericLexer.DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3dda0591b4b8a660aa7e691fe7dccd09152bbe0419c3e3cfc2cfd1c4b2d95c41" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 996, - "startColumn": 36, - "charOffset": 37899, - "charLength": 11, - "snippet": { - "text": "GetEndLabel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 994, - "startColumn": 1, - "charOffset": 37778, - "charLength": 244, - "snippet": { - "text": " var upToChars0 = exceptions.Select(x => x.First()).Distinct().ToArray();\n\n Func GetEndLabel = (int exception, int exceptionIndex) =>\n {\n if (exception < 0 || exceptionIndex < 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f924aa97fbb9271ff998a2c0d594e60fdaef44c2525f433992c6cc922dc6326" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 972, - "startColumn": 47, - "charOffset": 37016, - "charLength": 7, - "snippet": { - "text": "precond" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 970, - "startColumn": 1, - "charOffset": 36954, - "charLength": 186, - "snippet": { - "text": " };\n\n Func precond = (int i) =>\n {\n return (ReadOnlyMemory value) => { return value.Length == i + 1; };" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61a8bb201cfe3f20ec041640bb7250419dd3e77eb1f0ec96b0fc05f9816504f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 965, - "startColumn": 40, - "charOffset": 36769, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 963, - "startColumn": 1, - "charOffset": 36715, - "charLength": 143, - "snippet": { - "text": " }\n\n NodeCallback callback = match =>\n {\n match.Properties[DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bd277788af01afb2d34558ce0542f715ce6d531ac2151860a2927d037929e22" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 42, - "charOffset": 5129, - "charLength": 4, - "snippet": { - "text": "post" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 5009, - "charLength": 159, - "snippet": { - "text": " {\n var labels = result.Result.LexemeLabels;\n LexerPostProcess post = tokens =>\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b2599191c4874ca9c58f4e53cfd8caeba33be10fc5a4da71d364d6e7b68596b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 986, - "startColumn": 40, - "charOffset": 37605, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 984, - "startColumn": 1, - "charOffset": 37517, - "charLength": 177, - "snippet": { - "text": " bool isLineEnding = false)\n {\n NodeCallback callback = match =>\n {\n match.Properties[DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "acb5ab7c6d28ca973ce0a569dde47bb5f09b39d46d08b8ce1b83dcbe128e3890" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 47, - "charOffset": 1407, - "charLength": 8, - "snippet": { - "text": "NewToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1327, - "charLength": 163, - "snippet": { - "text": " int tokenLength = 0;\n\n Func> NewToken = tok =>\n {\n var token = new Token();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ada0b504feca978f365d1c33175ee0181b059fde9e2570604d2c321ea47fcb8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 37, - "charOffset": 894, - "charLength": 13, - "snippet": { - "text": "mayOmmitRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 740, - "charLength": 254, - "snippet": { - "text": " Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d71308411b6d5a64513daad440d6a3381421c63eec577ed07f6f404553b386cd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ConvertToLocalFunction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use local function", - "markdown": "Use local function" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 634, - "startColumn": 40, - "charOffset": 23129, - "charLength": 8, - "snippet": { - "text": "callback" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 632, - "startColumn": 1, - "charOffset": 23045, - "charLength": 220, - "snippet": { - "text": " return false;\n };\n NodeCallback callback = delegate(FSMMatch match)\n {\n match.Properties[GenericLexer.DerivedToken] = token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e04e42dc5a22320d203a4d23030090e726f650a9e749cd09b614a6fc7f716941" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty constructor is redundant. The compiler generates the same by default.", - "markdown": "Empty constructor is redundant. The compiler generates the same by default." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 16, - "charOffset": 205, - "charLength": 20, - "snippet": { - "text": "LeftRecursionChecker" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 120, - "charLength": 130, - "snippet": { - "text": " public class LeftRecursionChecker where IN : struct\n {\n public LeftRecursionChecker()\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c613981e8287b3151f9941d93228a55503d58b1e8d21707f5ef0cb33968e49f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty constructor is redundant. The compiler generates the same by default.", - "markdown": "Empty constructor is redundant. The compiler generates the same by default." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/EmptyLine.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 16, - "charOffset": 128, - "charLength": 9, - "snippet": { - "text": "EmptyLine" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 60, - "charLength": 99, - "snippet": { - "text": " \n public string Comment { get; set; }\n public EmptyLine()\n {\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b2581599940f1a28d27204034081646787213d3ecda2a89c9b67baa2b0822c94" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyRegion", - "kind": "fail", - "level": "note", - "message": { - "text": "This region is empty", - "markdown": "This region is empty" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 9, - "charOffset": 551, - "charLength": 38, - "snippet": { - "text": "#region pi\n \n #endregion" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 525, - "charLength": 82, - "snippet": { - "text": " \n \n #region pi\n \n #endregion\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cacce5e0a7745656d66f6835c390655fbad5ee4ca2130b053caed5b0640558ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1387, - "startColumn": 17, - "charOffset": 47680, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1385, - "startColumn": 1, - "charOffset": 47633, - "charLength": 63, - "snippet": { - "text": " else\n {\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "198cbc7d74fcbb3a69660f935e8a665edc6a497bd057fb0f624616449c80da6d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 639, - "startColumn": 33, - "charOffset": 28038, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 637, - "startColumn": 1, - "charOffset": 27837, - "charLength": 265, - "snippet": { - "text": " lexer.AddKeyWord(default(IN), explicitToken, false, false,\n ModeAttribute.DefaultLexerMode, resultx);\n ;\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3624ea30d44e0482668f0963ec1e5b832194a4b8281c358039e98916090ac273" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 185, - "startColumn": 17, - "charOffset": 5298, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 183, - "startColumn": 1, - "charOffset": 5227, - "charLength": 87, - "snippet": { - "text": " {\n return new List();\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38981f30d76755b7cc6d63ba42cfd90eb9ac20b6f902a188af9edf8be283075d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 478, - "startColumn": 21, - "charOffset": 18342, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 476, - "startColumn": 1, - "charOffset": 18267, - "charLength": 95, - "snippet": { - "text": " if (visitor == null)\n {\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b96d624b0ab3e883da8130d6a90d473f9816f4f59eb3ac5fc51d1f3b0866156" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 807, - "startColumn": 17, - "charOffset": 28924, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 805, - "startColumn": 1, - "charOffset": 28793, - "charLength": 160, - "snippet": { - "text": " Console.WriteLine(\"KO\");\n t.Errors.ForEach(x => Console.WriteLine(x.ErrorMessage));\n ;\n }\n ;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4240da3872cf8f615798758ad02be0ab17a6f6d5c95a41ac9d235171445520b8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 775, - "startColumn": 17, - "charOffset": 28033, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 773, - "startColumn": 1, - "charOffset": 27946, - "charLength": 163, - "snippet": { - "text": " {\n var one = lex.Result.Tokenize(\"2.0E+2\");\n ;\n var two = lex.Result.Tokenize(\"4.0e-2\");\n ;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "55495a3590d7578c5c472a758449fd952bed4700bbab3e09337043e70091c194" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 809, - "startColumn": 13, - "charOffset": 28952, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 807, - "startColumn": 1, - "charOffset": 28908, - "charLength": 56, - "snippet": { - "text": " ;\n }\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7abb309404323002504948872cff9615f449d0361f543df9c0b1611c7d38ec3e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 276, - "startColumn": 25, - "charOffset": 7982, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 274, - "startColumn": 1, - "charOffset": 7896, - "charLength": 129, - "snippet": { - "text": " catch (Exception e)\n {\n ;\n }\n });" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7df8c27f58c7ee60b5514458e0447cd4de43b32c5dac0345ce98050f46bdaa9a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1317, - "startColumn": 13, - "charOffset": 45380, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1315, - "startColumn": 1, - "charOffset": 45336, - "charLength": 56, - "snippet": { - "text": " }\n }\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e6168d324a36229d1c7fcfe9c9325896460a9716b78bf0f1352b6fce7495eee" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1372, - "startColumn": 13, - "charOffset": 47158, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1370, - "startColumn": 1, - "charOffset": 47131, - "charLength": 39, - "snippet": { - "text": " }\n\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7f1f76ed19e10eb27293b6d88285a3cfd6a5c1a02ed99ae719aeaf4567923752" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1336, - "startColumn": 13, - "charOffset": 46157, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1334, - "startColumn": 1, - "charOffset": 46099, - "charLength": 70, - "snippet": { - "text": " {\n Issue239Tests.TestOk();\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b66e0200cf9eebe79a0c49099cc4418845bf32813adcb9319fea54a618fb8bc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 801, - "startColumn": 17, - "charOffset": 28746, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 799, - "startColumn": 1, - "charOffset": 28675, - "charLength": 103, - "snippet": { - "text": " {\n Console.WriteLine(\"OK\");\n ;\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2f25c10b9e4add0bddcf7879c18b5967d2402b0aec4a93b19be70697d6dc249" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1390, - "startColumn": 13, - "charOffset": 47709, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1388, - "startColumn": 1, - "charOffset": 47682, - "charLength": 47, - "snippet": { - "text": " }\n\n ;\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5357b3dcd765f48aed2c8b9c05207ef66433c3c2906de9acf32d61133396fc1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 707, - "startColumn": 13, - "charOffset": 25116, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 705, - "startColumn": 1, - "charOffset": 24979, - "charLength": 149, - "snippet": { - "text": " var r = Parser.Result.Parse(\"1 / 2 / 3\", StartingRule);\n Console.WriteLine($\"{r.IsOk} : {r.Result}\");\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c54a3055ff2df9406d9a116dd80888c0325eeee9f7d613ca1fbc4685731a1134" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 777, - "startColumn": 17, - "charOffset": 28108, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 775, - "startColumn": 1, - "charOffset": 28017, - "charLength": 116, - "snippet": { - "text": " ;\n var two = lex.Result.Tokenize(\"4.0e-2\");\n ;\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca0d75a00dd662a338132af230a6792eea9cf2fbfb3a18f4d2a5adab71262855" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 129, - "startColumn": 21, - "charOffset": 4763, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 127, - "startColumn": 1, - "charOffset": 4704, - "charLength": 92, - "snippet": { - "text": " else\n {\n ;\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc394964dc257d14208fe5a8009c551cb35cc9d21cb1da0aef2fcc48e25c8c4f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 923, - "startColumn": 17, - "charOffset": 32138, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 921, - "startColumn": 1, - "charOffset": 32104, - "charLength": 62, - "snippet": { - "text": "\n \n ;\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e52f3a5457b4b3f1e70ffd403e12171b4d9053b4bdf1eaf6cedc4eef292f1c64" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 689, - "startColumn": 13, - "charOffset": 24309, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 687, - "startColumn": 1, - "charOffset": 24065, - "charLength": 256, - "snippet": { - "text": " eee = I18N.Instance.GetText( CultureInfo.CurrentCulture.TwoLetterISOLanguageName, I18NMessage.UnexpectedTokenExpecting,\"xxx\",\"SOME_TOKEN\",\"OTHER_TOKEN1, OTHER_TOKEN2, OTHER_TOKEN_3\");\n Console.WriteLine(eee);\n ;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e83e16ebdd0097457a7cc497c82c239f68c8fc19b9b084ca0e27abcd5e3db845" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 586, - "startColumn": 13, - "charOffset": 19826, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 584, - "startColumn": 1, - "charOffset": 19651, - "charLength": 232, - "snippet": { - "text": " result = grammarParser.Parse(productionRule);\n Console.WriteLine($\"alors ? {string.Join('\\n',result.Errors.Select(e => e.ErrorMessage))}\");\n ;\n \n Console.WriteLine(\"starting\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eed1dd340cbd7648948445ff0f0c6dc16e90373408c1243231489b199dd05724" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "EmptyStatement", - "kind": "fail", - "level": "warning", - "message": { - "text": "Empty statement is redundant", - "markdown": "Empty statement is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 415, - "startColumn": 21, - "charOffset": 14628, - "charLength": 1, - "snippet": { - "text": ";" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 413, - "startColumn": 1, - "charOffset": 14585, - "charLength": 95, - "snippet": { - "text": " }\n\n ;\n return null;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fefb16c0473025c7399943852c1863579db9e23e458f443cc8436c0f830ab4ab" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ExpressionIsAlwaysNull", - "kind": "fail", - "level": "warning", - "message": { - "text": "Expression is always null", - "markdown": "Expression is always null" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 340, - "startColumn": 64, - "charOffset": 16089, - "charLength": 36, - "snippet": { - "text": "innerClause as NonTerminalClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 338, - "startColumn": 1, - "charOffset": 15928, - "charLength": 348, - "snippet": { - "text": " case GroupClause _:\n manyNode.IsManyGroups = true;\n innerResult = ParseNonTerminal(tokens, innerClause as NonTerminalClause, currentPosition, parsingContext);\n hasByPasNodes = hasByPasNodes || innerResult.HasByPassNodes;\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "171c1266f27d7428f7b42ab9a9e43996be179d50684c0e90d2d7ec13926a4341" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 47, - "charOffset": 1357, - "charLength": 9, - "snippet": { - "text": "variables" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1269, - "charLength": 135, - "snippet": { - "text": " public class InterpreterContext\n {\n public Dictionary variables;\n\n public InterpreterContext()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "00dc3af78518bcb9247cd61288718f829a697ae5d854d4cb0053322c307f19b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 21, - "charOffset": 599, - "charLength": 13, - "snippet": { - "text": "CharDelimiter" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 514, - "charLength": 158, - "snippet": { - "text": " public char DecimalSeparator = '.';\n [JsonIgnore]\n public char CharDelimiter ='\\'';\n [JsonIgnore]\n public bool Notignored;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07c1b01891ac522ce19e3017b88ff2f51f0f2ee413036e1eed5b09f60f622be6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 28, - "charOffset": 205, - "charLength": 6, - "snippet": { - "text": "scopes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 143, - "charLength": 136, - "snippet": { - "text": " public Scope ParentScope;\n\n public List scopes;\n\n private readonly Dictionary variables;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f147929bf45d74d8e7442f749ce6aefb8be41263c049de650a3bd12e8e9524c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Signature.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 26, - "charOffset": 135, - "charLength": 6, - "snippet": { - "text": "Result" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 63, - "charLength": 122, - "snippet": { - "text": " {\n private readonly WhileType Left;\n public WhileType Result;\n private readonly WhileType Right;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1150f1e3bf7bc21e30990c0031887fba0e6138cdd6b5f218a409bd55468cf3ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 55, - "charOffset": 298, - "charLength": 11, - "snippet": { - "text": "ItemsByName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 196, - "charLength": 138, - "snippet": { - "text": " public List> Items;\n\n public Dictionary> ItemsByName;\n\n public Group()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "25164be0f38214601b24b44d9a755e76bd7ccf93451c4c6983d51b8222a032b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 41, - "charOffset": 236, - "charLength": 5, - "snippet": { - "text": "Items" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 140, - "charLength": 170, - "snippet": { - "text": " public class Group where IN : struct\n {\n public List> Items;\n\n public Dictionary> ItemsByName;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33ada0be93edbdb2aad9285a620d1f21087035fff8505ce773d13b9108b765be" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 20, - "charOffset": 355, - "charLength": 7, - "snippet": { - "text": "Channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 294, - "charLength": 174, - "snippet": { - "text": " public bool DoNotIgnore = false;\n\n public int Channel = 1;\n\n public CommentAttribute(string singleLineStart, string multiLineStart, string multiLineEnd," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5970b2415408f5cc45ae63935b92ae9532901a53fb942ec6ad7344fc35ba0b2e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 20, - "charOffset": 138, - "charLength": 2, - "snippet": { - "text": "Id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 90, - "charLength": 86, - "snippet": { - "text": " public class Scope\n {\n public int Id;\n\n public Scope ParentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6369b028953ffe77f59bf2d4611d2a2942a5e2151894c52ebc1a5e3ecaea4627" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMTransition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 20, - "charOffset": 168, - "charLength": 8, - "snippet": { - "text": "FromNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 112, - "charLength": 93, - "snippet": { - "text": " public class FSMTransition\n {\n public int FromNode;\n\n public int ToNode;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a4bb3e2e1c06237f0ad7991260c06eca5fb78aca7311d7c7dad214006f63477" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 23, - "charOffset": 269, - "charLength": 22, - "snippet": { - "text": "SingleLineCommentStart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 201, - "charLength": 133, - "snippet": { - "text": " public string MultiLineCommentStart;\n\n public string SingleLineCommentStart;\n\n public bool DoNotIgnore = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b82f7263caf62a0527a5a7b77f99f04d52f1115f1cb9dbda3ebdfa5cd76aef5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 23, - "charOffset": 179, - "charLength": 19, - "snippet": { - "text": "MultiLineCommentEnd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 105, - "charLength": 140, - "snippet": { - "text": " public class CommentAttribute : Attribute\n {\n public string MultiLineCommentEnd;\n\n public string MultiLineCommentStart;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "838577d52bcb6c05a46dae78d84a324cfa0bb32031c73eeebcb126dea71ad4fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMTransition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 20, - "charOffset": 198, - "charLength": 6, - "snippet": { - "text": "ToNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 149, - "charLength": 137, - "snippet": { - "text": " public int FromNode;\n\n public int ToNode;\n\n internal FSMTransition(AbstractTransitionCheck check, int from, int to)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "843794be89ccb39bea1f963b7983ed341fb7cf084718c99c06675c2792f6d471" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 23, - "charOffset": 183, - "charLength": 4, - "snippet": { - "text": "Name" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 101, - "charLength": 89, - "snippet": { - "text": " public class GroupItem where IN : struct\n {\n public string Name;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8686d064a395b829dba67b80effd50ef2019cd07f26b01b8b127216d3d86e538" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 22, - "charOffset": 164, - "charLength": 11, - "snippet": { - "text": "ParentScope" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 119, - "charLength": 93, - "snippet": { - "text": " public int Id;\n\n public Scope ParentScope;\n\n public List scopes;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9531429789a0c4df65ab13af90543fee5dab71e1e620498deaefb3886485f90b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 223, - "charLength": 21, - "snippet": { - "text": "MultiLineCommentStart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 157, - "charLength": 135, - "snippet": { - "text": " public string MultiLineCommentEnd;\n\n public string MultiLineCommentStart;\n\n public string SingleLineCommentStart;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa130cfd86e677ab44d9951fd68f3e6d4d253b797ba48cebc9fbd21bc461e04d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 20, - "charOffset": 471, - "charLength": 9, - "snippet": { - "text": "ChannelId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 338, - "charLength": 186, - "snippet": { - "text": " public List> NotNullOrEosTokens => Tokens.Where(x => x != null && !x.IsEOS).ToList(); \n \n public int ChannelId;\n public int Count => Tokens.Count;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc764b3a951361f60bc4a30b76788ada5756ac2c38d06a2341a7fe6fe770c10d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 21, - "charOffset": 314, - "charLength": 11, - "snippet": { - "text": "DoNotIgnore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 247, - "charLength": 120, - "snippet": { - "text": " public string SingleLineCommentStart;\n\n public bool DoNotIgnore = false;\n\n public int Channel = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f3e7a5f8ebb00e1db2d8f2ca3a3ffabc19644cb582ab837cecab52c52bad782f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 62, - "charOffset": 3633, - "charLength": 9, - "snippet": { - "text": "CallBacks" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3570, - "charLength": 137, - "snippet": { - "text": "\n\n protected Dictionary, Token>> CallBacks =\n new Dictionary, Token>>();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb59c983ec50c8b8173d674255dc95674502a3c5eadcf70d21ed17129f883ebc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 193, - "startColumn": 26, - "charOffset": 5367, - "charLength": 6, - "snippet": { - "text": "Result" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 191, - "startColumn": 1, - "charOffset": 5295, - "charLength": 122, - "snippet": { - "text": " {\n private readonly WhileType Left;\n public WhileType Result;\n private readonly WhileType Right;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fcd4126265c3229e9eca50c9ae29143114032b1acda3ffbc7e8daf5d9bfe4999" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 106, - "startColumn": 33, - "charOffset": 2611, - "charLength": 19, - "snippet": { - "text": "ExpectedIndentation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 104, - "startColumn": 1, - "charOffset": 2488, - "charLength": 279, - "snippet": { - "text": " public sealed class IndentTerminalClause : TerminalClause where T : struct\n {\n private IndentationType ExpectedIndentation;\n \n public IndentTerminalClause(IndentationType expectedIndentation, bool discard) : base(new LeadingToken(default(T)))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c2bd95b99709c772ccbf8bf359015f71a1b4d4117d4a93751eb5d58825cf259" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 24, - "charOffset": 447, - "charLength": 4, - "snippet": { - "text": "I18n" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 413, - "charLength": 97, - "snippet": { - "text": " }\n\n private string I18n;\n \n public char UnexpectedChar { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36a86234db0865bdc3da23d4a2f77724b5c2682a7bbbd05e478a3b1f9914605a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 31, - "charOffset": 268, - "charLength": 5, - "snippet": { - "text": "nodes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 155, - "charLength": 166, - "snippet": { - "text": " private readonly string GraphName;\n private readonly bool Directed;\n private List nodes;\n private List edges;\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c9c670f5abc0e9542649597d665d1c86125439f0ec1221e0c41cb22fa84e396" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 32, - "charOffset": 306, - "charLength": 5, - "snippet": { - "text": "edges" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 198, - "charLength": 180, - "snippet": { - "text": " private readonly bool Directed;\n private List nodes;\n private List edges;\n \n public DotGraph(string graphName, bool directed)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bdd91312243a668add45e84298b3d42c50ec3e9e31167a25bff22fcefc60a5a5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "FieldCanBeMadeReadOnly.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Field can be made readonly", - "markdown": "Field can be made readonly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 42, - "charOffset": 299, - "charLength": 6, - "snippet": { - "text": "ranges" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 213, - "charLength": 170, - "snippet": { - "text": "// private readonly char RangeStart;\n\n private (char start, char end)[] ranges;\n\n public TransitionMultiRange(params (char start, char end)[] ranges)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bddedd756ca372eaa28208015e67dc8a233f1d380cbf4d2ac7e8759752c4b58e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForCanBeConvertedToForeach", - "kind": "fail", - "level": "note", - "message": { - "text": "For-loop can be converted into foreach-loop", - "markdown": "For-loop can be converted into foreach-loop" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 427, - "startColumn": 17, - "charOffset": 14948, - "charLength": 3, - "snippet": { - "text": "for" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 425, - "startColumn": 1, - "charOffset": 14831, - "charLength": 231, - "snippet": { - "text": " if (from != null && Transitions.TryGetValue(from.Id, out var transitions))\n {\n for (var i = 0; i < transitions.Count; ++i)\n {\n var transition = transitions[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b429c44934d400841a891fc54af7625084b6fa8e8bec7d9d053a5f2bbcdfc37" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForCanBeConvertedToForeach", - "kind": "fail", - "level": "note", - "message": { - "text": "For-loop can be converted into foreach-loop", - "markdown": "For-loop can be converted into foreach-loop" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 13, - "charOffset": 3136, - "charLength": 3, - "snippet": { - "text": "for" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 3031, - "charLength": 196, - "snippet": { - "text": " var position = 0;\n var tokensWithoutComments = new List>();\n for (var i = 0; i < tokens.Count; i++)\n {\n var token = tokens[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "997a398b6ad3edf5b0fb820c718d8e5b527274e782bd72746a27154f30c4d5dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 97, - "startColumn": 13, - "charOffset": 2796, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 95, - "startColumn": 1, - "charOffset": 2739, - "charLength": 141, - "snippet": { - "text": " var children = new List();\n\n foreach (var n in manyNode.Children)\n {\n var v = Visit(n);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4aaac745a779d3f2ea94393052b3ee26a532ece5c3b23be2226677e257613d05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 458, - "startColumn": 13, - "charOffset": 17776, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 456, - "startColumn": 1, - "charOffset": 17713, - "charLength": 153, - "snippet": { - "text": " NonTerminal nonTerminal)\n {\n foreach (var rule in nonTerminal.Rules)\n {\n if (!rule.IsSubRule)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e942f8b0c853d9f3bd9dd87fd7c3f009714249597f87fda5d4e7fb314ea1d79" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 13, - "charOffset": 1603, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1488, - "charLength": 229, - "snippet": { - "text": " public Emit> EmitByteCode(CompilerContext context, Emit> emiter)\n {\n foreach (var stmt in Statements) emiter = stmt.EmitByteCode(context, emiter);\n return emiter;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f8e067662911e8482643a27bfa381b393663eda0b46167bc496e9b93f9b0632" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 13, - "charOffset": 6162, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 6082, - "charLength": 169, - "snippet": { - "text": "\n var values = new List>();\n foreach (var n in node.Children)\n {\n var v = Visit(n, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "80602be4afc9b7893ab32a09d2ba52da3729f63a1171a8f2e37ac2840dd666d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 13, - "charOffset": 2400, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2343, - "charLength": 137, - "snippet": { - "text": " var children = new List();\n\n foreach (var n in node.Children)\n {\n var v = Visit(n);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8810aef31bf15d26d5c17676cf3ce2998e0c476600fb1ceba35d6fdc3fb93572" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxTreeCleaner.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 21, - "charOffset": 811, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 706, - "charLength": 283, - "snippet": { - "text": " {\n var newChildren = new List>();\n foreach (var child in many.Children) newChildren.Add(SetAssociativity(child));\n many.Children.Clear();\n many.Children.AddRange(newChildren);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c9d1cf720f6df43bb39c500f34470b48b1966a631376e36b2cf4d6cd621468e7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxTreeCleaner.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 1413, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1234, - "charLength": 357, - "snippet": { - "text": " if (NeedLeftAssociativity(node)) node = ProcessLeftAssociativity(node);\n var newChildren = new List>();\n foreach (var child in node.Children) newChildren.Add(SetAssociativity(child));\n node.Children.Clear();\n node.Children.AddRange(newChildren);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbca40e05f92acb06ae5318a2f5cf7d7cd3876a46d3db06734263ad04860c5d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 306, - "startColumn": 17, - "charOffset": 11168, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 304, - "startColumn": 1, - "charOffset": 11093, - "charLength": 247, - "snippet": { - "text": "\n if (result.Result != null && !result.IsError)\n foreach (var checker in checkers)\n if (checker != null)\n result.Result.Configuration.NonTerminals.Values.ToList>()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0eac912e629cceca8d77d5701938bc94231eeba5deffd3a671b72427fa76c5ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 13, - "charOffset": 1538, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1486, - "charLength": 193, - "snippet": { - "text": " var matchingRuleCount = 0;\n\n foreach (var rule in nt.Rules)\n {\n if (!tokens[0].IsEOS && rule.PossibleLeadingTokens.Any(x => x.Match(tokens[0])))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "12aaf2994c0542865ab215e652029727da0e226b519f9fa308874d16641a3a83" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 13, - "charOffset": 4624, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 4554, - "charLength": 161, - "snippet": { - "text": "\n InitStartingTokensForNonTerminal(nts, root);\n foreach (var nt in nts.Values)\n {\n foreach (var rule in nt.Rules)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a79f6c90a6331b2a35dcf84dc1e53b996647cf21f807eabcd345478d6265bda" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 13, - "charOffset": 1724, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1592, - "charLength": 210, - "snippet": { - "text": " StringBuilder builder = new StringBuilder();\n builder.Append(\"#\").Append(ChannelId).Append(\" \");\n foreach (var token in Tokens)\n {\n if (token != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5259f44115f95f76ade06b3185f0d201c3d4bfc565ed95168323b34b837c4000" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 17, - "charOffset": 11771, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 11686, - "charLength": 253, - "snippet": { - "text": " if (nonTerminal.Name != conf.StartingRule)\n {\n foreach (var nt in result.Result.Configuration.NonTerminals.Values.ToList>())\n if (nt.Name != nonTerminal.Name)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c04e20db9b21a7efa101ca6d90ddb3b651f5f432ba06d7484ad552d91c2e1a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 879, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 778, - "charLength": 219, - "snippet": { - "text": " {\n List> clauses = new List>();\n foreach (var nonTerminal in NonTerminals.Values)\n {\n foreach (var rule in nonTerminal.Rules)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7699637d7e564cc7450512c291f026fe231f1d2a70fd4439acf03a092f59753" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 179, - "startColumn": 17, - "charOffset": 5582, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 177, - "startColumn": 1, - "charOffset": 5492, - "charLength": 186, - "snippet": { - "text": " var args = new List();\n var i = 0;\n foreach (var n in node.Children)\n {\n var v = Visit(n,context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5cf3c269127be241a98e552eb94e42afda27038c6d3b0f44c27aab7606cad18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 17, - "charOffset": 4685, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 4612, - "charLength": 222, - "snippet": { - "text": " foreach (var nt in nts.Values)\n {\n foreach (var rule in nt.Rules)\n {\n if (rule.PossibleLeadingTokens == null || rule.PossibleLeadingTokens.Count == 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da2c4c6cddccd8328bd0fde250ec0566184aafc6b12782807109f131ac86f85c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", - "kind": "fail", - "level": "note", - "message": { - "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", - "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 17, - "charOffset": 958, - "charLength": 7, - "snippet": { - "text": "foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 867, - "charLength": 205, - "snippet": { - "text": " foreach (var nonTerminal in NonTerminals.Values)\n {\n foreach (var rule in nonTerminal.Rules)\n {\n foreach (var clause in rule.Clauses)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc1e0360e89bdd0e68c008b3dd33b6da858d0c04aa4e150a417f7e53da575de5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "HeuristicUnreachableCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Code is heuristically unreachable", - "markdown": "Code is heuristically unreachable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 672, - "charLength": 42, - "snippet": { - "text": "{\n return -i;\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 576, - "charLength": 161, - "snippet": { - "text": " object value = Value.GetValue(context);\n if (value is int i)\n {\n return -i;\n }\n\n return 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6314e3040fbfb6f7f5bf3b43bc6557275f69c3ec7c079a921787660525a1bd2d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "HeuristicUnreachableCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Code is heuristically unreachable", - "markdown": "Code is heuristically unreachable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 712, - "charLength": 42, - "snippet": { - "text": "{\n return !b;\n }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 615, - "charLength": 166, - "snippet": { - "text": " object value = Value.GetValue(context);\n if (value is bool b)\n {\n return !b;\n }\n\n return false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff1b7736a33af0d641f416964f63ab33b3f254fce9139bd0b75c6f73937851b4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 30, - "charOffset": 1626, - "charLength": 7, - "snippet": { - "text": "channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1547, - "charLength": 161, - "snippet": { - "text": " {\n token.TokenChannels = this;\n TokenChannel channel = null;\n if (!TryGet(token.Channel, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "075f81104f5e06ccc053a97cb340a6ab647ff27c33ced5fd0c92e43c1e5989a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 24, - "charOffset": 7110, - "charLength": 6, - "snippet": { - "text": "result" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 6963, - "charLength": 278, - "snippet": { - "text": " var val = Value.Replace(DecimalSeparator, '.');\n var culture = CultureInfo.InvariantCulture;\n double result = 0.0;\n double.TryParse(val, NumberStyles.Any, CultureInfo.InvariantCulture,\n out result);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a8935e4da1765fcdb2ced930809eadb411848eb649f60fdfaf772eefc879fd0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 744, - "startColumn": 28, - "charOffset": 26605, - "charLength": 5, - "snippet": { - "text": "radix" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 742, - "startColumn": 1, - "charOffset": 26479, - "charLength": 252, - "snippet": { - "text": " {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});\n double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);\n double exponent = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f547eb1c4cf479365c0ece4446cbd7708077e0d3f8b636272c6d7cb723f60e8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 29, - "charOffset": 3562, - "charLength": 7, - "snippet": { - "text": "channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 3464, - "charLength": 189, - "snippet": { - "text": " public List> PreviousTokens(int channelId)\n {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e2550f22e5117e9d642f3c55045cdbf30273ea6b4d8f58087a78960070bc544" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 20, - "charOffset": 1110, - "charLength": 7, - "snippet": { - "text": "pattern" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1076, - "charLength": 122, - "snippet": { - "text": " }\n\n string pattern = null;\n if (translation.TryGetValue(key, out pattern))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ef072380942fe9ec8282904132a49123b1fc79492b13708c3460bc26af5f6c6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 29, - "charOffset": 2180, - "charLength": 7, - "snippet": { - "text": "channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2086, - "charLength": 185, - "snippet": { - "text": " public List> NextTokens(int channelId)\n {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f4f934cb63bc8e1752ae8ed259b6781844c9f908f46bdf878094db0ab60f570" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 20, - "charOffset": 527, - "charLength": 5, - "snippet": { - "text": "value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 431, - "charLength": 175, - "snippet": { - "text": " public object Evaluate(Dictionary context)\n {\n object value = \"\";\n if (context.TryGetValue(Name, out value))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98ccfea3a3d5fea52aacd1e2f84e448dac734b811ae3775b37a0af9aa860cb17" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 20, - "charOffset": 367, - "charLength": 5, - "snippet": { - "text": "value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 271, - "charLength": 183, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n object value = \"\";\n if (context.TryGetValue(VariableName, out value))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c0ef911437435b44968e638f864185b3aa0f9e04cedbae77d9a4ec64e258f2b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 29, - "charOffset": 4498, - "charLength": 7, - "snippet": { - "text": "channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 4412, - "charLength": 177, - "snippet": { - "text": " public Token Previous(int channelId)\n {\n TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c17c9f0681dd1af0b04779948205c8bd5c4bf8e86f9943288fa15cc01473440c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 521, - "startColumn": 17, - "charOffset": 17268, - "charLength": 6, - "snippet": { - "text": "toNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 519, - "startColumn": 1, - "charOffset": 17154, - "charLength": 199, - "snippet": { - "text": " public FSMLexerBuilder TransitionToAndMark(char[] inputs, string toNodeMark)\n {\n int toNode = -1;\n if (Marks.TryGetValue(toNodeMark, out toNode))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c639b40c8f3383827a3b74d0ecd0e3de302b7ae74f6adfba34d424cf642e30b2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 746, - "startColumn": 28, - "charOffset": 26718, - "charLength": 8, - "snippet": { - "text": "exponent" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 744, - "startColumn": 1, - "charOffset": 26578, - "charLength": 275, - "snippet": { - "text": " double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);\n double exponent = 0;\n double.TryParse(items[1],out exponent);\n double value = Math.Pow(radix, exponent);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ced1bcee167c87b45d2743694323b3164e7737f356f8574e81bd8edd1bf49792" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 29, - "charOffset": 3124, - "charLength": 7, - "snippet": { - "text": "channel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 3042, - "charLength": 173, - "snippet": { - "text": " public Token Next(int channelId)\n {\n TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d1fb0c3406ffdd7633c5d0447ef0ef892e9cbe134b7702f48d6b84b75c4c8099" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 32, - "charOffset": 395, - "charLength": 6, - "snippet": { - "text": "values" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 240, - "charLength": 227, - "snippet": { - "text": " public static void AddToKey(this IDictionary> dic, K key, K2 k2, V value)\n {\n IDictionary values;\n if (!dic.TryGetValue(key, out values))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1c1a0ce52595240198d637315c1252a0085c0719953d7cf9cebd98e0a6e144b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineOutVariableDeclaration", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline 'out' variable declaration", - "markdown": "Inline 'out' variable declaration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 20, - "charOffset": 687, - "charLength": 4, - "snippet": { - "text": "list" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 601, - "charLength": 203, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n object list = null;\n if (context.TryGetValue(ListName, out list) && list is IEnumerable enumerable)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbdae66a5d18a97b3c3ba59bbfa46cabb34f0230585eae89b1e21ff43cc5a4ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InlineTemporaryVariable", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline temporary variable", - "markdown": "Inline temporary variable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 562, - "startColumn": 17, - "charOffset": 25953, - "charLength": 15, - "snippet": { - "text": "currentPosition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 560, - "startColumn": 1, - "charOffset": 25887, - "charLength": 163, - "snippet": { - "text": " return parseResult;\n }\n var currentPosition = position;\n\n SyntaxParseResult result = new SyntaxParseResult" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c10bf2a24f9cfe5233461034dc49801728a98d85edd1cdd11c0ba643a0b8ca4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineTemporaryVariable", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline temporary variable", - "markdown": "Inline temporary variable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 25, - "charOffset": 2653, - "charLength": 4, - "snippet": { - "text": "many" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 2562, - "charLength": 211, - "snippet": { - "text": " case OneOrMoreClause clause:\n {\n var many = clause;\n InitStartingTokensWithOneOrMore(rule, many, nonTerminals);\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15619cf447b09b39dde452cce59ce5cc814d2913d1ff0e73374be4623e439fd7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineTemporaryVariable", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline temporary variable", - "markdown": "Inline temporary variable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 518, - "startColumn": 20, - "charOffset": 19010, - "charLength": 12, - "snippet": { - "text": "derivedToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 516, - "startColumn": 1, - "charOffset": 18918, - "charLength": 115, - "snippet": { - "text": " NodeCallback callback = match =>\n {\n IN derivedToken = token;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "254284fabb40544d11f8b7e1df401f825cf9f7ae7bd88fb39b36ef5c31a319fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineTemporaryVariable", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline temporary variable", - "markdown": "Inline temporary variable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 718, - "startColumn": 17, - "charOffset": 26205, - "charLength": 5, - "snippet": { - "text": "value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 716, - "startColumn": 1, - "charOffset": 26133, - "charLength": 149, - "snippet": { - "text": " ReadOnlyMemory stringValue)\n {\n var value = stringValue;\n string newValue = \"\";\n int i = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5308d6c2aebf2a622fc0e461f0ebe8a344bbb8f837d7d49285ccdcf989267434" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InlineTemporaryVariable", - "kind": "fail", - "level": "note", - "message": { - "text": "Inline temporary variable", - "markdown": "Inline temporary variable" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 476, - "startColumn": 17, - "charOffset": 22189, - "charLength": 15, - "snippet": { - "text": "currentPosition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 474, - "startColumn": 1, - "charOffset": 22105, - "charLength": 157, - "snippet": { - "text": " }\n var result = new SyntaxParseResult();\n var currentPosition = position;\n var innerClause = clause.Clause;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bcac73dce3accb4b2dee8e0b9437e156d71116e6911e5fb2d3f1ad965d0cb5ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "IntroduceOptionalParameters.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Introduce optional parameter(s) for constructor 'TerminalClause(string, bool)'", - "markdown": "Introduce optional parameter(s) for constructor 'TerminalClause(string, bool)'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 74, - "charOffset": 866, - "charLength": 5, - "snippet": { - "text": "false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 774, - "charLength": 118, - "snippet": { - "text": " }\n \n public TerminalClause(string explicitToken) : this(explicitToken,false)\n {\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f936ad7df474db6be04418d78fc1178df69c5aaefbb9baf8e695445923347824" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "XML element is not closed", - "markdown": "XML element is not closed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 14, - "charOffset": 1261, - "charLength": 5, - "snippet": { - "text": "param" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1179, - "charLength": 222, - "snippet": { - "text": " /// \n /// \n /// \n /// a parser definition instance , containing\n /// [Reduction] methods for grammar rules" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1647efb95088bc4483f38364ed40465b1c02d254ca6695a60f16d3117289ef2e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'rootRule' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)", - "markdown": "Parameter 'rootRule' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 20, - "charOffset": 1883, - "charLength": 8, - "snippet": { - "text": "rootRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1718, - "charLength": 320, - "snippet": { - "text": " /// \n public virtual BuildResult> BuildParser(object parserInstance, ParserType parserType,\n string rootRule = null, Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7022780a6820d609cfd689a2762660f75ed39c2bcb6c3595666684d8471c08c2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'lexerPostProcess' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)", - "markdown": "Parameter 'lexerPostProcess' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 34, - "charOffset": 2004, - "charLength": 16, - "snippet": { - "text": "lexerPostProcess" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1754, - "charLength": 327, - "snippet": { - "text": " public virtual BuildResult> BuildParser(object parserInstance, ParserType parserType,\n string rootRule = null, Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null)\n {\n Parser parser = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7d91e32731c5c09fbcfab4ccb7eb44f10fd0f6943815e107af23f04154740c2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'parserType' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)", - "markdown": "Parameter 'parserType' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 99, - "charOffset": 1852, - "charLength": 10, - "snippet": { - "text": "parserType" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1622, - "charLength": 406, - "snippet": { - "text": " /// the name of the root non terminal of the grammar\n /// \n public virtual BuildResult> BuildParser(object parserInstance, ParserType parserType,\n string rootRule = null, Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b86fef6fdb281e69ae6a0ad932fad5a8f925f9fdbf5bfd268244dca8fdbd3a62" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Cannot resolve parameter 'arity'", - "markdown": "Cannot resolve parameter 'arity'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 26, - "charOffset": 611, - "charLength": 5, - "snippet": { - "text": "arity" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 496, - "charLength": 326, - "snippet": { - "text": " /// \n /// token enum as int value\n /// operator arity\n /// operator aosociativity () \n /// precedence level: the greater, the higher" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dfaff5f9f1c88a9e49c11c647d5dca2c8a96c6ac59eed948506ce25a0bd71a38" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'extensionBuilder' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)", - "markdown": "Parameter 'extensionBuilder' has no matching param tag in the XML comment for sly.parser.generator.ParserBuilder.BuildParser (but other parameters do)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 83, - "charOffset": 1946, - "charLength": 16, - "snippet": { - "text": "extensionBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1718, - "charLength": 320, - "snippet": { - "text": " /// \n public virtual BuildResult> BuildParser(object parserInstance, ParserType parserType,\n string rootRule = null, Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f2ada61e17838a7e20967c5167931f182c846285275b99e5563f9d693991681c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvalidXmlDocComment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'affix' has no matching param tag in the XML comment for sly.parser.generator.OperationAttribute.OperationAttribute (but other parameters do)", - "markdown": "Parameter 'affix' has no matching param tag in the XML comment for sly.parser.generator.OperationAttribute.OperationAttribute (but other parameters do)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 55, - "charOffset": 877, - "charLength": 5, - "snippet": { - "text": "affix" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 641, - "charLength": 322, - "snippet": { - "text": " /// operator aosociativity () \n /// precedence level: the greater, the higher\n public OperationAttribute(int intToken, Affix affix, Associativity assoc, int precedence)\n {\n IntToken = intToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fabae520e47f2c15d0d2527d5f9778a7fa0a38b82175e902eeb1843ee2dd955a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 13, - "charOffset": 673, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 601, - "charLength": 160, - "snippet": { - "text": " var right = RightExpression.Evaluate(context);\n\n if (left.HasValue && right.HasValue)\n switch (Operator)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0141b1aa86f0ea26f90c9b2ad6c69182568e95a17164dfca563a7f1e0c0cacca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 13, - "charOffset": 497, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 143, - "snippet": { - "text": " var right = RightExpression.Evaluate(context);\n\n if (right.HasValue)\n switch (Operator)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01acccd6a1a39f86aee3815ec16ed82e0514d7679aee06b929ac0f4636a0def6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 13, - "charOffset": 5101, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 5054, - "charLength": 141, - "snippet": { - "text": " string name)\n {\n if (nonTerminals.ContainsKey(name))\n {\n var nt = nonTerminals[name];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01ad90cb2df2f87b3eb437a50d589c4507e413193704ec2c9e49a8ac063b58b6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 365, - "startColumn": 21, - "charOffset": 14917, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 363, - "startColumn": 1, - "charOffset": 14838, - "charLength": 222, - "snippet": { - "text": " if (rulesResult.IsError)\n {\n if (rulesResult.EndingPosition > koEndingPosition)\n {\n koEndingPosition = rulesResult.EndingPosition;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0221eaf45e9170f53d1180dd734b19a25c677a1a830740165ce77d3ede7d36cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 13, - "charOffset": 3254, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 3178, - "charLength": 175, - "snippet": { - "text": " public FSMLexerBuilder Push(string toMode)\n {\n if (Fsm.HasState(CurrentState))\n {\n var node = Fsm.GetNode(CurrentState);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0292079881392eb5600ad690ee31a7f4a19f6094901648040bb782871afe5546" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 270, - "startColumn": 13, - "charOffset": 7496, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 268, - "startColumn": 1, - "charOffset": 7408, - "charLength": 254, - "snippet": { - "text": " var parsedPattern = ParseRepeatedPattern(pattern);\n \n if (count > 0 && !string.IsNullOrEmpty(pattern))\n {\n if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02a79c378d197aac095ef55be8517326b25c2005e3931c5aa078db01dcbe3ac8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 3809, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 3737, - "charLength": 187, - "snippet": { - "text": " else if (InFalse)\n {\n if (current == \"false\"[currentValue.Length])\n {\n currentValue += current;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04e1c34d5c4abcd89d4edba560ae93078d35db79d933ae06e6af7d83826609d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 666, - "startColumn": 13, - "charOffset": 29027, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 664, - "startColumn": 1, - "charOffset": 28978, - "charLength": 162, - "snippet": { - "text": " string escape)\n {\n if (lexeme.HasGenericTokenParameters)\n {\n delimiter = lexeme.GenericTokenParameters[0];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05b21bf9466cebdd8e351a04b27ed4ac9ba44e6104229604f36e1116d2e99034" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 13, - "charOffset": 3161, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 3094, - "charLength": 159, - "snippet": { - "text": " {\n FSMTransition transition = null;\n if (HasState(nodeId))\n if (Transitions.ContainsKey(nodeId))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "09a4d4c66bb8b6f1d3473b4a86e3ee60516190bb874a3b0c434060718494b0d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 390, - "startColumn": 13, - "charOffset": 12015, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 388, - "startColumn": 1, - "charOffset": 11927, - "charLength": 254, - "snippet": { - "text": " var parsedPattern = ParseRepeatedPattern(pattern);\n \n if (count > 0 && !string.IsNullOrEmpty(pattern))\n {\n if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11d36c93af1f4c47a6821d3db81c6e1e9d15372fdb15b315522a49da8dbbe599" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 374, - "startColumn": 13, - "charOffset": 11444, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 372, - "startColumn": 1, - "charOffset": 11356, - "charLength": 168, - "snippet": { - "text": " sw.Start();\n var lexresult = lexer.Tokenize(source);\n if (lexresult.IsOk)\n {\n var tokens = lexresult.Tokens;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19ef6bd71253f778789e33f2a44b0217ea1488d51723ab787bc070a5bec11d4e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 17, - "charOffset": 1668, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1586, - "charLength": 192, - "snippet": { - "text": "\n if (v.IsValue) group.Add(n.Name, v.ValueResult);\n if (v.IsToken)\n if (!v.Discarded)\n group.Add(n.Name, v.TokenResult);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a6683a2cc68b4992095c71e46db91077956c5313d6cd57aad1b1f2555b07bd9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 13, - "charOffset": 6199, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 6128, - "charLength": 137, - "snippet": { - "text": " {\n Tuple result = null;\n if (ruleString != null)\n {\n var nt = \"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b93684aed32798d10561057b315ab50fa564362429a28189fad2a91eb52a6f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 13, - "charOffset": 4540, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 4470, - "charLength": 189, - "snippet": { - "text": " TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))\n {\n int position = PositionInTokenFlow - 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1c193a117a64fa64bb22ad116b3713c7ae9dbd3bafd6777d0c042d3f8cc28093" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/PrintStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 13, - "charOffset": 973, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 858, - "charLength": 241, - "snippet": { - "text": " public Emit> EmitByteCode(CompilerContext context, Emit> emiter)\n {\n if (!context.IsQuiet)\n {\n var mi = typeof(Console).GetMethod(\"WriteLine\", new[] { typeof(string) });" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1cf925705082f48d53a63744c0d217987c1a17916ba63130a379a6d220973045" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 17, - "charOffset": 1903, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1829, - "charLength": 210, - "snippet": { - "text": " foreach (var child in children)\n {\n if (child != null) // Prevent arrows with null destinations\n {\n var edge = new DotArrow(result, child)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1da5f54798cb0512bfcecb4af6c3c94efef83485a43d6797477c7631cc7ccd6b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 13, - "charOffset": 643, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 571, - "charLength": 160, - "snippet": { - "text": " var right = RightExpression.Evaluate(context);\n\n if (left.HasValue && right.HasValue)\n switch (Operator)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f5cf2be272ad565d9cbaf2798cc41b24c6c2796aec58dc887e87cc06dd8a975" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 13, - "charOffset": 676, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 622, - "charLength": 181, - "snippet": { - "text": " {\n var comparison = 0;\n if (obj is ParseError unexpectedError)\n {\n var lineComparison = Line.CompareTo(unexpectedError.Line);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "206c0b007ab664b266c1f08c14b2deb5bd70f7d9ec95f2d8e6c8a93801d5c6d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 21, - "charOffset": 1576, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1473, - "charLength": 213, - "snippet": { - "text": " var match = rule.Regex.Match(source.Substring(currentIndex));\n\n if (match.Success && match.Index == 0)\n {\n matchedDefinition = rule;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "23d786994a618b6c3431f6111c4f6a06bc6c9ed4b7adce771afd8e944cc85cb0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 17, - "charOffset": 3036, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2877, - "charLength": 230, - "snippet": { - "text": " {\n var (found,recursion) = CheckLeftRecursion(configuration,nonTerminal.Value, new List {nonTerminal.Key});\n if (found)\n {\n foundRecursion = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2695aa36ef5e9f795c6b5d79d1cadc478d750188771395771212ff431d21eb40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerPosition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 13, - "charOffset": 1630, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1567, - "charLength": 144, - "snippet": { - "text": " public int CompareTo(object obj)\n {\n if (obj != null)\n {\n if (obj is LexerPosition position)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27025df69a2ffb6b4b5a6b91bb73ba4dc3284b448f931fa290bc3564164aeb82" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 712, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 611, - "charLength": 242, - "snippet": { - "text": " StringBuilder builder = new StringBuilder();\n object list = null;\n if (context.TryGetValue(ListName, out list) && list is IEnumerable enumerable)\n {\n foreach (var item in enumerable)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "289e133cbe96272c754202c5bb5f024a983a8f7e0707e1f720b22ba247a958f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 17, - "charOffset": 2206, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2134, - "charLength": 152, - "snippet": { - "text": " {\n ISyntaxNode r = null;\n if (IsExpressionNode)\n {\n var rightIndex = -1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "29ecb121554cd22c0b5a901c331353b51968ae4a680ee96c4857b22e6a69c742" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 383, - "startColumn": 17, - "charOffset": 11870, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 381, - "startColumn": 1, - "charOffset": 11759, - "charLength": 195, - "snippet": { - "text": " sw2.Start();\n lexresult = parser.Result.Lexer.Tokenize(source);\n if (lexresult.IsOk)\n {\n tokens = lexresult.Tokens;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a68491d27c73f7294807dd579e7d18d2133361f0913a1c2dfc37c231928649a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 13, - "charOffset": 17784, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 17617, - "charLength": 250, - "snippet": { - "text": " var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());\n ILexer BenchedLexer = null;\n if (lexerRes != null)\n {\n BenchedLexer = lexerRes.Result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b6ba4aede05f64982d4604117d2011ba975cdde963469c08d624f0372d22762" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerPosition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 17, - "charOffset": 1677, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1618, - "charLength": 157, - "snippet": { - "text": " if (obj != null)\n {\n if (obj is LexerPosition position)\n {\n if (Line < position.Line)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2ba25b82775cb0f8a89a8035e473f8d71783b96dc84a47428254d974cc44f798" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 13, - "charOffset": 1339, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1254, - "charLength": 247, - "snippet": { - "text": " GenericToken = generic;\n IdentifierType = idType;\n if (idType == IdentifierType.Custom)\n {\n IdentifierStartPattern = startPattern ?? throw new ArgumentNullException(nameof(startPattern));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2e2dae75270555a88f6962138d89f64f3000bba5bf9dcd72036158eb2b474166" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/IfStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 13, - "charOffset": 1601, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1497, - "charLength": 182, - "snippet": { - "text": " code.AppendLine(ThenStmt.Transpile(context));\n code.AppendLine(\"}\");\n if (ElseStmt != null)\n {\n code.AppendLine(\"else {\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2eb885ab059966da94ba41b56284582fe9ed8201f33342f59256341c7972c9e1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 17, - "charOffset": 1794, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1722, - "charLength": 151, - "snippet": { - "text": " {\n ISyntaxNode l = null;\n if (IsExpressionNode)\n {\n var leftindex = -1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2ebc3a737e58afa3dd71aa16bb31a425c283bc818bca08904e04fcb0cbfe86a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 142, - "startColumn": 13, - "charOffset": 3571, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 140, - "startColumn": 1, - "charOffset": 3509, - "charLength": 161, - "snippet": { - "text": " public FSMLexerBuilder Pop()\n {\n if (Fsm.HasState(CurrentState))\n {\n var node = Fsm.GetNode(CurrentState);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f8143f954da1efaf2bc908ddcd9029b4d401950be6254bdab6291280cfb1132" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 294, - "startColumn": 13, - "charOffset": 9049, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 292, - "startColumn": 1, - "charOffset": 8926, - "charLength": 245, - "snippet": { - "text": " private FSMMatch ConsumeIndents(ReadOnlyMemory source, LexerPosition lexerPosition)\n {\n if (lexerPosition.IsStartOfLine)\n {\n var indents = GetIndentations(source, lexerPosition.Index);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30582ef0ebd51d9ddb3ed085c02b92f40eeeb2fa8996cac3d7b0d535d81cb776" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 133, - "startColumn": 13, - "charOffset": 5452, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 131, - "startColumn": 1, - "charOffset": 5403, - "charLength": 218, - "snippet": { - "text": " Rule rule)\n {\n if (rule.PossibleLeadingTokens == null || rule.PossibleLeadingTokens.Count == 0)\n {\n rule.PossibleLeadingTokens = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "321ae95cd86b55a3edb690b1f8617e48c6a571f8353a4760ae1bc38339ce9594" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 773, - "startColumn": 13, - "charOffset": 27862, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 771, - "startColumn": 1, - "charOffset": 27835, - "charLength": 121, - "snippet": { - "text": " }\n\n if (substitutionHappened)\n {\n r += value.At(value.Length - 1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37aa1bb9718d5a766d837c604d9eaf12837e0cccb5fb5b94c4ff8cac63dbbd83" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 13, - "charOffset": 3399, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 3372, - "charLength": 114, - "snippet": { - "text": " }\n\n if (result == null)\n {\n result = new SyntaxParseResult();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c9324867d512eb1b27cf37416e8b57e51f36ac8ea3b7e380d61af5b1badc363" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 13, - "charOffset": 7201, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 7133, - "charLength": 253, - "snippet": { - "text": " {\n string operandNonTerminal = null;\n if (operandMethod.GetCustomAttributes().ToList()\n .Find(attr => attr.GetType() == typeof(ProductionAttribute)) is ProductionAttribute production)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e731861772f1acfed7bc21035cf9ce4522c29150439cccd5fda35c878f7cfde" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 13, - "charOffset": 3299, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 3209, - "charLength": 167, - "snippet": { - "text": " {\n var result = SyntaxVisitorResult.NoneResult();\n if (node.Visitor != null || node.IsByPassNode)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f637d20c111f44db21d13a133e5e8706bc178738c67fe86c1f922f18844e0a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 760, - "startColumn": 13, - "charOffset": 33494, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 758, - "startColumn": 1, - "charOffset": 33354, - "charLength": 232, - "snippet": { - "text": " Action> extensionBuilder, GenericLexer lexer) where IN : struct\n {\n if (extensionBuilder != null)\n {\n foreach (var attr in extensions)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "403ef15c6be0cf8a8298c6fcaf26dad496e493f1df5564d6746c2c6ce6bde4eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 292, - "startColumn": 13, - "charOffset": 10649, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 290, - "startColumn": 1, - "charOffset": 10582, - "charLength": 166, - "snippet": { - "text": " FSMLexer LexerFsm)\n {\n if (!LexerFsm.IgnoreEOL)\n {\n var newPosition = r.Result.Position.Clone();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "410eee4cd2d82879c2113a339aa9cabde277a26ebb08818cfbf596e973784d53" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 206, - "startColumn": 25, - "charOffset": 8977, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 204, - "startColumn": 1, - "charOffset": 8860, - "charLength": 280, - "snippet": { - "text": "\n var duplicate = l.Where(x => l2.Values.Contains(x.Value)).ToList();\n if (duplicate.Any())\n {\n var message = I18N.Instance.GetText(CultureInfo.CurrentCulture.TwoLetterISOLanguageName," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "432ba60b18e3ab0b6d01bb414657ab20dd55bfc5775d52a877b351949915322e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 13, - "charOffset": 6637, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 6536, - "charLength": 172, - "snippet": { - "text": " result.Errors = errors;\n result.EndingPosition = currentPosition;\n if (!isError)\n {\n SyntaxNode node = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43f8e1967886a17f9047b061f60af5f26be2977ddeeeb75d5adbd8711dc8d118" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 218, - "startColumn": 17, - "charOffset": 6367, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 216, - "startColumn": 1, - "charOffset": 6301, - "charLength": 217, - "snippet": { - "text": " {\n var result = Value;\n if (StringDelimiter != (char) 0)\n {\n if (result.StartsWith(StringDelimiter.ToString())) result = result.Substring(1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4423888b7f212a333bbc3d185ef3e6aaf264de0ae836b003633eac77a08d82aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 13, - "charOffset": 2884, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 2784, - "charLength": 199, - "snippet": { - "text": " public FSMLexerBuilder End(N nodeValue, bool isLineEnding = false)\n {\n if (Fsm.HasState(CurrentState))\n {\n var node = Fsm.GetNode(CurrentState);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "45f465b566a3ab2fd323ba13ffafd897c758fcd1a1e2c7532cdf4ab432cba0a5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 465, - "startColumn": 17, - "charOffset": 14958, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 463, - "startColumn": 1, - "charOffset": 14890, - "charLength": 140, - "snippet": { - "text": "\n var r = lexer.Tokenize(\"aaa bbb\");\n if (r.IsOk)\n {\n var tokens = r.Tokens;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46e3a4dc6f978013cb7d67f6568a0de43ff923bbdb1919f635e12970b9e68a31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 317, - "startColumn": 13, - "charOffset": 13556, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 315, - "startColumn": 1, - "charOffset": 13529, - "charLength": 109, - "snippet": { - "text": " }\n\n if (InFixOps.Count == 0)\n {\n var rule0 = new Rule();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4aec124170451bbf5cf74839fb82dbcb328ebdb5e5c07db978cdb3f732e81ebb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 357, - "startColumn": 17, - "charOffset": 15629, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 355, - "startColumn": 1, - "charOffset": 15549, - "charLength": 181, - "snippet": { - "text": " {\n statics.Add(lexeme.GenericToken);\n if (lexeme.IsIdentifier)\n {\n config.IdType = lexeme.IdentifierType;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b897587635894ef9d7c2928122a38be76b78e8bf8ba7149e8ed990cb1504872" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 17, - "charOffset": 2087, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 2022, - "charLength": 192, - "snippet": { - "text": " {\n var v = group.Key;\n if (group.Count() > 1)\n {\n Enum enumValue = Enum.Parse(typeof(IN), v.ToString()) as Enum;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e7233ca49364a3f8bdbc3a6b7ac5dec63e4f354833382a1f43d604297c155e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 21, - "charOffset": 6428, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 6329, - "charLength": 204, - "snippet": { - "text": " foreach (var operand in operandNonTerminals)\n {\n if (!string.IsNullOrEmpty(operand))\n {\n var rule = new Rule" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "50bcfd26d7994de9247e0e55403973a1dffc57b6ea44ef48d979b74b7b68cfb6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 13, - "charOffset": 4841, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 4760, - "charLength": 211, - "snippet": { - "text": " {\n var attributes = GetLexemes(result, lang);\n if (!result.IsError)\n {\n result = Build(attributes, result, extensionBuilder, lang, explicitTokens);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5bdb699f9e86078adfd7a487a6e941dda98fd483bd83e0374b5ba110a1995e40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 13, - "charOffset": 7453, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 7346, - "charLength": 253, - "snippet": { - "text": " {\n InitStartingTokensForNonTerminal(nonTerminals, nonterm.NonTerminalName);\n if (nonTerminals.ContainsKey(nonterm.NonTerminalName))\n {\n var firstNonTerminal = nonTerminals[nonterm.NonTerminalName];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f302e3d66e4e6aae80780e593af3656cae403b82f20ddd9189a01035611661f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 121, - "startColumn": 13, - "charOffset": 3590, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 119, - "startColumn": 1, - "charOffset": 3524, - "charLength": 178, - "snippet": { - "text": " {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {\n var list = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5fe817a28b620883af27b6dfd391d9372d0f06b0e5b5c43b65210ceefe0cecc5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 265, - "startColumn": 13, - "charOffset": 9847, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 263, - "startColumn": 1, - "charOffset": 9768, - "charLength": 135, - "snippet": { - "text": " FSMLexer LexerFsm = lexersStack.Peek();\n\n if (!r.IsEOS)\n {\n if (r.IsPop)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65131ea15d9897ad9c98065d4395161f94dcbdc01ed9e4799288807ca291eb6a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 737, - "startColumn": 13, - "charOffset": 26292, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 735, - "startColumn": 1, - "charOffset": 26139, - "charLength": 200, - "snippet": { - "text": " \n private static void AddExponentExtension(DoubleExponent token, LexemeAttribute lexem, GenericLexer lexer) {\n if (token == DoubleExponent.DOUBLE_EXP) {\n\n \t" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68910c89ac004330ab7a1b58092b37175db40e452726be39d5a898e403060a02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 296, - "startColumn": 17, - "charOffset": 10766, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 294, - "startColumn": 1, - "charOffset": 10688, - "charLength": 244, - "snippet": { - "text": " var newPosition = r.Result.Position.Clone();\n\n if (r.IsLineEnding) // only compute if token is eol\n {\n var eols = tokens.Where>(t => t.IsLineEnding).ToList>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c209b0dbbed5c1f91d1117b769630b569120f84cff8b397b6b41538f221a51e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxTreeCleaner.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 13, - "charOffset": 299, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 241, - "charLength": 163, - "snippet": { - "text": " {\n var tree = result.Root;\n if (tree != null)\n {\n if (result.UsesOperations) tree = SetAssociativity(tree);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e85cade92c557f914a42ab7b67e6fbea33e2470d117f9a98cae2daf42cbee36" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 305, - "startColumn": 13, - "charOffset": 11106, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 303, - "startColumn": 1, - "charOffset": 11043, - "charLength": 199, - "snippet": { - "text": " checkers.Add(CheckVisitorsSignature);\n\n if (result.Result != null && !result.IsError)\n foreach (var checker in checkers)\n if (checker != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "71b0c6f6562621889513c647492d349a6eb245fd3b4df0fc9b0632bbfa2f5b74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 175, - "startColumn": 13, - "charOffset": 5431, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 173, - "startColumn": 1, - "charOffset": 5341, - "charLength": 197, - "snippet": { - "text": " {\n var result = SyntaxVisitorResult.NoneResult();\n if (node.Visitor != null || node.IsByPassNode)\n {\n var args = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "71fde5e45b746d588faadcb7eb146908bd52af3a2a10d8aae5ddc988ed041eee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 363, - "startColumn": 17, - "charOffset": 14854, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 361, - "startColumn": 1, - "charOffset": 14819, - "charLength": 148, - "snippet": { - "text": " }\n\n if (rulesResult.IsError)\n {\n if (rulesResult.EndingPosition > koEndingPosition)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "720340ae9ac25c467aeba6ddb355126de7163f8a266d626dc5c4ce3d3b55898d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 13, - "charOffset": 2163, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2069, - "charLength": 185, - "snippet": { - "text": " .AppendLine(node.Label);\n var edges = FindEgdes(node);\n if (edges != null && edges.Any())\n {\n foreach (var edge in edges)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "786823250675bb2179754fe9dc27cbb75faf1ce24db983e8d3070d026c742d2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1033, - "startColumn": 21, - "charOffset": 39303, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1031, - "startColumn": 1, - "charOffset": 39234, - "charLength": 206, - "snippet": { - "text": " FSMBuilder.GoTo(startNode);\n\n if (j < exception.Length - 1)\n {\n FSMBuilder.TransitionToAndMark(new[] { exceptionChar }, end);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8655ca590681147fc08b98fbd0ac0a511bdbe4cbc317cf850ff0fd6f5490aa16" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 13, - "charOffset": 2954, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 2880, - "charLength": 200, - "snippet": { - "text": " public static object Rec(List args)\n {\n if (args.Count == 2)\n {\n var r = \"Rec(\" + (args[0] as Token).Value + \",\" + args[1] + \")\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "88865147f89692f0e1255f5e732a8ffa97c5e440219cbcb968c495f25c99b1c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 631, - "startColumn": 13, - "charOffset": 21587, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 629, - "startColumn": 1, - "charOffset": 21412, - "charLength": 261, - "snippet": { - "text": " Parser = builder.BuildParser(parserInstance2,ParserType.EBNF_LL_RECURSIVE_DESCENT,\"clause\");\n Console.WriteLine($\"built : {Parser.IsOk}\");\n if (Parser.IsError)\n {\n foreach (var error in Parser.Errors)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "88dada2287ea8a6c2581142e6ea5e4b7fb9942c24a56c9794b6102512fe78a86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 256, - "startColumn": 17, - "charOffset": 7451, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 254, - "startColumn": 1, - "charOffset": 7385, - "charLength": 186, - "snippet": { - "text": " {\n var result = Value;\n if (CharDelimiter != (char) 0)\n {\n if (result.StartsWith(CharDelimiter.ToString())) {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89aa18358483fcc72503dd1f0727798dff62f3a440305aaf40a2db2a6b2b0443" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/model/UnaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 13, - "charOffset": 482, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 410, - "charLength": 143, - "snippet": { - "text": " var right = RightExpression.Evaluate(context);\n\n if (right.HasValue)\n switch (Operator)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "914221ec1f86cf124b8d068a1530ddba218101a9b00083a7c135466868008bd3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 333, - "startColumn": 13, - "charOffset": 14159, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 331, - "startColumn": 1, - "charOffset": 14035, - "charLength": 297, - "snippet": { - "text": " Dictionary>> operationsByPrecedence, string operandName) \n {\n if (precedence > 0)\n {\n var tokens = operationsByPrecedence[precedence].Select, string>(o => o.Operatorkey).ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95836c2940590440de300ac8f4ddb2fbf169555fad007cc909a0994f2233cfcb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 186, - "startColumn": 13, - "charOffset": 7462, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 184, - "startColumn": 1, - "charOffset": 7361, - "charLength": 172, - "snippet": { - "text": " result.Errors = errors;\n result.EndingPosition = currentPosition;\n if (!isError)\n {\n SyntaxNode node = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95c6917a6b6d87bdce5e71a1e6458e451c61a04b3cea495ce9c3aeaa3ac990c6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 13, - "charOffset": 4257, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 4115, - "charLength": 297, - "snippet": { - "text": " result.Result = configuration;\n var rec = LeftRecursionChecker.CheckLeftRecursion(configuration);\n if (rec.foundRecursion)\n {\n var recs = string.Join(\"\\n\", rec.recursions.Select, string>(x => string.Join(\" > \",x)));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a8e8a37970a33a58ddf0cae5376728d28e052c5e0eb9a8151dd02d7b9f8fe18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 17, - "charOffset": 2393, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2272, - "charLength": 211, - "snippet": { - "text": " var list = new List>();\n int position = PositionInTokenFlow + 1;\n if (position >= 0 && position <= channel.Count - 1)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b575ea7988de0967d65514f756f70813202e1bf6322793eecdcc7c164d0a087" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 17, - "charOffset": 2657, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2583, - "charLength": 210, - "snippet": { - "text": " foreach (var child in children)\n {\n if (child != null) // Prevent arrows with null destinations\n {\n var edge = new DotArrow(result, child)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ca91092178f21da82a099c9bf85c1d0d97a5fff76f35275e88c5af55c70b4c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 115, - "startColumn": 21, - "charOffset": 4208, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 113, - "startColumn": 1, - "charOffset": 4089, - "charLength": 240, - "snippet": { - "text": " {\n var newNonTerminal = configuration.NonTerminals[leftClause];\n if (newNonTerminal != null)\n {\n var nPath = BuildPath(currentPath, leftClause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0ab9897f152a848cd88bd65eb3891baf7b5e9a66b3efc8b21d8bc6574dee5fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 13, - "charOffset": 2908, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2812, - "charLength": 209, - "snippet": { - "text": " public OperationMetaData GetOperation(IN token = default(IN))\n {\n if (IsExpressionRule)\n {\n var operation = VisitorMethodsForOperation.ContainsKey(token)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0c1e582ef704850ff67853e23bfd56ea65235024540ee9dff54bc324e7f61c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 360, - "startColumn": 21, - "charOffset": 15751, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 358, - "startColumn": 1, - "charOffset": 15654, - "charLength": 281, - "snippet": { - "text": " {\n config.IdType = lexeme.IdentifierType;\n if (lexeme.IdentifierType == IdentifierType.Custom)\n {\n config.IdentifierStartPattern = ParseIdentifierPattern(lexeme.IdentifierStartPattern);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2351705f9e5bf4acd0da5bbe096792012a6333fc61a6441ddd477cfa45c0d32" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 25, - "charOffset": 1811, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1760, - "charLength": 221, - "snippet": { - "text": " }\n\n if (clause is OptionClause option)\n {\n if (option.Clause is TerminalClause terminal && terminal.IsExplicitToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a345bdf3b7e8bcc541ac5ed14ee2014a8ca484658f12c8a249a573ede0c90a24" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 13, - "charOffset": 807, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 710, - "charLength": 178, - "snippet": { - "text": " .AppendLine(Cond.Dump(tab))\n .Append(Then.Dump(tab));\n if (Else != null)\n {\n builder.AppendLine($\"{tab}ELSE\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a36f233581357df8264bdb08d43a486f014cd4f23317ba4e0d6406cabd02ed0d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 13, - "charOffset": 2280, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2187, - "charLength": 184, - "snippet": { - "text": " public FSMLexerBuilder WhiteSpace(params char[] spaceChars)\n {\n if (spaceChars != null)\n {\n foreach (var spaceChar in spaceChars)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af5f71ae698f6ac2b39dce81164e658952bab32c7b1857c688e7f04287685799" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 17, - "charOffset": 1599, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1526, - "charLength": 212, - "snippet": { - "text": " foreach (var rule in nt.Rules)\n {\n if (!tokens[0].IsEOS && rule.PossibleLeadingTokens.Any(x => x.Match(tokens[0])))\n {\n matchingRuleCount++;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af9197d4fba1a971bc8132770e1c917a0412d5c18dafe6e9c925dbac4ad905a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 13, - "charOffset": 2699, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 2672, - "charLength": 108, - "snippet": { - "text": " }\n\n if (!result.IsError)\n {\n foreach (Enum value in values)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b6221c53dbc450260a92b26b531fb1680b607a17fab72f6227b7aa9b5d55d01f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 318, - "startColumn": 13, - "charOffset": 11698, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 316, - "startColumn": 1, - "charOffset": 11603, - "charLength": 261, - "snippet": { - "text": " var conf = result.Result.Configuration;\n var found = false;\n if (nonTerminal.Name != conf.StartingRule)\n {\n foreach (var nt in result.Result.Configuration.NonTerminals.Values.ToList>())" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b63494485f480c9de4ed257fb5c3cb2c1c3347276cd0ad1aa71af1d8ab0fc7c7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 290, - "startColumn": 29, - "charOffset": 12791, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 288, - "startColumn": 1, - "charOffset": 12655, - "charLength": 259, - "snippet": { - "text": " foreach (var modes in modeAtributes.Select(x => x.Modes))\n {\n if (modes != null && modes.Any())\n {\n foreach (var mode in modes)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b66ae2cb5f49c2d7b83d439a3acb6545b7bf9d61a9473b62513dcc9c42ba3de0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 586, - "startColumn": 17, - "charOffset": 26932, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 584, - "startColumn": 1, - "charOffset": 26897, - "charLength": 178, - "snippet": { - "text": " }\n\n if (result.IsOk)\n {\n if (clause.IsTerminalChoice && clause.IsDiscarded && result.Root is SyntaxLeaf leaf)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "baa48ef1ca52bfeaac2f3c66045430b4113df09b0fc4908d090eaa16226a457a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 459, - "startColumn": 13, - "charOffset": 14730, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 457, - "startColumn": 1, - "charOffset": 14618, - "charLength": 215, - "snippet": { - "text": " {\n var res = LexerBuilder.BuildLexer(new BuildResult>());\n if (!res.IsError)\n {\n var lexer = res.Result as GenericLexer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb28f317395138e0d929372a8b76aed8cb19e118443997e1e1b5aa659db5b1e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 784, - "startColumn": 13, - "charOffset": 28289, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 782, - "startColumn": 1, - "charOffset": 28174, - "charLength": 204, - "snippet": { - "text": " var Parser = BuildParserExpression();\n var result = Parser.Result.Parse(\"1(1\");\n if (result.IsError)\n { \n foreach (var error in result.Errors)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd51466f0f93a2c96ce403142ce0f3bdeb0573020856fcdca528ffc275121297" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 389, - "startColumn": 25, - "charOffset": 13508, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 387, - "startColumn": 1, - "charOffset": 13437, - "charLength": 199, - "snippet": { - "text": " else\n {\n if (i == currentIndentations.Count)\n {\n lexerPosition.Column += indents.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd8bca5610fc701433ae6df22f563876ed732238e0cb9a8577d4d0e41ba31f49" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 13, - "charOffset": 8095, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 8011, - "charLength": 234, - "snippet": { - "text": " BuildResult> result) where IN : struct\n {\n if (result.IsOk && result.Result != null)\n {\n result.Result.LexemeLabels = new Dictionary>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2b882f7a990aca8f71aaa4bd417326f0c0508119c70e4c9358cd52238d87094" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 25, - "charOffset": 2933, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2882, - "charLength": 165, - "snippet": { - "text": " }\n\n if (r.EndingPosition == lastPosition)\n {\n furtherResults.Add(r);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3f6e954612a7a2032d194dcaa6bc40324b928d8976686c1b40ca47bdaff65e8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 892, - "startColumn": 13, - "charOffset": 31138, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 890, - "startColumn": 1, - "charOffset": 31045, - "charLength": 176, - "snippet": { - "text": " {\n var lexerResult = LexerBuilder.BuildLexer();\n if (lexerResult.IsOk)\n {\n var lexer = lexerResult.Result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce3270541311efb0240ae43f5b4359b8b8d9deb8e31d5cab71ac77a33645dc67" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 107, - "startColumn": 13, - "charOffset": 3166, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 105, - "startColumn": 1, - "charOffset": 3096, - "charLength": 189, - "snippet": { - "text": " TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))\n {\n int position = PositionInTokenFlow + 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d071c6329e782b6d33ef4b7d3bf73ede1e8c544758743dac1d33b9649a131578" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 600, - "startColumn": 25, - "charOffset": 25820, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 598, - "startColumn": 1, - "charOffset": 25689, - "charLength": 267, - "snippet": { - "text": "\n var hasMultiLine = !string.IsNullOrWhiteSpace(commentAttr.MultiLineCommentStart);\n if (hasMultiLine)\n {\n lexer.MultiLineCommentStart = commentAttr.MultiLineCommentStart;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d1f67e5cd95154bdaf38a24b8283a6831bc435e195540bba5d5ed722f237035d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 17, - "charOffset": 3244, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 3175, - "charLength": 193, - "snippet": { - "text": " {\n var token = tokens[i];\n if (!token.IsComment || token.Notignored)\n {\n token.PositionInTokenVisibleFlow = position;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d2ab05d17a806397ce62849c7185e0bf4b11669635a129562329e66e1387f5fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 17, - "charOffset": 5113, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 5007, - "charLength": 225, - "snippet": { - "text": " string step = path[i];\n int next = path.LastIndexOf(step);\n if (next > i)\n {\n string failure = string.Join(\" > \",path.GetRange(i, next - i + 1));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da145a77477c986a61bd998e3c383e536374e307ba22e064ef91ca0b79ebdd30" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 13, - "charOffset": 969, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 902, - "charLength": 220, - "snippet": { - "text": " public bool Equals(IClause other)\n {\n if (other is ClauseSequence sequence && sequence.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc1157c5cca95e62cc896a1dc55cf9a24587f6a6913eaf7efa94dca7c428d82b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 13, - "charOffset": 227, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 163, - "charLength": 171, - "snippet": { - "text": " {\n var genericType = typeof(IN);\n if (genericType.IsEnum)\n foreach (IN value in Enum.GetValues(genericType))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e0a473180d26c51d8c4c50a8ac5625c508d46ab44afbcbbcc58d49b3a70afa4a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 17, - "charOffset": 827, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 739, - "charLength": 188, - "snippet": { - "text": " {\n var newclauses = new List>();\n if (rule.ContainsSubRule)\n {\n foreach (var clause in rule.Clauses)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2c159932999d890f929cc074f9c3fc2a845dd5037492d3f639ee2f5775e6b29" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 238, - "startColumn": 13, - "charOffset": 6335, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 236, - "startColumn": 1, - "charOffset": 6275, - "charLength": 166, - "snippet": { - "text": " {\n string toParse = pattern;\n if (toParse.StartsWith(\"[\") && toParse.EndsWith(\"]\"))\n {\n bool isPattern = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e36b876b7863dbf8eda1ae1da99d3c816ae8eafe65392d65d57959c7be6a825e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 432, - "startColumn": 21, - "charOffset": 16498, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 430, - "startColumn": 1, - "charOffset": 16407, - "charLength": 236, - "snippet": { - "text": " foreach (var clause in rule.Clauses)\n {\n if (clause is ChoiceClause choice)\n {\n if (!choice.IsTerminalChoice && !choice.IsNonTerminalChoice)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7cf29b50e9a92d28af955a4b5db4bb363956e1f6bb23b28fb1a3e89a1361eaa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 425, - "startColumn": 13, - "charOffset": 14843, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 423, - "startColumn": 1, - "charOffset": 14732, - "charLength": 259, - "snippet": { - "text": " private FSMNode Move(FSMNode from, char token, ReadOnlyMemory value)\n {\n if (from != null && Transitions.TryGetValue(from.Id, out var transitions))\n {\n for (var i = 0; i < transitions.Count; ++i)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8364017f7d94d628c7d6a4da5f7f179fe94b673909ac881cacd33c8540110aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 125, - "startColumn": 17, - "charOffset": 3775, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 123, - "startColumn": 1, - "charOffset": 3654, - "charLength": 211, - "snippet": { - "text": " var list = new List>();\n int position = PositionInTokenFlow - 1;\n if (position >= 0 && position <= channel.Count - 1)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e91b32ecbb576c91574e1ad90ef51ac56f52b5c685c8c67872acd0ee9bdd28f4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 13, - "charOffset": 1263, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1196, - "charLength": 211, - "snippet": { - "text": " public bool Equals(IClause other)\n {\n if (other is GroupClause group && group.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e98187d4c50ea109c229f77a2c3581e68907d2f2a260707f1423b06fbd598ee6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 13, - "charOffset": 2208, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 2142, - "charLength": 178, - "snippet": { - "text": " {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {\n var list = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea601fcc70fb32882a228a5833e4c63d5b5de3bb65774b1cf32132db2e93d18a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 17, - "charOffset": 1573, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1527, - "charLength": 157, - "snippet": { - "text": " get\n {\n if (Clauses != null && Clauses.Any>())\n {\n bool contains = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb2f61f23afe2cb585c9b600f2e294a0b8f000877a0da03c778873723e1824a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 17, - "charOffset": 5638, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 5533, - "charLength": 199, - "snippet": { - "text": " {\n rule.PossibleLeadingTokens = new List>();\n if (rule.Clauses.Count > 0)\n {\n var first = rule.Clauses[0];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb4c954b977b8031d9d7b5878ea5e907ba3c752a4a8e916fe8f4dcabb42ec606" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 551, - "startColumn": 25, - "charOffset": 23410, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 549, - "startColumn": 1, - "charOffset": 23359, - "charLength": 164, - "snippet": { - "text": " }\n\n if (lexeme.IsDate)\n {\n DateFormat format = DateFormat.DDMMYYYY;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ede3edd8a3f69fc242959b4a4992cd3c67e535dfef395d454e0405d6c678bb5f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 17, - "charOffset": 4988, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 4862, - "charLength": 225, - "snippet": { - "text": " {\n result = Build(attributes, result, extensionBuilder, lang, explicitTokens);\n if (!result.IsError)\n {\n var labels = result.Result.LexemeLabels;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee4677d648451735de56c3df1835a3f4167f4ecb0b285c960875753ddca84e65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 25, - "charOffset": 4475, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 4258, - "charLength": 318, - "snippet": { - "text": " var nPath = BuildPath(currentPath, leftClause);\n var (foundRRuleRecursion, recursion) = CheckLeftRecursion(configuration, newNonTerminal, nPath);\n if (foundRRuleRecursion)\n {\n foundRecursion = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "efb539c3f692a9ba2679df0009bf5ccdd5440cb89bea9d7be28262997d41c051" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 13, - "charOffset": 815, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 663, - "charLength": 266, - "snippet": { - "text": " if (expr is Neg neg) return TypeExpression(neg, context);\n if (expr is Not not) return TypeExpression(not, context);\n if (expr is Variable variable)\n {\n var varType = context.GetVariableType(variable.Name);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f130d0eb9fcf67dd78ef14b74dedfb37f4f131d3201393c23657456624e1e1d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 269, - "startColumn": 13, - "charOffset": 13003, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 267, - "startColumn": 1, - "charOffset": 12902, - "charLength": 172, - "snippet": { - "text": " result.Errors = errors;\n result.EndingPosition = currentPosition;\n if (!isError)\n {\n SyntaxNode node = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f29fdcfc9eb47b20b762e29cdb7b1d04b876aa95d330826aa163f1042498e37e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 282, - "startColumn": 17, - "charOffset": 12419, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 280, - "startColumn": 1, - "charOffset": 12339, - "charLength": 222, - "snippet": { - "text": " foreach (var attribute in attributes)\n {\n if (attribute.Key is Enum enumValue)\n {\n var modeAtributes = enumValue.GetAttributesOfType();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4cbfd79db3e75fb4feea6793055bfa5068bf793f02ac3c2aaad10dd9683d176" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 175, - "startColumn": 17, - "charOffset": 6362, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 173, - "startColumn": 1, - "charOffset": 6266, - "charLength": 184, - "snippet": { - "text": " var rule = \"\";\n var i = ruleString.IndexOf(\":\");\n if (i > 0)\n {\n nt = ruleString.Substring(0, i).Trim();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6143f962221603a6d7930105b9d21e9783d6e0cd7c619a0197e219a863acde8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 322, - "startColumn": 13, - "charOffset": 14064, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 320, - "startColumn": 1, - "charOffset": 14037, - "charLength": 156, - "snippet": { - "text": " }\n\n if (!subLexers.Any())\n {\n subLexers = new Dictionary>>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6ffd8f125e005f9693857b9b2765b15e327a02ea4aa6fde115f7adcc62f5029" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "InvertIf", - "kind": "fail", - "level": "note", - "message": { - "text": "Invert 'if' statement to reduce nesting", - "markdown": "Invert 'if' statement to reduce nesting" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 772, - "startColumn": 13, - "charOffset": 27932, - "charLength": 2, - "snippet": { - "text": "if" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 770, - "startColumn": 1, - "charOffset": 27825, - "charLength": 191, - "snippet": { - "text": " {\n var lex = LexerBuilder.BuildLexer(AddExponentExtension);\n if (lex.IsOk)\n {\n var one = lex.Result.Tokenize(\"2.0E+2\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fcf929e7d868c13d3b5e5e469e65a91cb6cfab12424054162299edd648f685c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "JoinDeclarationAndInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Join declaration and assignment", - "markdown": "Join declaration and assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 30, - "charOffset": 4933, - "charLength": 7, - "snippet": { - "text": "methods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 4831, - "charLength": 192, - "snippet": { - "text": " BuildResult> result) \n {\n List methods;\n methods = parserClass.GetMethods().ToList();\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf2e7f558b0ae7b0c450e4ebd723b4318d3cf257ce13ac436977c0380302f5ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "LocalVariableHidesMember", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'edges' hides field 'List sly.parser.generator.visitor.dotgraph.DotGraph.edges'", - "markdown": "Local variable 'edges' hides field 'List sly.parser.generator.visitor.dotgraph.DotGraph.edges'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 17, - "charOffset": 2126, - "charLength": 5, - "snippet": { - "text": "edges" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 2037, - "charLength": 173, - "snippet": { - "text": " builder.Append(tab)\n .AppendLine(node.Label);\n var edges = FindEgdes(node);\n if (edges != null && edges.Any())\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a53980f766f245d723ad046c3ea07f43c5efcdd6d1f74d285e295df1007aa1e6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "LoopCanBeConvertedToQuery", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression", - "markdown": "Loop can be converted into LINQ-expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 17, - "charOffset": 1083, - "charLength": 3, - "snippet": { - "text": "for" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 957, - "charLength": 248, - "snippet": { - "text": " if (other is ClauseSequence sequence && sequence.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)\n {\n if (!Clauses[i].Equals(sequence.Clauses[i]))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb4b115e46c842dac1b53c58f80be3867c9e24eddad0ea29dd30f2898766a590" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "LoopCanBeConvertedToQuery", - "kind": "fail", - "level": "note", - "message": { - "text": "Loop can be converted into LINQ-expression", - "markdown": "Loop can be converted into LINQ-expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 17, - "charOffset": 1368, - "charLength": 3, - "snippet": { - "text": "for" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1251, - "charLength": 236, - "snippet": { - "text": " if (other is GroupClause group && group.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)\n {\n if (!Clauses[i].Equals(group.Clauses[i]))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb9639a695cd05baadc9f4d903219d64f6080f4e2c71b6afa81d0d60b9aedf0a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made static", - "markdown": "Method 'Evaluate' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 340, - "startColumn": 27, - "charOffset": 11147, - "charLength": 8, - "snippet": { - "text": "Evaluate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 338, - "startColumn": 1, - "charOffset": 11110, - "charLength": 160, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(IntegerConstant intConst, InterpreterContext context)\n {\n return new TypedValue(intConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c97bf18085ecdd60374373fde589d7180b679a9baa29ebfb974947f7e23ed7e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' can be made static", - "markdown": "Method 'Attribute' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotArrow.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 23, - "charOffset": 387, - "charLength": 9, - "snippet": { - "text": "Attribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 346, - "charLength": 133, - "snippet": { - "text": " }\n \n public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93314dc542a7f92bb75369972c6511dee34f2b11aee90bc3c2562f4c38f730c7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' can be made static", - "markdown": "Method 'Attribute' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 23, - "charOffset": 470, - "charLength": 9, - "snippet": { - "text": "Attribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 446, - "charLength": 116, - "snippet": { - "text": "\n\n public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ba6081cf5dd4b7455efc5027ed295d0310d28e8b489c2ce602c1635220a4e80" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made static", - "markdown": "Method 'TypeExpression' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 26, - "charOffset": 1331, - "charLength": 14, - "snippet": { - "text": "TypeExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 1295, - "charLength": 169, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(BoolConstant boolConst, CompilerContext context)\n {\n boolConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0ae7283c7be40f7e0a8f12b3e37d77ce063c75c67404de5e16534c5e03128d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made static", - "markdown": "Method 'Evaluate' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 27, - "charOffset": 10981, - "charLength": 8, - "snippet": { - "text": "Evaluate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 10944, - "charLength": 165, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(StringConstant stringConst, InterpreterContext context)\n {\n return new TypedValue(stringConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a76408e93520c1407eb91367f9ecc42d4d775c2c933c331cf95b89588e60211c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made static", - "markdown": "Method 'TypeExpression' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 26, - "charOffset": 1749, - "charLength": 14, - "snippet": { - "text": "TypeExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1713, - "charLength": 170, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(IntegerConstant intConst, CompilerContext context)\n {\n intConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb1ee3fbb2a9acf0edb11e52746adf382a613acdff383a99ac81ebb5588d5066" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made static", - "markdown": "Method 'Evaluate' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 330, - "startColumn": 27, - "charOffset": 10821, - "charLength": 8, - "snippet": { - "text": "Evaluate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 328, - "startColumn": 1, - "charOffset": 10784, - "charLength": 159, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(BoolConstant boolConst, InterpreterContext context)\n {\n return new TypedValue(boolConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f136b718454c061ef13c0c47d60a10b7d59ec97d97bc525bad8433266b0cb55a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made static", - "markdown": "Method 'TypeExpression' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 26, - "charOffset": 1536, - "charLength": 14, - "snippet": { - "text": "TypeExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1500, - "charLength": 175, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(StringConstant stringConst, CompilerContext context)\n {\n stringConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f85311edf9ff124ef031a751f46f4e30a8d574dc43c80262a515e6cef86ec768" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetKey' can be made static", - "markdown": "Method 'GetKey' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxParsingContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 24, - "charOffset": 357, - "charLength": 6, - "snippet": { - "text": "GetKey" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 187, - "charLength": 274, - "snippet": { - "text": " private readonly Dictionary> _memoizedNonTerminalResults = new Dictionary>();\n\n private string GetKey(IClause clause, int position)\n {\n return $\"{clause.Dump()} -- @{position}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21f83faed9e0384d1b2fc5ce2c851af38db02aa04b9cf14b5e8f0619600321de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BuildPrecedenceNonTerminal' can be made static", - "markdown": "Method 'BuildPrecedenceNonTerminal' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 216, - "startColumn": 33, - "charOffset": 9347, - "charLength": 26, - "snippet": { - "text": "BuildPrecedenceNonTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 214, - "startColumn": 1, - "charOffset": 9304, - "charLength": 228, - "snippet": { - "text": " }\n\n private NonTerminal BuildPrecedenceNonTerminal(string name, string nextName, List> operations)\n {\n var nonTerminal = new NonTerminal(name, new List>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24c3ea200b16fe458f95f13b70fec53a9b429d6f8fcb0bb3a51249baee49908a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNonTerminalNameForPrecedence' can be made static", - "markdown": "Method 'GetNonTerminalNameForPrecedence' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 342, - "startColumn": 24, - "charOffset": 14490, - "charLength": 31, - "snippet": { - "text": "GetNonTerminalNameForPrecedence" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 340, - "startColumn": 1, - "charOffset": 14456, - "charLength": 158, - "snippet": { - "text": " }\n\n private string GetNonTerminalNameForPrecedence(int precedence, List operators) \n {\n var operatorsPart = operators" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33d03ba8526f4f33bd39723390eb242df4b54511f718444d2b7889074c06afe9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NeedLeftAssociativity' can be made static", - "markdown": "Method 'NeedLeftAssociativity' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxTreeCleaner.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 22, - "charOffset": 1747, - "charLength": 21, - "snippet": { - "text": "NeedLeftAssociativity" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1724, - "charLength": 147, - "snippet": { - "text": "\n\n private bool NeedLeftAssociativity(SyntaxNode node)\n {\n return node.IsBinaryOperationNode && node.IsLeftAssociative" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "349991bff92c16c1284e9858385572a29206a2490745833949280549d55afd13" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Visit' can be made static", - "markdown": "Method 'Visit' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 228, - "startColumn": 46, - "charOffset": 7104, - "charLength": 5, - "snippet": { - "text": "Visit" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 226, - "startColumn": 1, - "charOffset": 7048, - "charLength": 162, - "snippet": { - "text": " }\n\n private SyntaxVisitorResult Visit(SyntaxLeaf leaf)\n {\n return SyntaxVisitorResult.NewToken(leaf.Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "411303da6adcf0084b2595c6eb77a8267ac78ed3dafb674efefcd78eab13b645" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binary' can be made static", - "markdown": "Method 'binary' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 19, - "charOffset": 1006, - "charLength": 6, - "snippet": { - "text": "binary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 977, - "charLength": 207, - "snippet": { - "text": " }\n\n private T binary(object left, object right, string operationName, Func operation)\n {\n if (left is T ltb && right is T rt && right.GetType() == left.GetType())" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4884ed0135a387364b890a511a3826af3c4faf1da6c94454098dd7f53250a472" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNameSpace' can be made static", - "markdown": "Method 'GetNameSpace' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/IndentedWhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 24, - "charOffset": 765, - "charLength": 12, - "snippet": { - "text": "GetNameSpace" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 740, - "charLength": 105, - "snippet": { - "text": "\n\n private string GetNameSpace(string id)\n {\n return $\"NS{id.Replace(\"-\", \"\")}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58926db77943e2d7e1be7fcc184932d315039ba17615ba00f16697733f9f5848" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetClassName' can be made static", - "markdown": "Method 'GetClassName' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/IndentedWhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 24, - "charOffset": 880, - "charLength": 12, - "snippet": { - "text": "GetClassName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 846, - "charLength": 117, - "snippet": { - "text": " }\n\n private string GetClassName(string id)\n {\n return $\"Class{id.Replace(\"-\", \"\")}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ec2db2121a5fcd30cef51d7bcdfafb76896517b889087374b2b992f8d4aab54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNameSpace' can be made static", - "markdown": "Method 'GetNameSpace' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 24, - "charOffset": 659, - "charLength": 12, - "snippet": { - "text": "GetNameSpace" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 634, - "charLength": 105, - "snippet": { - "text": "\n\n private string GetNameSpace(string id)\n {\n return $\"NS{id.Replace(\"-\", \"\")}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60a32b40d1fa87758eb4af276954d2e8686239b3e28dbd5445d2820cf5975579" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNodeLabel' can be made static", - "markdown": "Method 'GetNodeLabel' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 171, - "startColumn": 24, - "charOffset": 5070, - "charLength": 12, - "snippet": { - "text": "GetNodeLabel" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 169, - "startColumn": 1, - "charOffset": 5029, - "charLength": 122, - "snippet": { - "text": " \n \n private string GetNodeLabel(SyntaxNode node)\n {\n string label = node.Name;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f038f85cbe9030f35da5267e69c3c9453acd44d66ff3b8a7881baa0f17c7480" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetClassName' can be made static", - "markdown": "Method 'GetClassName' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileCompiler.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 24, - "charOffset": 774, - "charLength": 12, - "snippet": { - "text": "GetClassName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 740, - "charLength": 117, - "snippet": { - "text": " }\n\n private string GetClassName(string id)\n {\n return $\"Class{id.Replace(\"-\", \"\")}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "72f0680132c05cb69fe95758728be20c13372f6fe3be5fb412492cd494e45c7b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ComputePositionWhenIgnoringEOL' can be made static", - "markdown": "Method 'ComputePositionWhenIgnoringEOL' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 289, - "startColumn": 22, - "charOffset": 10501, - "charLength": 30, - "snippet": { - "text": "ComputePositionWhenIgnoringEOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 287, - "startColumn": 1, - "charOffset": 10469, - "charLength": 167, - "snippet": { - "text": " }\n\n private void ComputePositionWhenIgnoringEOL(FSMMatch r, List> tokens,\n FSMLexer LexerFsm)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a16cadc8c608c7bc8fc138fa3eef3c8af4f5b4092d9e1519e84d9fd69c7778f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Visit' can be made static", - "markdown": "Method 'Visit' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 206, - "startColumn": 46, - "charOffset": 7146, - "charLength": 5, - "snippet": { - "text": "Visit" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 204, - "startColumn": 1, - "charOffset": 7099, - "charLength": 153, - "snippet": { - "text": "\n\n private SyntaxVisitorResult Visit(SyntaxLeaf leaf)\n {\n return SyntaxVisitorResult.NewToken(leaf.Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac1eeba04c0fb0f1b604ca1511c3e53125fbcb2662ce8d85c9b2cd213ddd7a3f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExtractNTAndRule' can be made static", - "markdown": "Method 'ExtractNTAndRule' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 167, - "startColumn": 39, - "charOffset": 6092, - "charLength": 16, - "snippet": { - "text": "ExtractNTAndRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 165, - "startColumn": 1, - "charOffset": 6023, - "charLength": 163, - "snippet": { - "text": " #region CONFIGURATION\n\n private Tuple ExtractNTAndRule(string ruleString)\n {\n Tuple result = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b07d3e9562514ac722edca687cfa1d832fffcf8435847dae1ff56c7fc22c5bbc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BuildTerminalOrNonTerimal' can be made static", - "markdown": "Method 'BuildTerminalOrNonTerimal' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 238, - "startColumn": 29, - "charOffset": 9019, - "charLength": 25, - "snippet": { - "text": "BuildTerminalOrNonTerimal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 236, - "startColumn": 1, - "charOffset": 8989, - "charLength": 141, - "snippet": { - "text": "\n\n private IClause BuildTerminalOrNonTerimal(string name, bool discard = false, bool explicitToken = false)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b32a87ba1cacbd80a999dcac88ddbb24de9804e897347afebe9ae4b9fc59bb6d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNonTerminalNameFromProductionMethod' can be made static", - "markdown": "Method 'GetNonTerminalNameFromProductionMethod' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 169, - "startColumn": 24, - "charOffset": 7068, - "charLength": 38, - "snippet": { - "text": "GetNonTerminalNameFromProductionMethod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 167, - "startColumn": 1, - "charOffset": 7034, - "charLength": 154, - "snippet": { - "text": " }\n\n private string GetNonTerminalNameFromProductionMethod(MethodInfo operandMethod)\n {\n string operandNonTerminal = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c8990d5c64ef845ba73dd1e90e7634ecd4ff4ef822b04d3cbcc5e3af6d4c6a48" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'InitStartingTokensWithTerminal' can be made static", - "markdown": "Method 'InitStartingTokensWithTerminal' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 22, - "charOffset": 6938, - "charLength": 30, - "snippet": { - "text": "InitStartingTokensWithTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 6915, - "charLength": 167, - "snippet": { - "text": "\n\n private void InitStartingTokensWithTerminal(Rule rule, TerminalClause term)\n {\n rule.PossibleLeadingTokens.Add(term.ExpectedToken);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e59f75ae96dd5c31390ca0cb429906fd472fd37a11dfb1cab4ef60962ecf3222" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseRepeatedPattern' can be made static", - "markdown": "Method 'ParseRepeatedPattern' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 235, - "startColumn": 72, - "charOffset": 6238, - "charLength": 20, - "snippet": { - "text": "ParseRepeatedPattern" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 233, - "startColumn": 1, - "charOffset": 6165, - "charLength": 157, - "snippet": { - "text": "\n\n private (string constant, List<(char start, char end)> ranges) ParseRepeatedPattern(string pattern)\n {\n string toParse = pattern;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f24cb919926d2047ab7c090796e3947347f8789bcd9ad53d8770c7ae6e8044dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeMadeStatic.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BuildNonTerminal' can be made static", - "markdown": "Method 'BuildNonTerminal' can be made static" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 241, - "startColumn": 26, - "charOffset": 8914, - "charLength": 16, - "snippet": { - "text": "BuildNonTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 239, - "startColumn": 1, - "charOffset": 8878, - "charLength": 134, - "snippet": { - "text": " }\n\n private Rule BuildNonTerminal(Tuple ntAndRule)\n {\n var rule = new Rule();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fdb19dece58ca6f26bde33304f0b84b833762237eb299c1b27a35ca451ca94cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 520, - "startColumn": 9, - "charOffset": 17375, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 518, - "startColumn": 1, - "charOffset": 17356, - "charLength": 152, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(Not not, InterpreterContext context)\n {\n var positiveVal = Evaluate(not.Value, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02ab476aaddb255f2a8d10d62b313a68570e8f4ee1f4418587c7459a4482e595" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Statements' can be made private", - "markdown": "Property 'Statements' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 615, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 596, - "charLength": 108, - "snippet": { - "text": " }\n\n public List Statements { get; }\n public int Count => Statements.Count;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "03f48a26858401957dc7da94bcbbc72c2d4b9fab6248079a94b2078514b4fb33" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseZeroOrMore' can be made private", - "markdown": "Method 'ParseZeroOrMore' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 299, - "startColumn": 9, - "charOffset": 14195, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 297, - "startColumn": 1, - "charOffset": 14176, - "charLength": 194, - "snippet": { - "text": " }\n\n public SyntaxParseResult ParseZeroOrMore(IList> tokens, ZeroOrMoreClause clause, int position,\n SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04afdfc6bb7ffb2b7930d77838464047ca01348ad84ac73f6bd33fc7922250f8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Transcode' can be made private", - "markdown": "Method 'Transcode' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1113, - "startColumn": 9, - "charOffset": 42460, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1111, - "startColumn": 1, - "charOffset": 42441, - "charLength": 124, - "snippet": { - "text": " }\n\n public Token Transcode(FSMMatch match)\n {\n var tok = new Token();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04b244f00a792ea39a61f27952209b6656b7ddb2d90cb86b3cf8660a7bb3afd0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 225, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 206, - "charLength": 52, - "snippet": { - "text": " }\n\n public bool Value { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0513665f17436566c2f4235f0efdc8274b5c070020fbd070778a589d90b8ab0f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Equals' can be made private", - "markdown": "Method 'Equals' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 85, - "startColumn": 9, - "charOffset": 2133, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 83, - "startColumn": 1, - "charOffset": 2089, - "charLength": 133, - "snippet": { - "text": " return false;\n }\n protected bool Equals(TerminalClause other)\n {\n if (IsExplicitToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0580f16cded0d28bf935961a66e4f53762bd4f18bfebe65832a7c9ccc7ce4d2a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Dump' can be made private", - "markdown": "Method 'Dump' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 444, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 401, - "charLength": 112, - "snippet": { - "text": "\n [ExcludeFromCodeCoverage]\n public string Dump()\n {\n return RootScope.Dump(\"\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05d2e837fdee3a456bde94bdc7c6a74a22e4fb2eb3a8d2b723a9aebd1e4b11b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IteratorName' can be made private", - "markdown": "Property 'IteratorName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 9, - "charOffset": 238, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 184, - "charLength": 154, - "snippet": { - "text": " public int End { get; set; }\n \n public string IteratorName { get; set; }\n \n public List Items { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07e351377cab1db7dfabd74d4c538658ef2a5ac95df570b1eb6d35572ff428b3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'start_char' can be made private", - "markdown": "Constant 'start_char' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 9, - "charOffset": 1703, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1587, - "charLength": 286, - "snippet": { - "text": " public const string in_string = \"in_string\";\n public const string string_end = \"string_end\";\n public const string start_char = \"start_char\";\n public const string escapeChar_char = \"escapeChar_char\";\n public const string unicode_char = \"unicode_char\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "086caefeeb5adab2f6261a292ad99858c1420132ed9e683d82628d4a99ea79cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 330, - "startColumn": 9, - "charOffset": 10803, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 328, - "startColumn": 1, - "charOffset": 10784, - "charLength": 159, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(BoolConstant boolConst, InterpreterContext context)\n {\n return new TypedValue(boolConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0986155212fd6f9a17467c3863958a1b53dcf8df30309154f57692c3c0e5f12e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Name' can be made private", - "markdown": "Field 'Name' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 169, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 101, - "charLength": 89, - "snippet": { - "text": " public class GroupItem where IN : struct\n {\n public string Name;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b45371a456fd91ac78762db2a85598877d7201b80f05f3fb9d4c4a983936391" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'CallBacks' can be made private", - "markdown": "Field 'CallBacks' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 9, - "charOffset": 3580, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3570, - "charLength": 137, - "snippet": { - "text": "\n\n protected Dictionary, Token>> CallBacks =\n new Dictionary, Token>>();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b71dfb716f6fa61491a54432c3c5fcaa704a01fee2bc7cb2619ff9af8b19964" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'VariableName' can be made private", - "markdown": "Property 'VariableName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 9, - "charOffset": 117, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 68, - "charLength": 132, - "snippet": { - "text": " public class Value : ITemplate\n {\n public string VariableName { get; set; }\n\n public Value(string variableName)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c17507477973afbf18a159c92c7f706737ea52e13af2ef71af1a5a117abc74f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 9, - "charOffset": 1314, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 1295, - "charLength": 169, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(BoolConstant boolConst, CompilerContext context)\n {\n boolConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0cf8e41c8d8a9662abb7c3bb3de76af4cb5a217b8e3490c2733eebd126a750dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'scopes' can be made private", - "markdown": "Field 'scopes' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 186, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 143, - "charLength": 136, - "snippet": { - "text": " public Scope ParentScope;\n\n public List scopes;\n\n private readonly Dictionary variables;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e02b44f4d935fcf865f707ffa268e8850765855574f19168adeabd2c9beb870" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'LexemeLabels' can be made private", - "markdown": "Property 'LexemeLabels' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 426, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 344, - "charLength": 276, - "snippet": { - "text": " public Action> SyntaxParseCallback { get; set; }\n\n public Dictionary> LexemeLabels => Lexer.LexemeLabels;\n\n public Parser(string i18n, ISyntaxParser syntaxParser, SyntaxTreeVisitor visitor)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e28d168ff171ce194749596eb47f04f57df1e58dfcafad10c68467581c3b347" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'upToCounter' can be made private", - "markdown": "Field 'upToCounter' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 9, - "charOffset": 3543, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 3463, - "charLength": 108, - "snippet": { - "text": " protected int StringCounter;\n protected int CharCounter;\n protected int upToCounter;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e4c8e3b38a0d6f1a9ab8c7e7f97e4a023ef8ebe35764c2e1ffdd1530dfebc71" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CheckLeftRecursion' can be made private", - "markdown": "Method 'CheckLeftRecursion' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 9, - "charOffset": 3282, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 3255, - "charLength": 230, - "snippet": { - "text": " }\n \n public static (bool recursionFound,List> recursion) CheckLeftRecursion(ParserConfiguration configuration,\n NonTerminal nonTerminal, List currentPath)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0eb68e6d3cabe7dc5aea828d63ffabaa13da87ec565fb8c2ed0081816a66a837" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetIndentations' can be made private", - "markdown": "Method 'GetIndentations' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 178, - "startColumn": 9, - "charOffset": 5024, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 176, - "startColumn": 1, - "charOffset": 5005, - "charLength": 158, - "snippet": { - "text": " }\n\n public List GetIndentations(ReadOnlyMemory source, int index)\n {\n List indentations = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "103437f11f3de46e6fd41c773f695f5b376dacc4bdfe96e6876d771d9c655713" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'diffCharEscaper' can be made private", - "markdown": "Method 'diffCharEscaper' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 715, - "startColumn": 9, - "charOffset": 26031, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 713, - "startColumn": 1, - "charOffset": 26021, - "charLength": 167, - "snippet": { - "text": "\n\n public ReadOnlyMemory diffCharEscaper(char escapeStringDelimiterChar, char stringDelimiterChar,\n ReadOnlyMemory stringValue)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1081162abdb0ef05aa1d73302b70246787d941927c3be64047b79481a0e85aab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 512, - "startColumn": 9, - "charOffset": 17010, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 510, - "startColumn": 1, - "charOffset": 17000, - "charLength": 143, - "snippet": { - "text": "\n\n public TypedValue Evaluate(Neg neg, InterpreterContext context)\n {\n var positiveVal = Evaluate(neg.Value, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11d951b64682afe9c357b6fa0b2574bdc135a0df86474c85d267e6b3a8d9f0b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AddCallback' can be made private", - "markdown": "Method 'AddCallback' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 9, - "charOffset": 1380, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1361, - "charLength": 264, - "snippet": { - "text": " }\n\n public static void AddCallback(GenericLexer lexer, MethodInfo method, IN token) where IN : struct\n {\n var callbackDelegate = (Func,Token>)Delegate.CreateDelegate(typeof(Func,Token>), method);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11eb48f5831e160604df152e2290f9d0fc981b3d7bf64941dd19d15286569636" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FindEgdes' can be made private", - "markdown": "Method 'FindEgdes' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 9, - "charOffset": 1492, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1473, - "charLength": 150, - "snippet": { - "text": " }\n\n public IList FindEgdes(DotNode node)\n {\n var nodeEdges = edges.Where(x => x.Source?.Name == node.Name);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1359a9c7e2a4b944ac6052d495477156a104485f5d231974b95dd3cfb2b935fa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExceptTransitionTo' can be made private", - "markdown": "Method 'ExceptTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 477, - "startColumn": 9, - "charOffset": 15464, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 475, - "startColumn": 1, - "charOffset": 15445, - "charLength": 238, - "snippet": { - "text": " }\n\n public FSMLexerBuilder ExceptTransitionTo(char[] exceptions, int toNode, TransitionPrecondition precondition)\n {\n AbstractTransitionCheck checker = new TransitionAnyExcept(precondition, exceptions);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "137a864f26157daea30a5dc316c93ea84453e00dd1bacb8250f4072cd4b6c1f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 9, - "charOffset": 1120, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1056, - "charLength": 135, - "snippet": { - "text": " public string StringValue => Value.ToString();\n\n public object Value { get; }\n\n public override string ToString()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "141792e9185279f0767a5c8677d4ac1a78197a83cf2fd20dab8d8fdfb4554819" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'TokenChannel' can be made private", - "markdown": "Constructor 'TokenChannel' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 533, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 482, - "charLength": 148, - "snippet": { - "text": " public int Count => Tokens.Count;\n\n public TokenChannel(List> tokens, int channelId)\n {\n Tokens = tokens;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "14eee97614cd44f87f35b4c7f0c671aa1941ff3643e41ac27994c8cf501b5417" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'UnexpectedChar' can be made private", - "markdown": "Property 'UnexpectedChar' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 470, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 424, - "charLength": 252, - "snippet": { - "text": " private string I18n;\n \n public char UnexpectedChar { get; set; }\n\n public override string ErrorMessage => I18N.Instance.GetText(I18n,I18NMessage.UnexpectedChar,UnexpectedChar.ToString(), Line.ToString(), Column.ToString());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15304cade1f171066554fed982f7ae61a24501e33cd4334d4989f70680dd7fe7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Associativity' can be made private", - "markdown": "Property 'Associativity' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 9, - "charOffset": 1440, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1352, - "charLength": 228, - "snippet": { - "text": " public int Precedence => IsExpressionNode ? Operation.Precedence : -1;\n\n public Associativity Associativity =>\n IsExpressionNode && IsBinaryOperationNode ? Operation.Associativity : Associativity.None;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "156b91da77c13cf178640b22994f95aa1b35cc913af2a1b0eea0dae4f95c43d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Name' can be made private", - "markdown": "Property 'Name' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 247, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 228, - "charLength": 99, - "snippet": { - "text": " }\n\n public string Name { get; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1720311c1c9c49c9e6c71da7b5c95e20ddcc20918c19e6025f0f66365d3ec54c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' can be made private", - "markdown": "Method 'Attribute' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 456, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 446, - "charLength": 116, - "snippet": { - "text": "\n\n public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17ed4f79ec63fb364a07df936590be798fc7423a7ce571eb0d9e4d06a75f83b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IsUnIndent.set' can be made private", - "markdown": "Accessor 'IsUnIndent.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 39, - "charOffset": 536, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 446, - "charLength": 152, - "snippet": { - "text": " public bool IsIndent { get; set; }\n \n public bool IsUnIndent { get; set; }\n \n public int UnIndentCount { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "183bc8bb3790f340f159b31ab052f81c3911789469c9f1ee1d78a252a0cfe8ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseOneOrMore' can be made private", - "markdown": "Method 'ParseOneOrMore' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 382, - "startColumn": 9, - "charOffset": 18017, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 380, - "startColumn": 1, - "charOffset": 17998, - "charLength": 192, - "snippet": { - "text": " }\n\n public SyntaxParseResult ParseOneOrMore(IList> tokens, OneOrMoreClause clause, int position,\n SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18a0fec6655a85c49a8de9abc363a26fcd175b0131f01b8c0f64d6e43ed57ec0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'intDerivedToken' can be made private", - "markdown": "Field 'intDerivedToken' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 9, - "charOffset": 3286, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 3155, - "charLength": 162, - "snippet": { - "text": " public FSMLexerBuilder FSMBuilder { get; private set; }\n protected IN identifierDerivedToken;\n protected IN intDerivedToken;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19cceff507acb86b87bea4be9c7233c2ad801104bdf778dff59b30620c7aaec0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 319, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 300, - "charLength": 54, - "snippet": { - "text": " }\n\n public string Value { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1bc47b109744188a2c7b477a6daee15f0fd205588f42cc183d8418e9fa335802" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SafeParse' can be made private", - "markdown": "Method 'SafeParse' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 1039, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 1012, - "charLength": 244, - "snippet": { - "text": " }\n \n public SyntaxParseResult SafeParse(IList> tokens, SyntaxParsingContext parsingContext, string startingNonTerminal = null)\n {\n var start = startingNonTerminal ?? StartingNonTerminal;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1c34c5c9f97123fe9891d2184dc4e983b0653ddafb1e40713e35a26cef44db8f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GoTo' can be made private", - "markdown": "Method 'GoTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 777, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 746, - "charLength": 119, - "snippet": { - "text": " #region MARKS\n\n public FSMLexerBuilder GoTo(int state)\n {\n if (Fsm.HasState(state))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e9918ecb4f6d813acb3f83cc2b5bfe14a51fed974e14aa53530f39826baff02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CreateSubRule' can be made private", - "markdown": "Method 'CreateSubRule' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 9, - "charOffset": 3790, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 3771, - "charLength": 184, - "snippet": { - "text": " }\n\n public NonTerminal CreateSubRule(GroupClause group)\n {\n var clauses = string.Join(\"-\",group.Clauses.Select(x => x.Dump())).Replace(\" \",\"\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f77a356ee64ff5f5cf7819457d3165b31d7db90ebbca3daeaa8a6b866e8ec20" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'unicode_char' can be made private", - "markdown": "Constant 'unicode_char' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 9, - "charOffset": 1823, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1695, - "charLength": 278, - "snippet": { - "text": " public const string start_char = \"start_char\";\n public const string escapeChar_char = \"escapeChar_char\";\n public const string unicode_char = \"unicode_char\";\n public const string in_char = \"in_char\";\n public const string end_char = \"char_end\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "23155b6aefda4c836d0181c9de313ece7a4daa73dacda2451d3ae8a640f0724f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetChannel' can be made private", - "markdown": "Method 'GetChannel' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 9, - "charOffset": 1134, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1107, - "charLength": 116, - "snippet": { - "text": " }\n \n public TokenChannel GetChannel(int i)\n {\n return _tokenChannels[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "23c63f4e74180d1d327ea9646ef14455bbb7f175b2f1135a240d86b4a079e900" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Items' can be made private", - "markdown": "Field 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 204, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 140, - "charLength": 170, - "snippet": { - "text": " public class Group where IN : struct\n {\n public List> Items;\n\n public Dictionary> ItemsByName;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "289903c622ba5ee7f154ae1e7860f228c3d9e11901d36481d3a200871f0e186f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseWithContext' can be made private", - "markdown": "Method 'ParseWithContext' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 9, - "charOffset": 3631, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 3621, - "charLength": 207, - "snippet": { - "text": "\n\n public ParseResult ParseWithContext(IList> tokens, object parsingContext = null, string startingNonTerminal = null)\n {\n var result = new ParseResult();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30cab42128b6052f638afaf05ba3bc84834feaeecac205c2db0fab3ffe259b87" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 287, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 268, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3164b6833b4d8dc933bd5a36adf52133a1d0faaebb59ad1103bdbe721b09ab72" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsToken' can be made private", - "markdown": "Property 'IsToken' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 546, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 497, - "charLength": 122, - "snippet": { - "text": " public Token Token { get; }\n\n public bool IsToken { get; set; }\n\n public OUT Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "328756fd3abf3cab6f9e4fc9e21b64846d7aaeca193c9c350a5af0a3542e4b67" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'UnIndentCount.set' can be made private", - "markdown": "Accessor 'UnIndentCount.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 41, - "charOffset": 592, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 498, - "charLength": 159, - "snippet": { - "text": " public bool IsUnIndent { get; set; }\n \n public int UnIndentCount { get; set; }\n \n public int IndentationLevel { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32d7cefe432a51a88c619537e9e620f121b149420ebb3f478c8d109f069cf6ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'RepetitionTransitionTo' can be made private", - "markdown": "Method 'RepetitionTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 385, - "startColumn": 9, - "charOffset": 11773, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 383, - "startColumn": 1, - "charOffset": 11754, - "charLength": 172, - "snippet": { - "text": " }\n\n public FSMLexerBuilder RepetitionTransitionTo(int toNode, int count, string pattern,\n TransitionPrecondition precondition = null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "338a57039b8f1232a61c1305abbfa28995dc0f1a06944e5d32a85989fe5722e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IteratorName' can be made private", - "markdown": "Property 'IteratorName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 227, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 165, - "charLength": 162, - "snippet": { - "text": " public string ListName { get; set; }\n \n public string IteratorName { get; set; }\n \n public List Items { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33bd2c8db0ba9785c3e32745628bf84dc1bfa5667203c4ffcdbd05fbfbdf511b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Sin' can be made private", - "markdown": "Method 'Sin' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 179, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 164, - "charLength": 154, - "snippet": { - "text": " {\n\n public static double Sin(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "374f104188977fd8adc96cf462b0a5babfe972890a5f6d94b45996d92d18d788" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'RootScope' can be made private", - "markdown": "Property 'RootScope' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 295, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 244, - "charLength": 156, - "snippet": { - "text": " public bool IsQuiet { get; set; }\n\n public Scope RootScope { get; protected set; }\n\n public Scope CurrentScope { get; protected set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "397f6371f401199c44ab25eefd257bca0fd51d5a9be3f73b6bad97f1f2d0ab7d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'in_up_to' can be made private", - "markdown": "Constant 'in_up_to' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 9, - "charOffset": 2543, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2417, - "charLength": 219, - "snippet": { - "text": " public const string escape_string = \"escape_string\";\n public const string escape_char = \"escape_char\";\n public const string in_up_to = \"in_upto\";\n public const string end_date = \"end_date\";\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a02d18cc9e671bb027b4c7bc4d01d4584e219f11e000955b3af0f46d61b0f9a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'derivedTokens' can be made private", - "markdown": "Field 'derivedTokens' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 9, - "charOffset": 2816, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2724, - "charLength": 246, - "snippet": { - "text": " public const string multi_line_comment_start = \"multi_line_comment_start\";\n\n protected readonly\n Dictionary>\n derivedTokens;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a558ee9e9f991efcfa18813c9bdd62232c8b2a6078d6e0b8dc856e8c59686c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' can be made private", - "markdown": "Method 'TransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 358, - "startColumn": 9, - "charOffset": 10552, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 356, - "startColumn": 1, - "charOffset": 10542, - "charLength": 208, - "snippet": { - "text": "\n\n public FSMLexerBuilder TransitionTo(char input, int toNode, TransitionPrecondition precondition)\n {\n AbstractTransitionCheck checker = new TransitionSingle(input, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3d3b9174214a758df7fab7d3764f6a76ff2e2e514be9bb069c6470f70df447ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Content' can be made private", - "markdown": "Property 'Content' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Text.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 9, - "charOffset": 116, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 68, - "charLength": 120, - "snippet": { - "text": " public class Text : ITemplate\n {\n public string Content { get; set; }\n\n public Text(string content)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e6884534c99a71ed4d6005b7dac47cb1bf747cd320c3da70d80ac3a588949ef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'TempLexerFsm' can be made private", - "markdown": "Field 'TempLexerFsm' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 9, - "charOffset": 3326, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 3316, - "charLength": 145, - "snippet": { - "text": "\n\n protected FSMLexer TempLexerFsm;\n\n internal IDictionary> SubLexersFsm { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e70054ce57f816fca5bf037357ee774bf9fe3015a22e2cad9736ca17f5b3c43" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IndentationLevel.set' can be made private", - "markdown": "Accessor 'IndentationLevel.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 44, - "charOffset": 651, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 552, - "charLength": 151, - "snippet": { - "text": " public int UnIndentCount { get; set; }\n \n public int IndentationLevel { get; set; }\n\n public Token Result { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4070c1f93b0ae4e412931c20e4e560e9ff62a4d9a3cb4c7ef4b992d4178c305f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Id' can be made private", - "markdown": "Field 'Id' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 9, - "charOffset": 127, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 90, - "charLength": 86, - "snippet": { - "text": " public class Scope\n {\n public int Id;\n\n public Scope ParentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "424dde26e47658121951f48f466c147f59e5a8ef5fa5c217b90a8e45bdc75a00" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsOk' can be made private", - "markdown": "Property 'IsOk' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 9, - "charOffset": 365, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 314, - "charLength": 134, - "snippet": { - "text": " public bool IsError { get; set; }\n\n public bool IsOk => !IsError;\n\n public List Errors { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47fccbd49bbaf5a48114ab3f50ba16c7a10cb23da6e70142f0b6c896213a1cf4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'FSMMatch' can be made private", - "markdown": "Constructor 'FSMMatch' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 9, - "charOffset": 1340, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1321, - "charLength": 108, - "snippet": { - "text": " }\n\n protected FSMMatch()\n {\n Properties = new Dictionary();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a24ce2d4c0a2a3efd98433b2fb5606c623a7f4a05f5c8e6e2d333e3f0a79028" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsUnaryOperationNode' can be made private", - "markdown": "Property 'IsUnaryOperationNode' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 9, - "charOffset": 1264, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1158, - "charLength": 273, - "snippet": { - "text": "\n public bool IsBinaryOperationNode => IsExpressionNode && Operation.Affix == Affix.InFix;\n public bool IsUnaryOperationNode => IsExpressionNode && Operation.Affix != Affix.InFix;\n public int Precedence => IsExpressionNode ? Operation.Precedence : -1;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ab42a7e319f7071fa3a5d4fe12fd5393ea20d8764d0188e64deab49b1411535" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransitionTo' can be made private", - "markdown": "Method 'AnyTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 487, - "startColumn": 9, - "charOffset": 15939, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 485, - "startColumn": 1, - "charOffset": 15920, - "charLength": 149, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransitionTo(int toNode)\n {\n AbstractTransitionCheck checker = new TransitionAny();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b6222b5daffe37a9317aa8902bf471e81f2340bf156f4ad4821c0674fb6e2fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Condition' can be made private", - "markdown": "Property 'Condition' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 179, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 125, - "charLength": 127, - "snippet": { - "text": " public class IfThenElse : ITemplate\n {\n public Expression Condition { get; set; }\n\n public Block ThenBlock" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f0458fbccf34bc5e36d009a35a01ec44e79c4b75ae14dcfeb6226f654ad73f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Cond.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 9, - "charOffset": 115, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 55, - "charLength": 147, - "snippet": { - "text": " public Identifier Id { get; set; }\n \n public Integer Value { get; set; }\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f79c0de0eb558c2a9579bac5e425786683dc67163d39c57880fa45f3b9d6cec" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Configuration' can be made private", - "markdown": "Property 'Configuration' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 275, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 259, - "charLength": 144, - "snippet": { - "text": " \n\n public ParserConfiguration Configuration { get; set; }\n public string StartingNonTerminal { get; set; }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "509ba6eb22ed89d1c6416edf687a2519deb74f3780c2d750e15f1ecde1059cb3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'StringCounter' can be made private", - "markdown": "Field 'StringCounter' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 98, - "startColumn": 9, - "charOffset": 3471, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 96, - "startColumn": 1, - "charOffset": 3374, - "charLength": 195, - "snippet": { - "text": " internal IDictionary> SubLexersFsm { get; set; }\n\n protected int StringCounter;\n protected int CharCounter;\n protected int upToCounter;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52a2a972694811e40c1c590515698cd05c3e6e3c854a7dfea09e8aa4eb0e8e6e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 9, - "charOffset": 1937, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1918, - "charLength": 172, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(BinaryOperation operation, CompilerContext context)\n {\n operation.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "59a66e4149329342019a72613b19fb569770c7d63c10bf42829afee45bf52545" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Tan' can be made private", - "markdown": "Method 'Tan' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 736, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 709, - "charLength": 166, - "snippet": { - "text": " }\n \n public static double Tan(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5deebf87b724c59a22d36741051b320dac64efe678d23fb68157b72e1af8701c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' can be made private", - "markdown": "Method 'Attribute' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 9, - "charOffset": 677, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 658, - "charLength": 166, - "snippet": { - "text": " }\n\n public string Attribute(string name, double value)\n {\n return Attribute(name, string.Format(\"{0:0.00}\", value).Replace(\",\",\".\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6041c9bb20fb95e2cc72b8ac0aaf05daf2c850df5724c5a33709fa8b91df93e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetLexemes' can be made private", - "markdown": "Method 'GetLexemes' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 9, - "charOffset": 1544, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1521, - "charLength": 203, - "snippet": { - "text": " {\n \n public static Dictionary,List)> GetLexemes(BuildResult> result, string lang)\n where IN : struct\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "606130445ee10d6476af70133b9d6cf4607895495dd1f7990e2464de3753df65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' can be made private", - "markdown": "Method 'TransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 347, - "startColumn": 9, - "charOffset": 10146, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 345, - "startColumn": 1, - "charOffset": 10119, - "charLength": 176, - "snippet": { - "text": " }\n \n public FSMLexerBuilder TransitionTo(char[] inputs, int toNode)\n {\n AbstractTransitionCheck checker = new TransitionMany(inputs);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6094f0dcd2c9d2f0445334d2aacfcd7972c06a66e1283eb947326953868726ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' can be made private", - "markdown": "Method 'TransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 337, - "startColumn": 9, - "charOffset": 9735, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 335, - "startColumn": 1, - "charOffset": 9689, - "charLength": 193, - "snippet": { - "text": " #region DIRECTED TRANSITIONS\n\n public FSMLexerBuilder TransitionTo(char input, int toNode)\n {\n AbstractTransitionCheck checker = new TransitionSingle(input);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "636c885eb5393ba863c4588b76bff8fbacdb8b0e9cc9df7b13eee95fd253aff2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'LexerPosition' can be made private", - "markdown": "Constructor 'LexerPosition' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerPosition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 797, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 770, - "charLength": 298, - "snippet": { - "text": " }\n \n public LexerPosition(int index, int line, int column, ImmutableStack indentations, int currentIndentation, string mode = ModeAttribute.DefaultLexerMode) : this(index, line, column, indentations, mode)\n {\n CurrentIndentation = currentIndentation;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "643f8d396fd8c8e5334d9f247208ac4ba20134fd0dd179687cc1ef501ce8dfa3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Ln' can be made private", - "markdown": "Method 'Ln' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 9, - "charOffset": 1294, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1267, - "charLength": 165, - "snippet": { - "text": " }\n \n public static double Ln(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6454cb4af58590bf5b1f4004c68ac5414f5584ad0289be593b369697de564707" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' can be made private", - "markdown": "Method 'TransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 368, - "startColumn": 9, - "charOffset": 11014, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 366, - "startColumn": 1, - "charOffset": 10987, - "charLength": 227, - "snippet": { - "text": " }\n \n public FSMLexerBuilder TransitionTo(char[] inputs, int toNode, TransitionPrecondition precondition)\n {\n AbstractTransitionCheck checker = new TransitionMany(inputs, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6473acabef7a6335e81af62b1190bec45d87926f663a4995cef4f8ca76923511" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'in_char' can be made private", - "markdown": "Constant 'in_char' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 9, - "charOffset": 1882, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1750, - "charLength": 268, - "snippet": { - "text": " public const string escapeChar_char = \"escapeChar_char\";\n public const string unicode_char = \"unicode_char\";\n public const string in_char = \"in_char\";\n public const string end_char = \"char_end\";\n public const string start = \"start\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "671f48610003cd0f75343586b2a79c195c0f0136b36a719a0e54a44d94d21169" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'ThenBlock' can be made private", - "markdown": "Property 'ThenBlock' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 230, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 171, - "charLength": 108, - "snippet": { - "text": " public Expression Condition { get; set; }\n\n public Block ThenBlock\n {\n get;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "681cd6923188fe5147eacd6e880551329140c33c22027ca3d708b36b3d88dcd9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AddLexeme' can be made private", - "markdown": "Method 'AddLexeme' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 488, - "startColumn": 9, - "charOffset": 17809, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 486, - "startColumn": 1, - "charOffset": 17790, - "charLength": 190, - "snippet": { - "text": " }\n\n public void AddLexeme(GenericToken genericToken, BuildResult> result, IN token, bool isPop,\n bool isPush, string mode, string specialValue)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68c8bd15b8770ae9f08fb084810910201e54dbaec90552cbb894d34ec63c7f00" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Parameters' can be made private", - "markdown": "Property 'Parameters' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 9, - "charOffset": 1842, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1823, - "charLength": 109, - "snippet": { - "text": " }\n\n public List Parameters { get; set; }\n\n public string Name { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b8e5f94b0f5748c32d6166c2f907574024f2c1f6d6d67c570923b057f2bb8f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CheckBinaryOperationTyping' can be made private", - "markdown": "Method 'CheckBinaryOperationTyping' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 298, - "startColumn": 9, - "charOffset": 9418, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 296, - "startColumn": 1, - "charOffset": 9371, - "charLength": 184, - "snippet": { - "text": " private bool IsQuiet { get; }\n\n public WhileType CheckBinaryOperationTyping(BinaryOperator oper, WhileType left, WhileType right)\n {\n WhileType result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6cb0fea27fb14ee9961e2fbd0aaf5e8e5f0d55e063821f46a992eccbd04acef6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Visitor' can be made private", - "markdown": "Property 'Visitor' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 9, - "charOffset": 953, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 835, - "charLength": 246, - "snippet": { - "text": " public object Instance { get; set; }\n public ISyntaxParser SyntaxParser { get; set; }\n public SyntaxTreeVisitor Visitor { get; set; }\n public ParserConfiguration Configuration { get; set; }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ceffa95dac576bb5dc895045e5893eb0594e1ffd8c0417ec1c35907a0694d23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ComputeSubRules' can be made private", - "markdown": "Method 'ComputeSubRules' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 11, - "charOffset": 456, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 404, - "charLength": 216, - "snippet": { - "text": " public string I18n { get; set; }\n\n public ParserConfiguration ComputeSubRules(ParserConfiguration configuration)\n {\n var newNonTerms = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d6726757639a37bd1b986dedd9bb840d18c5a8c387078ac163a260eb23ad2e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 441, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 387, - "charLength": 128, - "snippet": { - "text": " public override bool IsList => true;\n\n public List Items { get; }\n\n public int Count => Items.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6def0fc1c8d70cfb1d220c1eb847e4b3f34b714a3cfa6e6d7cd41b3b3a3fe5ba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'buildSimpleExpressionParserWithContext' can be made private", - "markdown": "Method 'buildSimpleExpressionParserWithContext' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 429, - "startColumn": 9, - "charOffset": 13468, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 427, - "startColumn": 1, - "charOffset": 13458, - "charLength": 117, - "snippet": { - "text": "\n\n public static BuildResult> buildSimpleExpressionParserWithContext()\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f1f4a7de2fbb53919d2d95726fda5fb9e2b73c95065fd405d015d9a6b16aeef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetLeftClausesName' can be made private", - "markdown": "Method 'GetLeftClausesName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 640, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 621, - "charLength": 122, - "snippet": { - "text": " }\n\n public static List GetLeftClausesName(IClause clause)\n {\n switch (clause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fd616d34b712575c47fd6c12aa7459430ac10c5f0f71d0f2bfcd3955f37cc39" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 452, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 398, - "charLength": 128, - "snippet": { - "text": " public override bool IsList => true;\n\n public List Items { get; }\n\n public int Count => Items.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "710c64d138ff613a868283d9281da6fdafdcc6517892c21634ea1d7a8a8c13bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Transition' can be made private", - "markdown": "Method 'Transition' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 206, - "startColumn": 9, - "charOffset": 5268, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 204, - "startColumn": 1, - "charOffset": 5242, - "charLength": 143, - "snippet": { - "text": " \n \n public FSMLexerBuilder Transition(char[] inputs)\n {\n return TransitionTo(inputs, Fsm.NewNodeId);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78453d1c41de7112e3a1f31c7e0fa3feb6793328b4950c0796950db361ca8c72" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetNode' can be made private", - "markdown": "Method 'GetNode' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 9, - "charOffset": 1532, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1513, - "charLength": 106, - "snippet": { - "text": " }\n\n public FSMNode GetNode(int nodeId)\n {\n return Fsm.GetNode(nodeId);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "79fc0a23998b1e14f31b3c2ab521f145517ff07a3682ed69d952aca3ff6145a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Start' can be made private", - "markdown": "Property 'Start' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 144, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 121, - "charLength": 99, - "snippet": { - "text": " {\n \n public int Start { get; set; }\n \n public int End { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a2cd85017293eaf7649db1c94983b11df8f9745e9da1da030e8ee8d88d1adc1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 345, - "startColumn": 9, - "charOffset": 11290, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 343, - "startColumn": 1, - "charOffset": 11271, - "charLength": 168, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(BinaryOperation operation, InterpreterContext context)\n {\n var left = Evaluate(operation.Left, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a2d0d2f9231903ecc8ae07ffcde105ccdf5ef22a3d9ed25c43aa401c4a59990" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'CharDelimiter' can be made private", - "markdown": "Field 'CharDelimiter' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 587, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 514, - "charLength": 158, - "snippet": { - "text": " public char DecimalSeparator = '.';\n [JsonIgnore]\n public char CharDelimiter ='\\'';\n [JsonIgnore]\n public bool Notignored;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7eef21b0e8aca4774c42a2343f6de7976c344d9029337eedc23c61a7879eba77" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' can be made private", - "markdown": "Method 'Attribute' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotArrow.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 9, - "charOffset": 373, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 346, - "charLength": 133, - "snippet": { - "text": " }\n \n public string Attribute(string name, string value)\n {\n if (!string.IsNullOrEmpty(value))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "803e7af8b8003e9bb53c863424a24e3e624db61b2059bf439d2551b19e34fb56" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Tokens.set' can be made private", - "markdown": "Accessor 'Tokens.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 48, - "charOffset": 302, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 203, - "charLength": 165, - "snippet": { - "text": " public LexicalError Error { get; }\n \n public TokenChannels Tokens { get; set; }\n \n public LexerResult(List> tokens)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81712ce9c4b97ea94ee78a22e523429fe450a5bf95eb14e0f8265abe2e06d838" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' can be made private", - "markdown": "Method 'Add' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 9, - "charOffset": 1514, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1495, - "charLength": 101, - "snippet": { - "text": " }\n\n public void Add(Token token)\n {\n token.TokenChannels = this;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8363448a37b658948e58df3e8065dafed7252140db7cbdf23666a89935afa968" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sameCharEscaper' can be made private", - "markdown": "Method 'sameCharEscaper' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 737, - "startColumn": 9, - "charOffset": 26635, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 735, - "startColumn": 1, - "charOffset": 26616, - "charLength": 176, - "snippet": { - "text": " }\n\n public ReadOnlyMemory sameCharEscaper(char escapeStringDelimiterChar, char stringDelimiterChar,\n ReadOnlyMemory stringValue)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8681299ce2b8d31ccdeedc5ce5829d119f79e6cf0ee89d569bcee0e5fd6efef7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Name' can be made private", - "markdown": "Property 'Name' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 9, - "charOffset": 1900, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1834, - "charLength": 177, - "snippet": { - "text": " public List Parameters { get; set; }\n\n public string Name { get; set; }\n \n public FunctionCall(string name, List parameters)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "86abfd3c01073054f71c1a2c488048b321e487c1ec9011fc1b9d7f5cc657077e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'CharCounter' can be made private", - "markdown": "Field 'CharCounter' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 9, - "charOffset": 3508, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3462, - "charLength": 108, - "snippet": { - "text": "\n protected int StringCounter;\n protected int CharCounter;\n protected int upToCounter;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "86bb76c50db3f8b698a1be371088f90c991c77be3981a8b8b7c002fe25871901" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 301, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 282, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "87fefaac73330a62199cb47d8221efd4f3b8cb41a29ae92b6be236ffab50e02c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'end_date' can be made private", - "markdown": "Constant 'end_date' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 9, - "charOffset": 2593, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2478, - "charLength": 159, - "snippet": { - "text": " public const string escape_char = \"escape_char\";\n public const string in_up_to = \"in_upto\";\n public const string end_date = \"end_date\";\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89323d316e16683db1c33ff9bbae93671b7ac1251d4750391bd7ecccb93db161" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransitionTo' can be made private", - "markdown": "Method 'MultiRangeTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 446, - "startColumn": 9, - "charOffset": 14254, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 444, - "startColumn": 1, - "charOffset": 14235, - "charLength": 178, - "snippet": { - "text": " }\n\n public FSMLexerBuilder MultiRangeTransitionTo(int toNode,\n TransitionPrecondition precondition, params (char start, char end)[] ranges)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8cf643f046287ac65a525b86227838f4fa14d8cf5496f64873c15efd44efdd74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'End' can be made private", - "markdown": "Property 'End' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 192, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 136, - "charLength": 142, - "snippet": { - "text": " public int Start { get; set; }\n \n public int End { get; set; }\n \n public string IteratorName { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8fcef8e8ecbf8775fdb8a9ee29a3dc80cfec6f40e2652f4a8089f12e35c97789" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetLeftClausesName' can be made private", - "markdown": "Method 'GetLeftClausesName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 9, - "charOffset": 1515, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1496, - "charLength": 186, - "snippet": { - "text": " }\n\n public static List GetLeftClausesName(Rule rule, ParserConfiguration configuration)\n {\n List lefts = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91a4aec26726ec75f1eb4bed7f16ebd2b103f31d00acc10fc929de8d7946ae3e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 285, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 219, - "charLength": 193, - "snippet": { - "text": " public string IteratorName { get; set; }\n \n public List Items { get; set; }\n\n public ForEach(string listName, string iteratorName, List items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9315031e00e21d298c50443ba795903af5c97fdcb85d3f021136408ba3a45dfe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseNonTerminal' can be made private", - "markdown": "Method 'ParseNonTerminal' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 288, - "startColumn": 9, - "charOffset": 11541, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 286, - "startColumn": 1, - "charOffset": 11515, - "charLength": 204, - "snippet": { - "text": " \n \n public SyntaxParseResult ParseNonTerminal(IList> tokens, string nonTerminalName,\n int currentPosition, SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "936a4fabb80fc490741ba27b103762ee228e73b8e38b1b7b44bfa32907aa6682" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Id' can be made private", - "markdown": "Property 'Id' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Cond.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 9, - "charOffset": 63, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 21, - "charLength": 128, - "snippet": { - "text": " public class Cond : Ast\n {\n public Identifier Id { get; set; }\n \n public Integer Value { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "945518837e0a9d32413f6332f3f09f3234bc97d535294465192b0ca56e7c1636" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 9, - "charOffset": 2866, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2847, - "charLength": 160, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(Not not, CompilerContext context)\n {\n var positiveVal = TypeExpression(not.Value, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9531b343fd08a3913b5c8ae22b9a304f828f269643ac93bbe68b402d76aad7df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'LexerPosition' can be made private", - "markdown": "Constructor 'LexerPosition' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerPosition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 548, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 521, - "charLength": 248, - "snippet": { - "text": " }\n \n public LexerPosition(int index, int line, int column, ImmutableStack indentations, string mode = ModeAttribute.DefaultLexerMode) : this(index, line, column, mode)\n {\n Indentations = indentations;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95c7b2acb78998ecc93ccd285fe21887a43218485989db817a07b92b24f19dfd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IsIndent.set' can be made private", - "markdown": "Accessor 'IsIndent.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 37, - "charOffset": 482, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 402, - "charLength": 140, - "snippet": { - "text": " public bool IsEOS { get; }\n \n public bool IsIndent { get; set; }\n \n public bool IsUnIndent { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98af49e398b780892047f10d5111e67c9896ca2d37bc7f4d6c014fc814ac7cfd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Value' can be made private", - "markdown": "Property 'Value' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 318, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 299, - "charLength": 102, - "snippet": { - "text": " }\n\n public int Value { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ce94d1997ffcdef73d590a9a7f016c25691c167369b1c4307418cb00e8683a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'identifierDerivedToken' can be made private", - "markdown": "Field 'identifierDerivedToken' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 9, - "charOffset": 3241, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 3064, - "charLength": 252, - "snippet": { - "text": " protected readonly Action> ExtensionBuilder;\n public FSMLexerBuilder FSMBuilder { get; private set; }\n protected IN identifierDerivedToken;\n protected IN intDerivedToken;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9e9ec963a3e0c497baa6d59e3383d8245afccd0047e78aeb31f1b5951f252aae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransition' can be made private", - "markdown": "Method 'MultiRangeTransition' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 306, - "startColumn": 9, - "charOffset": 8759, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 304, - "startColumn": 1, - "charOffset": 8740, - "charLength": 233, - "snippet": { - "text": " }\n\n public FSMLexerBuilder MultiRangeTransition(TransitionPrecondition precondition , params (char start, char end)[] ranges)\n {\n return MultiRangeTransitionTo(Fsm.NewNodeId, precondition, ranges);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4aece520ccbf200a32ec28bdd87e92ff50e8c24b73b702e3d273fe03f0ff77a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransitionTo' can be made private", - "markdown": "Method 'MultiRangeTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 436, - "startColumn": 9, - "charOffset": 13808, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 434, - "startColumn": 1, - "charOffset": 13754, - "charLength": 244, - "snippet": { - "text": " #region multi range directed\n \n public FSMLexerBuilder MultiRangeTransitionTo(int toNode, params (char start, char end)[] ranges)\n {\n AbstractTransitionCheck checker = new TransitionMultiRange(ranges);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9ffe68bfd9756479f198abb2575fd4fb55a9e579c339a35f6e2954949d7c383" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'CurrentScope.set' can be made private", - "markdown": "Accessor 'CurrentScope.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 42, - "charOffset": 384, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 287, - "charLength": 148, - "snippet": { - "text": " public Scope RootScope { get; protected set; }\n\n public Scope CurrentScope { get; protected set; }\n\n [ExcludeFromCodeCoverage]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aae0813cb1f33f47f3d3ff2fa1c75270bf6c83aee62739a95571fe07e4932b97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'in_int' can be made private", - "markdown": "Constant 'in_int' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 9, - "charOffset": 2027, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1923, - "charLength": 254, - "snippet": { - "text": " public const string end_char = \"char_end\";\n public const string start = \"start\";\n public const string in_int = \"in_int\";\n public const string start_double = \"start_double\";\n public const string in_double = \"in_double\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aec57d58477559830e7421bba5c08cf3e058a18be5630ec0544cdbc810f8913d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'in_string' can be made private", - "markdown": "Constant 'in_string' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 9, - "charOffset": 1595, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1545, - "charLength": 204, - "snippet": { - "text": " public string I18n { get; set; }\n\n public const string in_string = \"in_string\";\n public const string string_end = \"string_end\";\n public const string start_char = \"start_char\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b0006f47fc66f52afa77da07bb274410d59f7e094e1cb4314d2db4f5d8e22005" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 340, - "startColumn": 9, - "charOffset": 11129, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 338, - "startColumn": 1, - "charOffset": 11110, - "charLength": 160, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(IntegerConstant intConst, InterpreterContext context)\n {\n return new TypedValue(intConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1f8d7d14ce8fa0ec53cf33e1513b27f525757386d0bc26424d25b3852d74197" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Path' can be made private", - "markdown": "Property 'Path' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 709, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 690, - "charLength": 63, - "snippet": { - "text": " }\n\n public string Path\n {\n get" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b447a50241205ff861063ac3d10e55e1663e50516a3ef4d83881d44d1edd389f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseOption' can be made private", - "markdown": "Method 'ParseOption' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 468, - "startColumn": 9, - "charOffset": 21783, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 466, - "startColumn": 1, - "charOffset": 21764, - "charLength": 201, - "snippet": { - "text": " }\n\n public SyntaxParseResult ParseOption(IList> tokens, OptionClause clause, Rule rule,\n int position, SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7f783f56bf3b14df53068940dd0798fa93a621d3c7c177471351eddc003ad04" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'I18N' can be made private", - "markdown": "Constructor 'I18N' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 551, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 532, - "charLength": 132, - "snippet": { - "text": " }\n\n protected I18N()\n {\n Translations = new Dictionary>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b858be1d69436a8879d605b0771bc9ed4c2815844f2ee17f9ecb4bd34344be6c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'I18n' can be made private", - "markdown": "Property 'I18n' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 747, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 728, - "charLength": 106, - "snippet": { - "text": " }\n\n public string I18n { get; set; }\n \n public ILexer Lexer { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9547735b956cae7c5f15fc3bf9394ed11ea1e0e2d74bc988bbc12ea8208dd52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Lst' can be made private", - "markdown": "Method 'Lst' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 9, - "charOffset": 516, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 497, - "charLength": 123, - "snippet": { - "text": " }\n\n public static List Lst(params string[] args)\n {\n return args.ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9a3c2307bb8712e3b6861c1b6291c4d523e39a61addb1e2a8abba9d44192d1c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Cos' can be made private", - "markdown": "Method 'Cos' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 458, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 431, - "charLength": 166, - "snippet": { - "text": " }\n \n public static double Cos(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc6bcf566d2bbb20384a91f9e9528a9dba23a39cbd3a48c4e3622c33158d3a3c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'string_end' can be made private", - "markdown": "Constant 'string_end' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 9, - "charOffset": 1648, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1586, - "charLength": 228, - "snippet": { - "text": "\n public const string in_string = \"in_string\";\n public const string string_end = \"string_end\";\n public const string start_char = \"start_char\";\n public const string escapeChar_char = \"escapeChar_char\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bf52e7a974759250a7370161f28f731078214ad3d9cd2559fcb6fb2a85da9335" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Operator' can be made private", - "markdown": "Property 'Operator' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 9, - "charOffset": 705, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 651, - "charLength": 145, - "snippet": { - "text": " public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c17cf6be2e4829841e1d8df529657247f35dff49f3092c23d47324032d1f87c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExtractCallBacks' can be made private", - "markdown": "Method 'ExtractCallBacks' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 499, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 480, - "charLength": 205, - "snippet": { - "text": " }\n\n public static void ExtractCallBacks(Type callbackClass, GenericLexer lexer) where IN : struct\n {\n var methods = callbackClass.GetMethods().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2e847b51c4c54bb15ea548867598b68a9bab9306f3619ac696334cfbfa25df8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 445, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 391, - "charLength": 128, - "snippet": { - "text": " public override bool IsList => true;\n\n public List Items { get; }\n\n public int Count => Items.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c321e41a16dec3174405c218743fbb9f8570b0bd5806d670b98fcc4d5d89df1c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Visitor' can be made private", - "markdown": "Property 'Visitor' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 234, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 211, - "charLength": 172, - "snippet": { - "text": " {\n \n public IConcreteSyntaxTreeVisitor Visitor { get; set; }\n\n public ConcreteSyntaxTreeWalker(IConcreteSyntaxTreeVisitor visitor)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c32c3ac6ceaa9e50be7ea668569770756a9335c09bc7994f887db021a9ec74ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'TokenChannels' can be made private", - "markdown": "Constructor 'TokenChannels' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 584, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 566, - "charLength": 120, - "snippet": { - "text": " \n\n public TokenChannels()\n {\n _tokenChannels = new Dictionary>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5d5a22870c151214ecb5d76d8272ab89ff8b778d5a1d59d6883792bf4f64637" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ConsumeComment' can be made private", - "markdown": "Method 'ConsumeComment' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1057, - "startColumn": 9, - "charOffset": 40129, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1055, - "startColumn": 1, - "charOffset": 40110, - "charLength": 163, - "snippet": { - "text": " }\n\n public LexerPosition ConsumeComment(Token comment, ReadOnlyMemory source,\n LexerPosition lexerPosition)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c665708c3d631c5107b0362d5c98f993dfdc7e5cc6b44e690cb81120828b13e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExceptTransitionTo' can be made private", - "markdown": "Method 'ExceptTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 467, - "startColumn": 9, - "charOffset": 15040, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 465, - "startColumn": 1, - "charOffset": 15030, - "charLength": 178, - "snippet": { - "text": "\n\n public FSMLexerBuilder ExceptTransitionTo(char[] exceptions, int toNode)\n {\n AbstractTransitionCheck checker = new TransitionAnyExcept(exceptions);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c91fff4711db32ea78ba7a1dce5b5f53652a05059ca26a4f4b9e5d125eb47854" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Match' can be made private", - "markdown": "Method 'Match' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 9, - "charOffset": 668, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 658, - "charLength": 126, - "snippet": { - "text": "\n\n public X Match(Func, X> fToken, Func fValue)\n {\n if (IsToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb6343b4072d5688a0d606496400c8d7bfdfc02ae8dca04f575314c45f244123" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'RangeTransitionTo' can be made private", - "markdown": "Method 'RangeTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 413, - "startColumn": 9, - "charOffset": 12847, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 411, - "startColumn": 1, - "charOffset": 12829, - "charLength": 184, - "snippet": { - "text": " \n\n public FSMLexerBuilder RangeTransitionTo(char start, char end, int toNode)\n {\n AbstractTransitionCheck checker = new TransitionRange(start, end);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb6b53528ea4ba9406283a9306a43fff16be8a29f77ddc46e15a9e993151c2fc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FindRoots' can be made private", - "markdown": "Method 'FindRoots' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 9, - "charOffset": 1275, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1256, - "charLength": 159, - "snippet": { - "text": " }\n\n public List FindRoots()\n {\n var roots = edges.Where(x => !edges.Any(y => y.Destination?.Name == x.Source?.Name));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cbf170aed25deeb318a20a437b8bf15e62149c0a16ca078690d9730ba3c7bb20" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SetTokens' can be made private", - "markdown": "Method 'SetTokens' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 429, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 410, - "charLength": 126, - "snippet": { - "text": " }\n\n public void SetTokens(List> tokens)\n {\n Tokens = new TokenChannels(tokens);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cbf67469a22449b9558cd238f89bcc4c9a29149728702f63ded36a4282956bac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IsSuccess.set' can be made private", - "markdown": "Accessor 'IsSuccess.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 38, - "charOffset": 394, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 297, - "charLength": 139, - "snippet": { - "text": " \n public char DecimalSeparator { get; set; }\n public bool IsSuccess { get; set; }\n\n public bool IsEOS { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccf61d27420e030fa8f16ef97ca36fcc1e250bf9cfaa02f7d52d6e3e1e2825aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'ExplicitToken' can be made private", - "markdown": "Property 'ExplicitToken' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 261, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 204, - "charLength": 157, - "snippet": { - "text": " public IN TokenId { get; set; }\n \n public string ExplicitToken { get; set; }\n \n public bool IsExplicitToken { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce009dba1ea35ae4db8638e3f40e681af72a02c6a2538dd1368fa9fc2fa612e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'RangeTransitionTo' can be made private", - "markdown": "Method 'RangeTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 423, - "startColumn": 9, - "charOffset": 13269, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 421, - "startColumn": 1, - "charOffset": 13250, - "charLength": 155, - "snippet": { - "text": " }\n\n public FSMLexerBuilder RangeTransitionTo(char start, char end, int toNode,\n TransitionPrecondition precondition)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce6076888022b53d3cc2f8f4634acf1564c3fb257da509acba4146978bce2d52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 9, - "charOffset": 136, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 87, - "charLength": 93, - "snippet": { - "text": " public class Block : ITemplate\n {\n public List Items { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ced8496dadfd8f5a84cd378b4d266cdc2ea8db072dcf1d07cd5f92c2faab3401" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'InitStartingTokensForRule' can be made private", - "markdown": "Method 'InitStartingTokensForRule' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 130, - "startColumn": 9, - "charOffset": 5312, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 128, - "startColumn": 1, - "charOffset": 5293, - "charLength": 146, - "snippet": { - "text": " }\n\n protected void InitStartingTokensForRule(Dictionary> nonTerminals,\n Rule rule)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d01f4ee65c8e58dc6eea4774618a8260883ce10aac773cf79ef8b612c65b32d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Sqrt' can be made private", - "markdown": "Method 'Sqrt' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 9, - "charOffset": 1014, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 987, - "charLength": 167, - "snippet": { - "text": " }\n \n public static double Sqrt(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d04976643e9198ff2c23731e094646bfc64394c989be7b1d42623a10ed34da1d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 296, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 230, - "charLength": 193, - "snippet": { - "text": " public string IteratorName { get; set; }\n \n public List Items { get; set; }\n\n public ForI(int start, int end, string iteratorName, List items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d31971ac021a497deae67447c7d2df2f6928b6e664a3a6278ae6a026d312fe8e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'ItemsByName' can be made private", - "markdown": "Field 'ItemsByName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 252, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 196, - "charLength": 138, - "snippet": { - "text": " public List> Items;\n\n public Dictionary> ItemsByName;\n\n public Group()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5bac601ab42dc188623bfa632e6cbb822325e881570560baf356441915951f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsSome' can be made private", - "markdown": "Property 'IsSome' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ValueOption.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 9, - "charOffset": 942, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 897, - "charLength": 130, - "snippet": { - "text": "\n public bool IsNone { get; }\n public bool IsSome => !IsNone;\n\n public T Match(Func some, Func none)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7d371ecc19226db0334b69a451e75ca0f4068c93b0c9da4eb2fa3e4b6fbe7f7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 9, - "charOffset": 1519, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1500, - "charLength": 175, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(StringConstant stringConst, CompilerContext context)\n {\n stringConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9f48d76d40b36bb0f9869ff78fc8ce6fd10540135f5259676723facc8a371f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransitionTo' can be made private", - "markdown": "Method 'AnyTransitionTo' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 497, - "startColumn": 9, - "charOffset": 16325, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 495, - "startColumn": 1, - "charOffset": 16306, - "charLength": 198, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransitionTo(int toNode, TransitionPrecondition precondition)\n {\n AbstractTransitionCheck checker = new TransitionAny(precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9f5122bd9d0a04ffef364ff7b8955bd47eb98b8d9e8844863fbbc83d864371e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseChoice' can be made private", - "markdown": "Method 'ParseChoice' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 555, - "startColumn": 9, - "charOffset": 25616, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 553, - "startColumn": 1, - "charOffset": 25589, - "charLength": 194, - "snippet": { - "text": " }\n \n public SyntaxParseResult ParseChoice(IList> tokens, ChoiceClause clause,\n int position, SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dac7d6790b018c4874afedd501243cb631352f9736bcf76193026a90fa9f9c31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'escapeChar_char' can be made private", - "markdown": "Constant 'escapeChar_char' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 9, - "charOffset": 1758, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1640, - "charLength": 282, - "snippet": { - "text": " public const string string_end = \"string_end\";\n public const string start_char = \"start_char\";\n public const string escapeChar_char = \"escapeChar_char\";\n public const string unicode_char = \"unicode_char\";\n public const string in_char = \"in_char\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc4f584575a00efe74e8c9e5d2dc9a21b6e4ba26e8bd94ffe7f49576272a0428" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AddRange' can be made private", - "markdown": "Method 'AddRange' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 9, - "charOffset": 480, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 470, - "charLength": 105, - "snippet": { - "text": "\n\n public void AddRange(List> clauses)\n {\n Clauses.AddRange(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dfbec0c48b32484a8e18dab9007494d14184864f81937871d7cab1698331dd23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Log2' can be made private", - "markdown": "Method 'Log2' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 9, - "charOffset": 1571, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1544, - "charLength": 167, - "snippet": { - "text": " }\n \n public static double Log2(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e263a17a2dd133ea862c4a907483ac43823078f58a614ce2cd3a19802ab0949b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'in_double' can be made private", - "markdown": "Constant 'in_double' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 9, - "charOffset": 2133, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 2019, - "charLength": 273, - "snippet": { - "text": " public const string in_int = \"in_int\";\n public const string start_double = \"start_double\";\n public const string in_double = \"in_double\";\n public const string in_identifier = \"in_identifier\";\n public const string token_property = \"token\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e426cb06e48c2acfbb72a8f4b0cca545121b9cb86d636519dd0c477f16d30bcf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseWithContext' can be made private", - "markdown": "Method 'ParseWithContext' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 9, - "charOffset": 2320, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 2310, - "charLength": 178, - "snippet": { - "text": "\n\n public ParseResult ParseWithContext(string source, object context, string startingNonTerminal = null)\n {\n ParseResult result = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4732bf96741113ccce30ea25cfcb70dac10d2319ff09863367d0d7c5409ea20" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Item.set' can be made private", - "markdown": "Accessor 'Item.set' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 745, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 691, - "charLength": 92, - "snippet": { - "text": " {\n get => Values[key];\n set => Values[key] = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e561ee32bef6ca5f214b8511b4e3bded741e9d35716fb2c393d0073e55f04ba2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'ElseBlock' can be made private", - "markdown": "Property 'ElseBlock' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 9, - "charOffset": 324, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 297, - "charLength": 76, - "snippet": { - "text": " }\n \n public Block ElseBlock\n {\n get;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7a43bc9bce3c2a1bc30ad8bb211f7d51741a2bf89321c87066da7384b0ed813" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Evaluate' can be made private", - "markdown": "Method 'Evaluate' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 9, - "charOffset": 10963, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 10944, - "charLength": 165, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(StringConstant stringConst, InterpreterContext context)\n {\n return new TypedValue(stringConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ebe7bca29f8d2933da5fa70417e75a4578d325668629f8cae66cd79a8fc06a6a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Items' can be made private", - "markdown": "Property 'Items' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 441, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 387, - "charLength": 128, - "snippet": { - "text": " public override bool IsList => true;\n\n public List Items { get; }\n\n public int Count => Items.Count;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed43892b1976615ef72f279d9561008af091acf267391244e3f5313958a7e7ef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'escape_string' can be made private", - "markdown": "Constant 'escape_string' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 9, - "charOffset": 2425, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2293, - "charLength": 291, - "snippet": { - "text": " public const string DerivedToken = \"derivedToken\";\n public const string defaultIdentifierKey = \"identifier\";\n public const string escape_string = \"escape_string\";\n public const string escape_char = \"escape_char\";\n public const string in_up_to = \"in_upto\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee976db88dba94b659d067bb6c880a7e0acfafdd15b7ce39cd739e44a273c1ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Right' can be made private", - "markdown": "Property 'Right' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 9, - "charOffset": 759, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 697, - "charLength": 152, - "snippet": { - "text": " public BinaryOperator Operator { get; set; }\n\n public Expression Right { get; set; }\n\n public LexerPosition Position { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f252f52a0d423b71b389977641dc3824d0853ddd46b28fdd36f661827dad94a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 9, - "charOffset": 1732, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1713, - "charLength": 170, - "snippet": { - "text": " }\n\n public WhileType TypeExpression(IntegerConstant intConst, CompilerContext context)\n {\n intConst.CompilerScope = context.CurrentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f397cd3287a675df7486bbc663e6d25c61dcf4350477fb901ecdc7c682be1fe0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsOk' can be made private", - "markdown": "Property 'IsOk' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 9, - "charOffset": 164, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 113, - "charLength": 132, - "snippet": { - "text": " public bool IsError { get; set; }\n\n public bool IsOk => !IsError;\n \n public LexicalError Error { get; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f43a5fd90314b670f692c7e8e0f24bab8e8a4c3a8d3349ce6358898237fa8b81" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Left' can be made private", - "markdown": "Property 'Left' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 9, - "charOffset": 659, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 640, - "charLength": 109, - "snippet": { - "text": " }\n\n public Expression Left { get; set; }\n\n public BinaryOperator Operator { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5b764170bbd27d09aacadd190cd7cec3dc3e067f10e89f84c8c9303ec5020a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'end_char' can be made private", - "markdown": "Constant 'end_char' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 9, - "charOffset": 1931, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1815, - "charLength": 250, - "snippet": { - "text": " public const string unicode_char = \"unicode_char\";\n public const string in_char = \"in_char\";\n public const string end_char = \"char_end\";\n public const string start = \"start\";\n public const string in_int = \"in_int\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6193369c47585b206446d20866de06e07b16a4869e8de81bec79cd27474fd31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsValue' can be made private", - "markdown": "Property 'IsValue' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 629, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 581, - "charLength": 78, - "snippet": { - "text": " public OUT Value { get; set; }\n\n public bool IsValue { get; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6f4fb204add10bb791bdb7b419e1d42518b991ebaf77a082f22d460098d2590" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsNone' can be made private", - "markdown": "Property 'IsNone' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ValueOption.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 9, - "charOffset": 906, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 864, - "charLength": 109, - "snippet": { - "text": " private T Value { get; }\n\n public bool IsNone { get; }\n public bool IsSome => !IsNone;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f7a256d366a40fa894cad7f5c0f93209fe38f7e13a1852b861d82e59d95a6d86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'I18n' can be made private", - "markdown": "Property 'I18n' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 308, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 226, - "charLength": 183, - "snippet": { - "text": " public class ExpressionRulesGenerator where IN : struct\n {\n public string I18n { get; set; }\n \n public ExpressionRulesGenerator(string i18n = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9d42a426b9882995684e5eac5e838297b953f32924db9d3c92d1b001c3e41a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'GroupSyntaxNode' can be made private", - "markdown": "Constructor 'GroupSyntaxNode' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/GroupSyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 9, - "charOffset": 160, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 70, - "charLength": 158, - "snippet": { - "text": " public class GroupSyntaxNode : ManySyntaxNode where IN : struct\n {\n public GroupSyntaxNode(string name) : base(name)\n {\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb246cb3a806ae3965241f3c83082b62951204c3f9b32af4c93c4fe49b106b3d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'ListName' can be made private", - "markdown": "Property 'ListName' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 173, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 150, - "charLength": 117, - "snippet": { - "text": " {\n \n public string ListName { get; set; }\n \n public string IteratorName { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbd446a84a713ce717420c44ccc20fa88d898aa0e91964303c3c75bbef1113a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TypeExpression' can be made private", - "markdown": "Method 'TypeExpression' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ExpressionTyper.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 9, - "charOffset": 2466, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 2456, - "charLength": 151, - "snippet": { - "text": "\n\n public WhileType TypeExpression(Neg neg, CompilerContext context)\n {\n var positiveVal = TypeExpression(neg.Value, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc3236da8baa74b9ed4f4b8f46a0055c645d827bf0161cba76160a9e260e06a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Graph' can be made private", - "markdown": "Property 'Graph' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 9, - "charOffset": 376, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 251, - "charLength": 216, - "snippet": { - "text": " public class GraphVizEBNFSyntaxTreeVisitor : IConcreteSyntaxTreeVisitor where IN : struct\n {\n public DotGraph Graph { get; private set; }\n\n public GraphVizEBNFSyntaxTreeVisitor()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fd68d8b356c5905ea003434fcf28b352a061aece2a050b33cbfaa054ab764c45" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBePrivate.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'Scope' can be made private", - "markdown": "Constructor 'Scope' can be made private" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 486, - "charLength": 9, - "snippet": { - "text": "protected" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 467, - "charLength": 87, - "snippet": { - "text": " }\n\n protected Scope(Scope parent, int id)\n {\n Id = id;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ffde3e0076887528c3f876a00dadef8da66a2af518da8badcefc316604a1b065" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'I18n' can be made protected", - "markdown": "Property 'I18n' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 9, - "charOffset": 700, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 671, - "charLength": 104, - "snippet": { - "text": " #region API\n\n public string I18n { get; set; }\n\n public ParserBuilder(string i18n)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04b6ddceadd8af33f10c77a97c14775c0400772e3a767a4ab3bb2775c322a82f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Parse' can be made protected", - "markdown": "Method 'Parse' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 9, - "charOffset": 4307, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 4297, - "charLength": 193, - "snippet": { - "text": "\n\n public virtual SyntaxParseResult Parse(IList> tokens, Rule rule, int position,\n string nonTerminalName, SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "071514687fabcbfc5b1b8bcd40da7ec385656c361e1f75812a2baaf087c11f8c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'OperationAttribute' can be made protected", - "markdown": "Constructor 'OperationAttribute' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 831, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 641, - "charLength": 322, - "snippet": { - "text": " /// operator aosociativity () \n /// precedence level: the greater, the higher\n public OperationAttribute(int intToken, Affix affix, Associativity assoc, int precedence)\n {\n IntToken = intToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15ebef519a94b8a78fb8dffbb55acb10117681823e34a79dc266e4d47a433e61" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Precondition' can be made protected", - "markdown": "Property 'Precondition' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/AbstractTransitionCheck.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 532, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 468, - "charLength": 169, - "snippet": { - "text": " public abstract class AbstractTransitionCheck\n {\n public TransitionPrecondition Precondition { get; set; }\n public abstract bool Match(char input);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1711248dca5cf84527fb7a6dd2ac0618a1b241663ea2851eda26590a953d69cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Line' can be made protected", - "markdown": "Property 'Line' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 9, - "charOffset": 398, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 265, - "charLength": 182, - "snippet": { - "text": " public virtual int Column { get; protected set; }\n public virtual string ErrorMessage { get; protected set; }\n public virtual int Line { get; protected set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30bedc3d8b9c9ca9bf78d1955ed375ec7cf7a9cb7488387e4ee4a0b64c05a878" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'LexemeAttribute' can be made protected", - "markdown": "Constructor 'LexemeAttribute' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 9, - "charOffset": 838, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 771, - "charLength": 197, - "snippet": { - "text": " GenericTokenParameters = parameters;\n }\n public LexemeAttribute(GenericToken generic, int channel = 0, params string[] parameters)\n {\n Channel = channel;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c5022e69932a2669d9df307821b2e63be5aaa6b2c855ab602bf8af285936806" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'ParserVsisitorInstance' can be made protected", - "markdown": "Property 'ParserVsisitorInstance' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 9, - "charOffset": 4528, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 4510, - "charLength": 141, - "snippet": { - "text": " \n\n public object ParserVsisitorInstance { get; set; }\n\n public ParserConfiguration Configuration { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ea807ed9ff5324c380960584c7a9dab26f46818aaa9eb7375a86f99d03aac19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseInfixExpressionRule' can be made protected", - "markdown": "Method 'ParseInfixExpressionRule' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 164, - "startColumn": 9, - "charOffset": 7619, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 162, - "startColumn": 1, - "charOffset": 7609, - "charLength": 214, - "snippet": { - "text": "\n\n public virtual SyntaxParseResult ParseInfixExpressionRule(IList> tokens, Rule rule,\n int position,\n string nonTerminalName, SyntaxParsingContext parsingContext)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f7393542d4c517036df70a219bd2a76dd693388cec83b2747a2fa411975f77a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'I18n' can be made protected", - "markdown": "Property 'I18n' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 412, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 339, - "charLength": 212, - "snippet": { - "text": " public string StartingNonTerminal { get; set; }\n \n public string I18n { get; set; }\n\n public ParserConfiguration ComputeSubRules(ParserConfiguration configuration)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70a24c059116aee93d323748c4357c7d53ce4b6be486963366dd2b361d9e6467" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'CommentAttribute' can be made protected", - "markdown": "Constructor 'CommentAttribute' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 377, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 336, - "charLength": 197, - "snippet": { - "text": " public int Channel = 1;\n\n public CommentAttribute(string singleLineStart, string multiLineStart, string multiLineEnd,\n bool doNotIgnore = false, int channel = 1)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91cd32570a1c682bd2a64747395ea03e4563c081c8c778e2fd881eb322566526" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseNonTerminal' can be made protected", - "markdown": "Method 'ParseNonTerminal' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 279, - "startColumn": 9, - "charOffset": 11170, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 277, - "startColumn": 1, - "charOffset": 11152, - "charLength": 209, - "snippet": { - "text": "\n \n public SyntaxParseResult ParseNonTerminal(IList> tokens, NonTerminalClause nonTermClause,\n int currentPosition, SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9dfd6f323867a6c801708f3b3c398a47bdac5380f46cd379f7814ec704ef8428" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'ParserBuilder' can be made protected", - "markdown": "Constructor 'ParserBuilder' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 742, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 692, - "charLength": 137, - "snippet": { - "text": " public string I18n { get; set; }\n\n public ParserBuilder(string i18n)\n {\n if (string.IsNullOrEmpty(i18n))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3993c6f5db8b533758b3c61834378f375ad455c89fa6d339a8f32bd519065aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'OperationAttribute' can be made protected", - "markdown": "Constructor 'OperationAttribute' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 9, - "charOffset": 1148, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1121, - "charLength": 171, - "snippet": { - "text": " }\n \n public OperationAttribute(string stringToken, Affix affix, Associativity assoc, int precedence)\n {\n StringToken = stringToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c727f73a5d106650c6456abfd87d9491c6b1cf407d6662140ff8eccf0bf36f29" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Column' can be made protected", - "markdown": "Property 'Column' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 273, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 192, - "charLength": 253, - "snippet": { - "text": " {\n public virtual ErrorType ErrorType { get; protected set; }\n public virtual int Column { get; protected set; }\n public virtual string ErrorMessage { get; protected set; }\n public virtual int Line { get; protected set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e0cd2ab49c7a071763ccae4113bd022def707b7db66b7417c199583286b57f8c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberCanBeProtected.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ParseTerminal' can be made protected", - "markdown": "Method 'ParseTerminal' can be made protected" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 252, - "startColumn": 9, - "charOffset": 9997, - "charLength": 6, - "snippet": { - "text": "public" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 250, - "startColumn": 1, - "charOffset": 9978, - "charLength": 192, - "snippet": { - "text": " }\n\n public SyntaxParseResult ParseTerminal(IList> tokens, TerminalClause terminal, int position,\n SyntaxParsingContext parsingContext)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc0c195e88e05523bf9b54860ccf6d0d8dbc48537da5af25df23e9622dac13e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberInitializerValueIgnored", - "kind": "fail", - "level": "warning", - "message": { - "text": "Field initializer value ignored during initialization", - "markdown": "Field initializer value ignored during initialization" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 30, - "charOffset": 365, - "charLength": 1, - "snippet": { - "text": "1" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 294, - "charLength": 174, - "snippet": { - "text": " public bool DoNotIgnore = false;\n\n public int Channel = 1;\n\n public CommentAttribute(string singleLineStart, string multiLineStart, string multiLineEnd," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3bae23bab3518ea8363c1201e10e497934344609b3deae49ab73288dae19cbe3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberInitializerValueIgnored", - "kind": "fail", - "level": "warning", - "message": { - "text": "Field initializer value ignored during initialization", - "markdown": "Field initializer value ignored during initialization" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 40, - "charOffset": 553, - "charLength": 3, - "snippet": { - "text": "'.'" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 450, - "charLength": 169, - "snippet": { - "text": " public char StringDelimiter = '\"';\n [JsonIgnore]\n public char DecimalSeparator = '.';\n [JsonIgnore]\n public char CharDelimiter ='\\'';" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cdcefa80ebc615617c1150fd711cd31e6ef4ec9080db57df79f2ff6975f34411" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MemberInitializerValueIgnored", - "kind": "fail", - "level": "warning", - "message": { - "text": "Property initializer value ignored during initialization", - "markdown": "Property initializer value ignored during initialization" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 53, - "charOffset": 168, - "charLength": 15, - "snippet": { - "text": "new List()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 75, - "charLength": 162, - "snippet": { - "text": " public class Block : Statement\n {\n public List Statements { get; set; } = new List();\n \n public string Comment { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbec840f8aef02e046c07d9eae9db745ada97f3624aed6eb3d3948179ef1b5b1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MergeConditionalExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge conditional expression", - "markdown": "Merge conditional expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 26, - "charOffset": 2214, - "charLength": 8, - "snippet": { - "text": "HasValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2116, - "charLength": 145, - "snippet": { - "text": " {\n var c = UnexpectedToken?.Position?.Column;\n return c.HasValue ? c.Value : 1;\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64e99bfdbabe9c86685e51078930f8313ee92ce8c73cd8ce6c44c810cff278b7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MergeConditionalExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge conditional expression", - "markdown": "Merge conditional expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 251, - "startColumn": 58, - "charOffset": 10928, - "charLength": 8, - "snippet": { - "text": "HasValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 249, - "startColumn": 1, - "charOffset": 10781, - "charLength": 341, - "snippet": { - "text": " foreach (var lexeme in lexemes.lexemes)\n {\n var channel = lexeme.Channel.HasValue ? lexeme.Channel.Value : 0;\n lexer.AddDefinition(new TokenDefinition(tokenID, lexeme.Pattern, channel,\n lexeme.IsSkippable," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7724fafd8d478e4d547620206c7f0448258ab833babf09fca8c294965a720866" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MergeConditionalExpression", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge conditional expression", - "markdown": "Merge conditional expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 26, - "charOffset": 2006, - "charLength": 8, - "snippet": { - "text": "HasValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1910, - "charLength": 143, - "snippet": { - "text": " {\n var l = UnexpectedToken?.Position?.Line;\n return l.HasValue ? l.Value : 1;\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f3706b1bba9b20e680249a56d2bae76c67b61f311d144c8d514da822559574ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MergeIntoLogicalPattern", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 91, - "charOffset": 1600, - "charLength": 2, - "snippet": { - "text": "||" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1392, - "charLength": 321, - "snippet": { - "text": " string comment = null;\n // previous token may not be a comment so we have to check if not null\n if (previous != null && (previous.TokenID == IndentedLangLexer.SINGLE_COMMENT || previous.TokenID == IndentedLangLexer.MULTI_COMMENT))\n {\n comment = previous?.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4547f8e1c80e507ff9fb70d0a1cebb17dfda89923b9f75565b9140245bb7fe27" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MergeIntoLogicalPattern", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 92, - "charOffset": 1811, - "charLength": 2, - "snippet": { - "text": "||" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1602, - "charLength": 323, - "snippet": { - "text": " string comment = null;\n // previous token may not be a comment so we have to check if not null\n if (previous != null && (previous.TokenID == IndentedLangLexer2.SINGLE_COMMENT || previous.TokenID == IndentedLangLexer2.MULTI_COMMENT))\n {\n comment = previous?.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "67f47742f80b8c1dde147fee2babbeed684a369d444b4615e6a54c87425a10d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MergeIntoLogicalPattern", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge into logical pattern", - "markdown": "Merge into logical pattern" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 200, - "startColumn": 46, - "charOffset": 6679, - "charLength": 2, - "snippet": { - "text": "||" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 198, - "startColumn": 1, - "charOffset": 6569, - "charLength": 190, - "snippet": { - "text": " currentValue = \"\";\n }\n else if (current == '\\n' || current == '\\r')\n {\n currentLine++;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "efbf7ace6e0ce8a6c2a3337c1c6346d284aac8f3e5242210ea675af116932328" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MergeIntoPattern", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge into pattern", - "markdown": "Merge into pattern" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 38, - "charOffset": 782, - "charLength": 2, - "snippet": { - "text": "&&" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 677, - "charLength": 179, - "snippet": { - "text": " {\n object testObj = Condition.Evaluate(context);\n if (testObj is bool test && test)\n {\n return ThenBlock.GetValue(context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "86f86d847fa3f452a7ad420dcd55a709711d5c9baaa9629b67c6f6ff46fb1d16" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "MergeSequentialChecks", - "kind": "fail", - "level": "note", - "message": { - "text": "Merge sequential checks", - "markdown": "Merge sequential checks" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 334, - "startColumn": 35, - "charOffset": 13647, - "charLength": 2, - "snippet": { - "text": "&&" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 332, - "startColumn": 1, - "charOffset": 13557, - "charLength": 224, - "snippet": { - "text": " nt.Rules.ForEach(r =>\n {\n if (r != null && r.PossibleLeadingTokens != null)\n allAcceptableTokens.AddRange(r.PossibleLeadingTokens);\n });" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bbc82699f18eec4196e293a6be9519c845442199eae74cb2139d5c829433e5e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "MethodOverloadWithOptionalParameter", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method with optional parameter is hidden by overload", - "markdown": "Method with optional parameter is hidden by overload" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 60, - "charOffset": 2556, - "charLength": 18, - "snippet": { - "text": "bool quiet = false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 2466, - "charLength": 148, - "snippet": { - "text": " private bool IsQuiet;\n\n public InterpreterContext Interprete(WhileAST ast, bool quiet = false)\n {\n IsQuiet = quiet;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb3b603a63de987602f9ef555cc651ae6cdeebbf5c956c66767317c95085bf75" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NonReadonlyMemberInGetHashCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Non-readonly property referenced in 'GetHashCode()'", - "markdown": "Non-readonly property referenced in 'GetHashCode()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 21, - "charOffset": 1427, - "charLength": 6, - "snippet": { - "text": "Clause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1355, - "charLength": 131, - "snippet": { - "text": " public override int GetHashCode()\n {\n return (Clause != null ? Clause.GetHashCode() : 0);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5570ffa4655a2af67e12bc5727435a65a16d62b73bb2cd41ee214011dac16c34" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NonReadonlyMemberInGetHashCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Non-readonly property referenced in 'GetHashCode()'", - "markdown": "Non-readonly property referenced in 'GetHashCode()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 43, - "charOffset": 2040, - "charLength": 13, - "snippet": { - "text": "ExplicitToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1946, - "charLength": 162, - "snippet": { - "text": " public override int GetHashCode()\n {\n return IsExplicitToken ? this.ExplicitToken.GetHashCode() : TokenId.GetHashCode();\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58b7266e9133f4115ca0471771cdd237663ab17a0da87c460d31e58142aa7ed8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NonReadonlyMemberInGetHashCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Non-readonly property referenced in 'GetHashCode()'", - "markdown": "Non-readonly property referenced in 'GetHashCode()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 20, - "charOffset": 2017, - "charLength": 15, - "snippet": { - "text": "IsExplicitToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1946, - "charLength": 162, - "snippet": { - "text": " public override int GetHashCode()\n {\n return IsExplicitToken ? this.ExplicitToken.GetHashCode() : TokenId.GetHashCode();\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98d80193629d78d49fe76667c6ec7ae23a8d1e5cfbe70fec274cf572b5237078" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NonReadonlyMemberInGetHashCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Non-readonly property referenced in 'GetHashCode()'", - "markdown": "Non-readonly property referenced in 'GetHashCode()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/OptionClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 38, - "charOffset": 1444, - "charLength": 6, - "snippet": { - "text": "Clause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1355, - "charLength": 131, - "snippet": { - "text": " public override int GetHashCode()\n {\n return (Clause != null ? Clause.GetHashCode() : 0);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d63b25114d311020cec6695fe2b74f6d2a7456fb831d4136c6d4c5eb8397f6ba" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NonReadonlyMemberInGetHashCode", - "kind": "fail", - "level": "warning", - "message": { - "text": "Non-readonly property referenced in 'GetHashCode()'", - "markdown": "Non-readonly property referenced in 'GetHashCode()'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 73, - "charOffset": 2070, - "charLength": 7, - "snippet": { - "text": "TokenId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1946, - "charLength": 162, - "snippet": { - "text": " public override int GetHashCode()\n {\n return IsExplicitToken ? this.ExplicitToken.GetHashCode() : TokenId.GetHashCode();\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e95e00ecd174b251d6dabb05eaba761f105b7b737effc0aacada9cc31db1c144" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Value' is assigned but its value is never used", - "markdown": "Field 'Value' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 23, - "charOffset": 513, - "charLength": 5, - "snippet": { - "text": "Value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 457, - "charLength": 69, - "snippet": { - "text": " {\n public string Char;\n public double Value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b2f53742b736d281ed44431e6338de34293d081f564add882b3684883ebb1e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Words' is assigned but its value is never used", - "markdown": "Field 'Words' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 28, - "charOffset": 591, - "charLength": 5, - "snippet": { - "text": "Words" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 527, - "charLength": 77, - "snippet": { - "text": " public class Block: IDumbo\n {\n public IList Words;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3db1db90d3de4973f00dddc7842a314970850e747e7885adead7b89c01ff7f14" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'ExtensionBuilder' is assigned but its value is never used", - "markdown": "Field 'ExtensionBuilder' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 74, - "charOffset": 3137, - "charLength": 16, - "snippet": { - "text": "ExtensionBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 3013, - "charLength": 264, - "snippet": { - "text": " protected char EscapeStringDelimiterChar;\n\n protected readonly Action> ExtensionBuilder;\n public FSMLexerBuilder FSMBuilder { get; private set; }\n protected IN identifierDerivedToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56927eb4a01d842d664ef5fbd4fd00cb75f06cd1bfb92326c4b5a1fad80522d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'EscapeStringDelimiterChar' is assigned but its value is never used", - "markdown": "Field 'EscapeStringDelimiterChar' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 86, - "startColumn": 24, - "charOffset": 3036, - "charLength": 25, - "snippet": { - "text": "EscapeStringDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 84, - "startColumn": 1, - "charOffset": 2971, - "charLength": 183, - "snippet": { - "text": "\n protected IN doubleDerivedToken;\n protected char EscapeStringDelimiterChar;\n\n protected readonly Action> ExtensionBuilder;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7277950a56d5b96d2ed1fd898d7c6b9e4fde01ba20ef4ce00722fafc5a7f6c8d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'StringDelimiterChar' is assigned but its value is never used", - "markdown": "Field 'StringDelimiterChar' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 106, - "startColumn": 24, - "charOffset": 3731, - "charLength": 19, - "snippet": { - "text": "StringDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 104, - "startColumn": 1, - "charOffset": 3645, - "charLength": 175, - "snippet": { - "text": " new Dictionary, Token>>();\n\n protected char StringDelimiterChar;\n\n private readonly IEqualityComparer KeyWordComparer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c2099ea69e25a2a3df7e34660bd5dca3bb4b388ee9f2739b034ed8f1c47d8e1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'Char' is assigned but its value is never used", - "markdown": "Field 'Char' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 23, - "charOffset": 485, - "charLength": 4, - "snippet": { - "text": "Char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 426, - "charLength": 99, - "snippet": { - "text": " public class Word : IDumbo\n {\n public string Char;\n public double Value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9778e9d4d03bca35eff97a9b28b81d0a81c4e0d3f2e1bee194d26c591af01d86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'StringDelimiter' is assigned but its value is never used", - "markdown": "Field 'StringDelimiter' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 21, - "charOffset": 767, - "charLength": 15, - "snippet": { - "text": "StringDelimiter" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 686, - "charLength": 179, - "snippet": { - "text": " private readonly Dictionary> Nodes;\n\n public char StringDelimiter = '\"';\n\n private readonly Dictionary> Transitions;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1432013dc587802f150719b9ad971f8648bbb266b21440711a32d9373bbfe4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedField.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Field 'v' is assigned but its value is never used", - "markdown": "Field 'v' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ByteCodeGenerationException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 24, - "charOffset": 181, - "charLength": 1, - "snippet": { - "text": "v" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 110, - "charLength": 119, - "snippet": { - "text": " {\n private object compilationResult;\n private string v;\n\n public ByteCodeGenerationException()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "017cad07a97d4ca9064c4081a14ed72d5de93682c4465e625e12d3f23ee994ac" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedField.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Field 'compilationResult' is assigned but its value is never used", - "markdown": "Field 'compilationResult' is assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ByteCodeGenerationException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 24, - "charOffset": 139, - "charLength": 17, - "snippet": { - "text": "compilationResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 51, - "charLength": 133, - "snippet": { - "text": " internal class ByteCodeGenerationException : Exception\n {\n private object compilationResult;\n private string v;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d3759ab0b86b9111ac88eab208c07ee6f8b2238e754af3d2dba285ce4dd477a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'newValue' is only assigned but its value is never used", - "markdown": "Local variable 'newValue' is only assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1357, - "startColumn": 20, - "charOffset": 46840, - "charLength": 8, - "snippet": { - "text": "newValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1355, - "startColumn": 1, - "charOffset": 46743, - "charLength": 171, - "snippet": { - "text": " char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";\n int i = 0;\n while (i < value.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e4fd6cf26ed70d2c12a5f72411bffba8be80b81d6fd0b08b26dedc7a3cfe49b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "NotAccessedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'i' is only assigned but its value is never used", - "markdown": "Local variable 'i' is only assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 178, - "startColumn": 21, - "charOffset": 5559, - "charLength": 1, - "snippet": { - "text": "i" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 176, - "startColumn": 1, - "charOffset": 5478, - "charLength": 154, - "snippet": { - "text": " {\n var args = new List();\n var i = 0;\n foreach (var n in node.Children)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "584d27173c70f3461eec823f875873e1444c98095d05d460f3a691befa43943c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "NotAccessedVariable.Compiler", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'delim' is only assigned but its value is never used", - "markdown": "Local variable 'delim' is only assigned but its value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1355, - "startColumn": 18, - "charOffset": 46760, - "charLength": 5, - "snippet": { - "text": "delim" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1353, - "startColumn": 1, - "charOffset": 46701, - "charLength": 153, - "snippet": { - "text": " {\n char escape = '\\\\';\n char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb3d77311d325fe7fb0add34b6537ae59a3a6f42b347f6a4dd2e4e3b1027302a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "OptionalParameterHierarchyMismatch", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter rootRule in base method 'BuildResult> BuildParser(object, ParserType, string, Action>, LexerPostProcess)' has default value", - "markdown": "Parameter rootRule in base method 'BuildResult\\> BuildParser(object, ParserType, string, Action\\>, LexerPostProcess)' has default value" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 20, - "charOffset": 700, - "charLength": 8, - "snippet": { - "text": "rootRule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 569, - "charLength": 279, - "snippet": { - "text": "\n public override BuildResult> BuildParser(object parserInstance, ParserType parserType,\n string rootRule, Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "235b9ec6ae05049dd14754d05008b0aa3e26e95b4eaed444e1c190e25953b2f3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/IConcreteSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 52, - "charOffset": 372, - "charLength": 10, - "snippet": { - "text": "IList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 203, - "charLength": 219, - "snippet": { - "text": " OUT VisitOptionNode(bool exists, OUT child);\n OUT VisitNode(SyntaxNode node, IList children);\n OUT VisitManyNode(ManySyntaxNode node, IList children);\n\n OUT VisitEpsilon();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ededed4038e68e327f019c59ee55af4b99ac2f8763c7b636837746a90072887" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 30, - "charOffset": 866, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 826, - "charLength": 102, - "snippet": { - "text": " }\n\n public void AddRange(List items)\n {\n Items.AddRange(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11c7c8e12b8ad72587035dc958034f86aaaefd3dbb233eccef639f286738c933" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 60, - "charOffset": 2546, - "charLength": 14, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2415, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"sequence : statementPrim additionalStatements*\")]\n public WhileAST sequenceStatements(WhileAST first, List next)\n {\n var seq = new SequenceStatement(first as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1779c8e1a31e4e4086b7845872fd10f21a5631207270e353b6e89eed9a29427c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 13, - "charOffset": 2603, - "charLength": 37, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 2380, - "charLength": 344, - "snippet": { - "text": " \"primary_value : IDENTIFIER LPAREN[d] FormulaParser_expressions (COMMA FormulaParser_expressions)* RPAREN[d]\")]\n public Expression FunctionCall(Token funcName, Expression first,\n List> others)\n {\n List parameters = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31fe848cd685bb38b939d90b06302f9abdff377b8d198f77628c6dcdb3452319" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 52, - "charOffset": 1501, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1368, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"element : opentag [element|pi|comment|content]* closetag\")]\n public string CompoundElement(string open, List subs, string close)\n {\n StringBuilder b = new StringBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e43d4136a7af4bf1554e02dbac0a62dcfbbc5ea5ccc9a3ac325696c936b39ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 45, - "charOffset": 2849, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2741, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5411d4dcc75e185bd368c3fe9a4a4eec468de3ec85d28fe0fa1d055ffcce094a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 30, - "charOffset": 501, - "charLength": 16, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 470, - "charLength": 105, - "snippet": { - "text": "\n\n public void AddRange(List> clauses)\n {\n Clauses.AddRange(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "556852941e298054eb6cef42f336ff453dd233898ed1aa13f40974214555014f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 34, - "charOffset": 2306, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 2216, - "charLength": 199, - "snippet": { - "text": " \n [Production(\"attributes : attribute*\")]\n public string Attributes(List attributes)\n {\n return string.Join(\", \",attributes.Select(x => x.ToString()));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c639fd318a2a7d9ff47c876c480d09c17c49dc8feb74c91437cf4ad5dd47077" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 30, - "charOffset": 1944, - "charLength": 15, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1904, - "charLength": 112, - "snippet": { - "text": " }\n\n public void AddRange(List stmts)\n {\n Statements.AddRange(stmts);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61815721f5ec487d9878c6830ab7754ba26c8301ea7bd88d9581e63f9e430f0f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 30, - "charOffset": 870, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 830, - "charLength": 102, - "snippet": { - "text": " }\n\n public void AddRange(List items)\n {\n Items.AddRange(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93699e13ae36ac84328ae0cfe8dfe527034e387a46a1148468bf52c27865b0cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 45, - "charOffset": 2939, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2831, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2c7cdcd045f9c10b92dd19a7aa020daacbee7f26037d47f417e581f3f21b272" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 60, - "charOffset": 2723, - "charLength": 14, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2592, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"sequence : statementPrim additionalStatements*\")]\n public WhileAST sequenceStatements(WhileAST first, List next)\n {\n var seq = new SequenceStatement(first as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a71e6ebd0bb1c132613d8b4bdab48e930ac076195aa2633af1f3d93c1a9cdd71" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 45, - "charOffset": 2939, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2831, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac7cbc2543eafd799b87f476e3df440868f471cc0b8d8814c9663b2fb0ec8b7a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 45, - "charOffset": 2957, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2849, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3560d39e3b94aaac978caf40564a3af212f0a0ab39bd13300fbc9e7dbbfdfcf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/IConcreteSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 44, - "charOffset": 299, - "charLength": 10, - "snippet": { - "text": "IList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 197, - "charLength": 197, - "snippet": { - "text": " {\n OUT VisitOptionNode(bool exists, OUT child);\n OUT VisitNode(SyntaxNode node, IList children);\n OUT VisitManyNode(ManySyntaxNode node, IList children);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c900672c633887fa3593dbde272229286d8d3c38f8616fa5989b92c5a7585e84" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 34, - "charOffset": 2839, - "charLength": 14, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2753, - "charLength": 178, - "snippet": { - "text": " \n [Production(\"sequence: statement*\")]\n public WhileAST sequence(List list)\n {\n var statements = list.Cast().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd30aab45483bc91a4df56c388ad79e84533fc8565cac3a994660996a00b4c05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 30, - "charOffset": 877, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 837, - "charLength": 102, - "snippet": { - "text": " }\n\n public void AddRange(List items)\n {\n Items.AddRange(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de23f39ebb48502cc665fdea6b58e119cc3f7d7d3f86359f369391678482b55b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 30, - "charOffset": 866, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 826, - "charLength": 102, - "snippet": { - "text": " }\n\n public void AddRange(List items)\n {\n Items.AddRange(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "decddd6e5e1532bfc8e56fc756596b57828d0853b5658cf46652eb847609dede" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/BuildResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 31, - "charOffset": 990, - "charLength": 25, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 949, - "charLength": 121, - "snippet": { - "text": " }\n\n public void AddErrors(List errors)\n {\n Errors.AddRange(errors);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8780145b35db5d91b458209e00ae92539aa35f3b57ffb0feace3542d499cf78" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 29, - "charOffset": 948, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 882, - "charLength": 163, - "snippet": { - "text": "\n [Production(\"block: word+\")]\n public IDumbo Block(List tail)\n {\n return new Block {Words = tail.Cast().ToArray()}; " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa476a1a54d404868fd3e92bfe0ceb2e2090dbb66d26bfeda35a66dd8574fd27" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 289, - "startColumn": 79, - "charOffset": 10558, - "charLength": 15, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 287, - "startColumn": 1, - "charOffset": 10469, - "charLength": 167, - "snippet": { - "text": " }\n\n private void ComputePositionWhenIgnoringEOL(FSMMatch r, List> tokens,\n FSMLexer LexerFsm)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18ddf6c0791daf55554487f1e11ad4aee77d261eb1b15495681584c0d9c353ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 342, - "startColumn": 72, - "charOffset": 14538, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 340, - "startColumn": 1, - "charOffset": 14456, - "charLength": 158, - "snippet": { - "text": " }\n\n private string GetNonTerminalNameForPrecedence(int precedence, List operators) \n {\n var operatorsPart = operators" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b17a4908b79b0acf11dd0b70980bfacbcaad8e3af66329df1fecc1ec35cce18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 48, - "charOffset": 901, - "charLength": 16, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 835, - "charLength": 155, - "snippet": { - "text": " }\n \n public ChoiceClause(IClause choice, List> choices) : this(choice)\n {\n Choices.AddRange(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "387a67621ba7cf018886d97d7490a8608166b7e7d54c57955e81b9e82728926f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable>'", - "markdown": "Parameter can be of type 'IEnumerable\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/GroupSyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 46, - "charOffset": 275, - "charLength": 21, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 219, - "charLength": 151, - "snippet": { - "text": " }\n\n public GroupSyntaxNode(string name, List> children) : this(name)\n {\n Children.AddRange(children);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38a4889f9cfef55d152725c9dde82430e983455a7033f95682300b313ed6a3f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ParameterTypeCanBeEnumerable.Local", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'IEnumerable'", - "markdown": "Parameter can be of type 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 47, - "charOffset": 308, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 251, - "charLength": 147, - "snippet": { - "text": " }\n\n private static List BuildPath(List current, string step)\n {\n var newPath = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "476da10bc9dab6d1f1671b7274765ad191f94fc840e956b1487668919906d0bd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 17, - "charOffset": 542, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 450, - "charLength": 220, - "snippet": { - "text": " public static double Cos(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Cos(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "03a423c507c013e6ff7bb1af14eacfaae563d4ee2c7e097a4f6477ad8f3d4b5a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 44, - "charOffset": 1404, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1286, - "charLength": 219, - "snippet": { - "text": " public static double Ln(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "12812916cc26456f4c8b27685005384ae1c2f870152b20b4c5eacdefeced11e3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 70, - "charOffset": 5349, - "charLength": 15, - "snippet": { - "text": "expectingTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 5082, - "charLength": 395, - "snippet": { - "text": " {\n var expectingTokens = expecting.SelectMany, LeadingToken>(x => x.ExpectedTokens ?? new List>()).Distinct();\n var expectedTokens = expectingTokens != null && expectingTokens.Any() ? expectingTokens?.ToArray() : null;\n if (expectedTokens != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "133ad8fffdfe7e43ea81e33e95db73fb68435d2ffbd175048215edf9d42b702d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 94, - "charOffset": 5373, - "charLength": 15, - "snippet": { - "text": "expectingTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 5082, - "charLength": 395, - "snippet": { - "text": " {\n var expectingTokens = expecting.SelectMany, LeadingToken>(x => x.ExpectedTokens ?? new List>()).Distinct();\n var expectedTokens = expectingTokens != null && expectingTokens.Any() ? expectingTokens?.ToArray() : null;\n if (expectedTokens != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b48b4821afe2e2310351681bda4951c141e4df134608e86efed157fdcd9b7f6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 17, - "charOffset": 1656, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1563, - "charLength": 221, - "snippet": { - "text": " public static double Log2(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a6702db389f327bf8cea89a99f5532ee7a8dd30e6360a20fec8834eff16c762" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 34, - "charOffset": 1202, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1083, - "charLength": 183, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sqrt(parameters.First().Value);\n }\n return 0.0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f66ff2b8abbf0520e744fbde8d0f03798ddfeb085e96e82c56157de0d970f2e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 44, - "charOffset": 847, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 728, - "charLength": 220, - "snippet": { - "text": " public static double Tan(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Tan(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "49c483a65396d40d88a9db0839a1b3c3e22bf5d112a2b24e91ece1f58e8d5a19" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 33, - "charOffset": 1479, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1361, - "charLength": 182, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);\n }\n return 0.0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5af025cde99a16abbf125847742a9a307003d805ab491b821868c11f67157855" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 44, - "charOffset": 1126, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 1006, - "charLength": 222, - "snippet": { - "text": " public static double Sqrt(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sqrt(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e128fd289aa97276b3179510a9f7a4c1220b771661e3f684a67787804eb58d2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 17, - "charOffset": 263, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 171, - "charLength": 220, - "snippet": { - "text": " public static double Sin(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sin(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7cf07f0b6aaaf69f41060af364d9a4931472829edc9de515064ec4dbc8aae23a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 17, - "charOffset": 820, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 728, - "charLength": 220, - "snippet": { - "text": " public static double Tan(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Tan(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7f766688b5111c7f12e9ccf9916d2b375665ec4e6da9569ef17afd72a205f100" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 44, - "charOffset": 290, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 171, - "charLength": 220, - "snippet": { - "text": " public static double Sin(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sin(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "88ce46f2f35de7efd336c90f3bb2bbbd3108318e5f953925d895d5d8db646f1f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 33, - "charOffset": 644, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 526, - "charLength": 182, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Cos(parameters.First().Value);\n }\n return 0.0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89b86fe5e42093f68918d2c068598435111f1e86883949fb2b2a2b1955bd34ba" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 44, - "charOffset": 1683, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1563, - "charLength": 221, - "snippet": { - "text": " public static double Log2(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "94bcab8b845285f7c10eb9ee7ed3cb60404048205fea654c678be952a5278a15" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 33, - "charOffset": 1758, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1640, - "charLength": 182, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);\n }\n return 0.0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a23ceaecaea72129148801c3895c75db895c074b68e8f67d6533362e98f4bc90" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 17, - "charOffset": 1099, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 1006, - "charLength": 222, - "snippet": { - "text": " public static double Sqrt(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sqrt(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5f68a31b9efeed9fd8de0e711dc2cdc782c0551af44c28b5c2e30bf51a311cd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 17, - "charOffset": 1377, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1286, - "charLength": 219, - "snippet": { - "text": " public static double Ln(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Log(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "be78ad438c9e2d7ccdd74c7a1a8157f2c89d4f2821267055a581369982a12561" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 33, - "charOffset": 365, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 247, - "charLength": 159, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Sin(parameters.First().Value);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c4aa66369010e7c947426d4f0e13f8af04236731528a5f76a65ddb283965d90d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 33, - "charOffset": 922, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 804, - "charLength": 182, - "snippet": { - "text": " if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Tan(parameters.First().Value);\n }\n return 0.0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d39df6c35c727fb7a897185641ea41f7dd1bf6930686ccce35ad79d124ed7ee3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleMultipleEnumeration", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible multiple enumeration", - "markdown": "Possible multiple enumeration" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FunctionCall.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 44, - "charOffset": 569, - "charLength": 10, - "snippet": { - "text": "parameters" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 450, - "charLength": 220, - "snippet": { - "text": " public static double Cos(IEnumerable parameters)\n {\n if (parameters.Count() == 1 && parameters.First().HasValue)\n {\n return Math.Cos(parameters.First().Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8aeb3e8f39d1e765bc9afa485bd3815dfabe4125238d43a41526fe962617527" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 385, - "startColumn": 27, - "charOffset": 15433, - "charLength": 3, - "snippet": { - "text": "max" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 383, - "startColumn": 1, - "charOffset": 15317, - "charLength": 223, - "snippet": { - "text": " var result = new SyntaxParseResult();\n result.Errors = errors;\n result.Root = max.Root;\n result.EndingPosition = max.EndingPosition;\n result.IsError = max.IsError;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01acddcc77e300233d9a2cd13221be4b801b61caaac2b490fe08232fca59ad45" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 483, - "startColumn": 35, - "charOffset": 18505, - "charLength": 10, - "snippet": { - "text": "returnInfo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 481, - "startColumn": 1, - "charOffset": 18363, - "charLength": 285, - "snippet": { - "text": " var returnInfo = visitor.ReturnParameter;\n var expectedReturn = typeof(OUT);\n var foundReturn = returnInfo.ParameterType;\n if (!expectedReturn.IsAssignableFrom(foundReturn) && foundReturn != expectedReturn)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07939f8b6492d0e25a2bc8cb6728d56ed7a632d44845b13fabf6bd732421ffa4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 999, - "startColumn": 28, - "charOffset": 34888, - "charLength": 10, - "snippet": { - "text": "ifthenelse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 997, - "startColumn": 1, - "charOffset": 34694, - "charLength": 318, - "snippet": { - "text": " Assert.IsAssignableFrom(root.Statements.First());\n IfThenElse ifthenelse = root.Statements.First() as indented.IfThenElse;\n Assert.NotNull(ifthenelse.Cond);\n Assert.NotNull(ifthenelse.Then);\n Assert.Equal(3,ifthenelse.Then.Statements.Count);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "09f331343282c200f2083598194af73e78862b5d97dc29a6fa45c3fbbd9618bb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 464, - "startColumn": 25, - "charOffset": 14915, - "charLength": 5, - "snippet": { - "text": "lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 462, - "startColumn": 1, - "charOffset": 14834, - "charLength": 153, - "snippet": { - "text": " CallBacksBuilder.BuildCallbacks(lexer);\n\n var r = lexer.Tokenize(\"aaa bbb\");\n if (r.IsOk)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d3be4f61bbaf167d325b3de4a96f739b8b774949212f634975bd9c78d92ed2d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 908, - "startColumn": 17, - "charOffset": 34275, - "charLength": 19, - "snippet": { - "text": "escapeDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 906, - "startColumn": 1, - "charOffset": 34145, - "charLength": 392, - "snippet": { - "text": " token.ToString()),\n ErrorCodes.LEXER_CHAR_ESCAPE_CHAR_MUST_BE_1_CHAR);\n if (escapeDelimiterChar.Length == 1 && char.IsLetterOrDigit(escapeDelimiterChar[0]))\n result.AddInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.CharEscapeCharCannotBeLetterOrDigit, escapeDelimiterChar," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e6d826d7ab36e80f192a0466fbf62b41d894099e451f6b801dff44c1c7e2468" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 445, - "startColumn": 17, - "charOffset": 19127, - "charLength": 8, - "snippet": { - "text": "genLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 443, - "startColumn": 1, - "charOffset": 19038, - "charLength": 177, - "snippet": { - "text": " currentGenericLexer.FSMBuilder.Fsm.Mode = subLexer.Key;\n\n genLexer.SubLexersFsm[subLexer.Key] = currentGenericLexer.FSMBuilder.Fsm;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15ff2c0e48d9aa4aa6da36cf1e610c2e0fdd0a1a3de47710af9412f4e7ffe9e7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 24, - "charOffset": 2433, - "charLength": 27, - "snippet": { - "text": "args[2] as Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2308, - "charLength": 214, - "snippet": { - "text": " result += args[0] + \",\";\n result += (args[1] as Token).Value + \",\";\n result += (args[2] as Token).Value;\n result += \")\";\n return result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31ca7d2660707ae4332363faf19963cf2becd51b5eddc072755a9c48d7572ec9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1011, - "startColumn": 23, - "charOffset": 35407, - "charLength": 12, - "snippet": { - "text": "genericLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1009, - "startColumn": 1, - "charOffset": 35256, - "charLength": 265, - "snippet": { - "text": " Assert.False(lexerResult.IsError);\n var genericLexer = lexerResult.Result as GenericLexer;\n var fsm = genericLexer.FSMBuilder.Fsm;\n var fsmGraph = fsm.ToGraphViz();\n Console.WriteLine(fsmGraph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46d9f9eb53e0f786668507fa28895b071eca34ec21277ae8465d4e0e16ea2838" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 996, - "startColumn": 27, - "charOffset": 34676, - "charLength": 4, - "snippet": { - "text": "root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 994, - "startColumn": 1, - "charOffset": 34551, - "charLength": 309, - "snippet": { - "text": " var ast = parseResult.Result;\n indented.Block root = ast as indented.Block;\n Assert.Single(root.Statements);\n Assert.IsAssignableFrom(root.Statements.First());\n IfThenElse ifthenelse = root.Statements.First() as indented.IfThenElse;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5fbfb6446c924f847613dec05ffbaa2d8e6c518db3b88c8ff9f325f9293ddfeb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 412, - "startColumn": 25, - "charOffset": 12878, - "charLength": 5, - "snippet": { - "text": "error" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 410, - "startColumn": 1, - "charOffset": 12718, - "charLength": 284, - "snippet": { - "text": " var errors = r.Errors; // !null & count > 0\n var error = errors[0] as UnexpectedTokenSyntaxError; // \n var token = error.UnexpectedToken.TokenID; // comma\n var line = error.Line; // 3\n var column = error.Column; // 12" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "644125eb42fe16d484c9020c2440cd45712028c4c5d1015cee84e245dc021f09" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 154, - "startColumn": 33, - "charOffset": 5385, - "charLength": 6, - "snippet": { - "text": "method" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 152, - "startColumn": 1, - "charOffset": 5285, - "charLength": 274, - "snippet": { - "text": "\n if (method == null) method = node.Visitor;\n var t = method.Invoke(ParserVsisitorInstance, args.ToArray());\n var res = (OUT) t;\n result = SyntaxVisitorResult.NewValue(res);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7eabb4176a7986096d2d7e0b13e2e2df1b4c9724788c19023bdb33f31b1779d9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 189, - "startColumn": 43, - "charOffset": 8884, - "charLength": 11, - "snippet": { - "text": "firstResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 187, - "startColumn": 1, - "charOffset": 8815, - "charLength": 217, - "snippet": { - "text": " }\n\n currentPosition = firstResult.EndingPosition;\n var second = rule.Clauses[1];\n SyntaxParseResult secondResult = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8bee9537c0fa8b83d9219fcda3497377f297c42a977541e5850b02bc4a9e6a1e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 556, - "startColumn": 28, - "charOffset": 18221, - "charLength": 5, - "snippet": { - "text": "lexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 554, - "startColumn": 1, - "charOffset": 18125, - "charLength": 203, - "snippet": { - "text": " var lexer = res.Result as GenericLexer;\n\n var dump = lexer.ToString();\n var graph = lexer.ToGraphViz();\n Console.WriteLine(graph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f5a10c0a7d809060db9645a333ebf0c849a3e642f26bda5e46618148836a1de" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 897, - "startColumn": 17, - "charOffset": 33528, - "charLength": 13, - "snippet": { - "text": "charDelimiter" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 895, - "startColumn": 1, - "charOffset": 33323, - "charLength": 441, - "snippet": { - "text": " I18N.Instance.GetText(I18n, I18NMessage.CharDelimiterMustBe1Char, charDelimiter, token.ToString()),\n ErrorCodes.LEXER_CHAR_DELIMITER_MUST_BE_1_CHAR);\n if (charDelimiter.Length == 1 && char.IsLetterOrDigit(charDelimiter[0]))\n result.AddInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.CharDelimiterCannotBeLetter, charDelimiter," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "919b2ebc5701d5cd6f3cc98e50adcc981b671d07e2d80a1526ac5b186e3be877" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 481, - "startColumn": 34, - "charOffset": 18396, - "charLength": 7, - "snippet": { - "text": "visitor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 479, - "startColumn": 1, - "charOffset": 18344, - "charLength": 186, - "snippet": { - "text": " }\n\n var returnInfo = visitor.ReturnParameter;\n var expectedReturn = typeof(OUT);\n var foundReturn = returnInfo.ParameterType;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "936264d19bb44123cc07c5521b7b2181cb5e498305447b2a1c31ce20c54a8195" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 374, - "startColumn": 46, - "charOffset": 14336, - "charLength": 26, - "snippet": { - "text": "c as NonTerminalClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 372, - "startColumn": 1, - "charOffset": 14099, - "charLength": 402, - "snippet": { - "text": " case ChoiceClause innerChoice when innerChoice.IsNonTerminalChoice:\n found = innerChoice.Choices.Where>(c =>\n (c as NonTerminalClause).NonTerminalName == referenceName)\n .Any>();\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95c0c51ca388db7c2016c23416e3fce0d04f609038cd9857c4fb1ba5e7c3ea0b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 256, - "startColumn": 21, - "charOffset": 9567, - "charLength": 4, - "snippet": { - "text": "name" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 254, - "startColumn": 1, - "charOffset": 9516, - "charLength": 185, - "snippet": { - "text": " else\n {\n if (name.StartsWith(\"'\"))\n {\n clause = new TerminalClause(name.Substring(1,name.Length-2), discard);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4be47861c58b7984eb2b679723fa705f9ae332af5d22fee9abdb0a19e1a6f86" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 35, - "charOffset": 3023, - "charLength": 27, - "snippet": { - "text": "args[0] as Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 2942, - "charLength": 178, - "snippet": { - "text": " if (args.Count == 2)\n {\n var r = \"Rec(\" + (args[0] as Token).Value + \",\" + args[1] + \")\";\n return r;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a841e45de988aea0d8658c498c18838ca8ee39d83515f5c8b32033a1563bb23d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 233, - "startColumn": 43, - "charOffset": 10973, - "charLength": 12, - "snippet": { - "text": "secondResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 231, - "startColumn": 1, - "charOffset": 10929, - "charLength": 184, - "snippet": { - "text": "\n\n currentPosition = secondResult.EndingPosition;\n var third = rule.Clauses[2];\n SyntaxParseResult thirdResult;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab68c98c6e0b3c9318464cb3912cc46ad753cd349efc33a646c629d186376725" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 115, - "startColumn": 24, - "charOffset": 2710, - "charLength": 27, - "snippet": { - "text": "args[0] as Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 113, - "startColumn": 1, - "charOffset": 2646, - "charLength": 153, - "snippet": { - "text": " {\n var result = \"A(\";\n result += (args[0] as Token).Value;\n result += \")\";\n return result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b3af360d349ce7202f84661220b3736fb79a74f9371e544e6d333e46c8567bb0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 807, - "startColumn": 17, - "charOffset": 29475, - "charLength": 19, - "snippet": { - "text": "escapeDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 805, - "startColumn": 1, - "charOffset": 29343, - "charLength": 396, - "snippet": { - "text": " token.ToString()),\n ErrorCodes.LEXER_STRING_ESCAPE_CHAR_MUST_BE_1_CHAR);\n if (escapeDelimiterChar.Length == 1 && char.IsLetterOrDigit(escapeDelimiterChar[0]))\n result.AddInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.StringEscapeCharCannotBeLetterOrDigit, escapeDelimiterChar," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b670843b75ed80911368f693ac1de7ad7ee873611b6f64c4eb4baae107982743" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 660, - "startColumn": 72, - "charOffset": 26917, - "charLength": 10, - "snippet": { - "text": "returnInfo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 658, - "startColumn": 1, - "charOffset": 26664, - "charLength": 384, - "snippet": { - "text": " result.AddInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.IncorrectVisitorReturnType, visitor.Name,\n rule.RuleString, typeof(OUT).FullName, returnInfo.ParameterType.Name),\n ErrorCodes.PARSER_INCORRECT_VISITOR_RETURN_TYPE);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9c4b3ea6f282c4a955ace9589052984d40e86b321758146ed240148c471f23f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 534, - "startColumn": 26, - "charOffset": 24834, - "charLength": 35, - "snippet": { - "text": "result.Root as OptionSyntaxNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 532, - "startColumn": 1, - "charOffset": 24665, - "charLength": 332, - "snippet": { - "text": " result.Root = new OptionSyntaxNode( rule.NonTerminalName, children,\n rule.GetVisitor());\n (result.Root as OptionSyntaxNode).IsGroupOption = clause.IsGroupOption;\n result.EndingPosition = position;\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7bf1f401d2250dc3e6fa0e4cb93de2709f3a9089b3c3f3bf48cc5ceaaea6015" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1057, - "startColumn": 23, - "charOffset": 37038, - "charLength": 12, - "snippet": { - "text": "genericLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1055, - "startColumn": 1, - "charOffset": 36887, - "charLength": 265, - "snippet": { - "text": " Assert.False(lexerResult.IsError);\n var genericLexer = lexerResult.Result as GenericLexer;\n var fsm = genericLexer.FSMBuilder.Fsm;\n var fsmGraph = fsm.ToGraphViz();\n Console.WriteLine(fsmGraph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eab0f9953ab6aff5ce2a790992dde3aded2e4da9074760ee6e5f891b67b1d057" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 443, - "startColumn": 17, - "charOffset": 19054, - "charLength": 19, - "snippet": { - "text": "currentGenericLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 441, - "startColumn": 1, - "charOffset": 19019, - "charLength": 181, - "snippet": { - "text": " }\n\n currentGenericLexer.FSMBuilder.Fsm.Mode = subLexer.Key;\n\n genLexer.SubLexersFsm[subLexer.Key] = currentGenericLexer.FSMBuilder.Fsm;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5f7876a06f93f1731fca116d7f15f5080a401c86ec96e986ca586acbafaf446" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "PossibleNullReferenceException", - "kind": "fail", - "level": "warning", - "message": { - "text": "Possible 'System.NullReferenceException'", - "markdown": "Possible 'System.NullReferenceException'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 24, - "charOffset": 2368, - "charLength": 27, - "snippet": { - "text": "args[1] as Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 2277, - "charLength": 218, - "snippet": { - "text": " var result = \"R(\";\n result += args[0] + \",\";\n result += (args[1] as Token).Value + \",\";\n result += (args[2] as Token).Value;\n result += \")\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f81fbecaa0325553dfcbda58d3b51cf8e0748ef710fffa191235a23fd7f8ca24" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantArgumentDefaultValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "The parameter 'isQuiet' has the same default value", - "markdown": "The parameter 'isQuiet' has the same default value" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 229, - "startColumn": 64, - "charOffset": 6279, - "charLength": 5, - "snippet": { - "text": "false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 227, - "startColumn": 1, - "charOffset": 6084, - "charLength": 358, - "snippet": { - "text": " var compiler = new IndentedWhileCompiler();\n var code = compiler.TranspileToCSharp(program);\n var f = compiler.CompileToFunction(program,false);\n Console.WriteLine(\"***********************************\");\n Console.WriteLine(\"***********************************\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02d37e7a5ac4aec45f31fba6ce8ba7f83f2c6cf63e0b75e5223afbcea1b555ef" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantArgumentDefaultValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "The parameter 'escape' has the same default value", - "markdown": "The parameter 'escape' has the same default value" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 21, - "charOffset": 679, - "charLength": 4, - "snippet": { - "text": "\"\\\\\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 616, - "charLength": 99, - "snippet": { - "text": " [Sugar(\")\")] RPAREN = 11,\n \n [String(\"'\",\"\\\\\")]\n STRING = 12,\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3dafa47a7040a7b40c05fb98859b78713589376b87d451a41216b721299c8514" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantArgumentDefaultValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "The parameter 'i18n' has the same default value", - "markdown": "The parameter 'i18n' has the same default value" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 107, - "charOffset": 3324, - "charLength": 4, - "snippet": { - "text": "null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 3153, - "charLength": 218, - "snippet": { - "text": " if (errors.Count == 0)\n {\n errors.Add(new UnexpectedTokenSyntaxError(tokens[lastPosition], LexemeLabels, null));\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9419cef3a2bf351fd631e1177900cd9a5bcce1ab8bce70d22579cd4141d7e810" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantArgumentDefaultValue", - "kind": "fail", - "level": "warning", - "message": { - "text": "The parameter 'tab' has the same default value", - "markdown": "The parameter 'tab' has the same default value" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 35, - "charOffset": 509, - "charLength": 2, - "snippet": { - "text": "\"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 436, - "charLength": 88, - "snippet": { - "text": " public string Dump()\n {\n return RootScope.Dump(\"\");\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96d982b3e087e108d37f819afe4daa7f2aa9bdca514dc374fd90cfc697bcac4a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 37, - "charOffset": 4506, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 4412, - "charLength": 177, - "snippet": { - "text": " public Token Previous(int channelId)\n {\n TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0230cd4ac48a0104c7144f76bd9d53dff30b7e0e62556330fbc660b82c0a2420" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 37, - "charOffset": 6701, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 6625, - "charLength": 137, - "snippet": { - "text": " if (!isError)\n {\n SyntaxNode node = null;\n if (rule.IsSubRule)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "092e8485bf87cd03a4a96a2d1feb6f2c7677cd7c323ff267df71eccc55b269a0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 28, - "charOffset": 1118, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1076, - "charLength": 122, - "snippet": { - "text": " }\n\n string pattern = null;\n if (translation.TryGetValue(key, out pattern))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b1a5ee108c3ad3b3595eab787393fd0ab346b2c4f08f3e55ad1e21693e32e35" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 22, - "charOffset": 5361, - "charLength": 20, - "snippet": { - "text": "= BinaryOperator.ADD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 5300, - "charLength": 131, - "snippet": { - "text": " Expression right)\n {\n var oper = BinaryOperator.ADD;\n\n oper = operatorToken.TokenID switch" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ba81716936d599d4dbaea0c1a4a88f0ff89d3ccfb8c5cffa0764a7500a30878" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 41, - "charOffset": 2421, - "charLength": 29, - "snippet": { - "text": "= I18NMessage.UnexpectedToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2351, - "charLength": 161, - "snippet": { - "text": " get\n {\n I18NMessage i18NMessage = I18NMessage.UnexpectedToken;\n if (UnexpectedToken.IsEOS)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ca925c3dfc0184c14a2b696dc9cb0b07b2c6a4e7e59440299cc63c992e6055c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 541, - "startColumn": 51, - "charOffset": 17764, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 539, - "startColumn": 1, - "charOffset": 17616, - "charLength": 203, - "snippet": { - "text": "\n var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());\n ILexer BenchedLexer = null;\n if (lexerRes != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11a39792adc6a8aa1d7e06cbc7798124cdaf043c1f5e30ac705737ea96d19cda" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 21, - "charOffset": 893, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 799, - "charLength": 142, - "snippet": { - "text": " public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13f34ca45da55b5373dbf54abfe453dd0144bb95ac567a72609f08a7a6da2135" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 38, - "charOffset": 1634, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1547, - "charLength": 161, - "snippet": { - "text": " {\n token.TokenChannels = this;\n TokenChannel channel = null;\n if (!TryGet(token.Channel, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17844cfde5e47e52daf7a6fc86e56414efc20c91d80c603384f3ee8abefbfbf4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 26, - "charOffset": 533, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 431, - "charLength": 175, - "snippet": { - "text": " public object Evaluate(Dictionary context)\n {\n object value = \"\";\n if (context.TryGetValue(Name, out value))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18981a87c5b60dc9a9fdbb11ba5ca148d98d0d92dc2e84a62f12c043b94e8aad" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 17, - "charOffset": 2007, - "charLength": 9, - "snippet": { - "text": "stopped =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1867, - "charLength": 267, - "snippet": { - "text": " while (i < rule.Clauses.Count && ! stopped && currentLefts != null && currentLefts.Any())\n {\n stopped = !current.MayBeEmpty();\n lefts.AddRange(currentLefts);\n stopped = !current.MayBeEmpty();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1954ca4deefc8e86bf10b8d31acb5668b4913465820443b7e2cf1c222414bb6a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 241, - "startColumn": 17, - "charOffset": 9147, - "charLength": 5, - "snippet": { - "text": "token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 239, - "startColumn": 1, - "charOffset": 9108, - "charLength": 127, - "snippet": { - "text": " {\n \n var token = default(IN);\n IClause clause;\n var isTerminal = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1bcad5e65f2648f83a2566bb197de8e90a9381b191d57dd485533ddd712e61ee" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 21, - "charOffset": 1109, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1017, - "charLength": 140, - "snippet": { - "text": " public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d2bc7dcfc1eaf1be93850e0c8dd41fe93b6996af4cab038704a266d7c8bac38" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 32, - "charOffset": 3559, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3457, - "charLength": 157, - "snippet": { - "text": " public MethodInfo GetVisitor(IN token = default(IN))\n {\n MethodInfo visitor = null;\n if (IsExpressionRule)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d579ed6bb3c435bc1ca1aaf277fbd86b33c3961ef0230951030d341d6fb0abe" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 51, - "charOffset": 15034, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 14942, - "charLength": 154, - "snippet": { - "text": " while (stillOk)\n {\n SyntaxParseResult innerResult = null;\n switch (innerClause)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22fd54b84e80fc7f899c3c9573736fa929e3513376b3b4438a07698944a06ed5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 31, - "charOffset": 7117, - "charLength": 5, - "snippet": { - "text": "= 0.0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 6963, - "charLength": 278, - "snippet": { - "text": " var val = Value.Replace(DecimalSeparator, '.');\n var culture = CultureInfo.InvariantCulture;\n double result = 0.0;\n double.TryParse(val, NumberStyles.Any, CultureInfo.InvariantCulture,\n out result);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "279725cd9f7eefa5f8e6fb1efb2a5de6c269f3cdc19b601fb8add145e754d58f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 28, - "charOffset": 2460, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2336, - "charLength": 179, - "snippet": { - "text": " public DotNode VisitManyNode(ManySyntaxNode node, IList children)\n {\n DotNode result = null;\n\n result = Node(GetNodeLabel(node));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2de763f502ca66828ee4a7f19d7e233d472a4f9b795ddfe2ee4b00cfbd4ba46f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 43, - "charOffset": 5561, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 5457, - "charLength": 157, - "snippet": { - "text": " ParserType parserType, string rootRule)\n {\n ISyntaxParser parser = null;\n switch (parserType)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f3819ff8866b30e84c74c3a501b628b844ca046494ae91a07d2a3e1b3230acd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 56, - "charOffset": 1534, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1417, - "charLength": 141, - "snippet": { - "text": " var result = new BuildResult>();\n\n ParserConfiguration configuration = null;\n\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "317cfacc274683b411c36822e40d166cf79c015537224bed862931b15c576e37" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 656, - "startColumn": 17, - "charOffset": 22593, - "charLength": 3, - "snippet": { - "text": "r =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 654, - "startColumn": 1, - "charOffset": 22462, - "charLength": 184, - "snippet": { - "text": " var root = graphviz.VisitTree(r.SyntaxTree);\n var graph = graphviz.Graph.Compile();\n r = parser.Parse(ko2);\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31a2f50447d43cb267223971b53de77262ead513dc1da9807503555c855df55e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 37, - "charOffset": 2188, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2086, - "charLength": 185, - "snippet": { - "text": " public List> NextTokens(int channelId)\n {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "39b6ebffd08645a0fd0d7e57ae15d94090c452538731a5bb836636e5b377681b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 21, - "charOffset": 893, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 801, - "charLength": 140, - "snippet": { - "text": " public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c1e9d5cc085175d8dfd6457ce74f7a2afd617b4bfc56400c48f38a65e963367" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Destination has the same value before assignment", - "markdown": "Destination has the same value before assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 4499, - "charLength": 8, - "snippet": { - "text": "parser =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 4436, - "charLength": 122, - "snippet": { - "text": " default:\n {\n parser = null;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "441ea8942cf733ed70c47341ee8ab486d96e8393a5454c0b5f7e7398d9f21dbd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 25, - "charOffset": 692, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 601, - "charLength": 203, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n object list = null;\n if (context.TryGetValue(ListName, out list) && list is IEnumerable enumerable)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "453e5037cad898d245a321b6172397f231ab02474c17c1fd232e1ed3e763172c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 399, - "startColumn": 52, - "charOffset": 18732, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 397, - "startColumn": 1, - "charOffset": 18640, - "charLength": 174, - "snippet": { - "text": "\n bool hasByPasNodes = false;\n SyntaxParseResult firstInnerResult = null;\n var innerErrors = new List>();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46cc5ce2557e26aeef57e2b3bb28e37158da118490e5652ecbf7731f7479c195" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/Scope.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 26, - "charOffset": 793, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 738, - "charLength": 143, - "snippet": { - "text": " get\n {\n var path = \"\";\n if (ParentScope == null)\n path = Id.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b854c8b81e2efa28a876c53c4312c8f4ea78b0dc1d8a4b5d3089cf5d0dd5104" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 300, - "startColumn": 34, - "charOffset": 9294, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 298, - "startColumn": 1, - "charOffset": 9173, - "charLength": 166, - "snippet": { - "text": " var currentIndentations = lexerPosition.Indentations.ToList();\n\n int uIndentCount = 0;\n\n int indentPosition = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ba2411c63be6d90c567028d0b720159360481ef08c81c44a563307f607d94ca" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 31, - "charOffset": 1072, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 949, - "charLength": 213, - "snippet": { - "text": " //List> tokens = new List>();\n var currentLine = 1;\n var currentColumn = 0;\n var currentLineStartIndex = 0;\n Token previousToken = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e808aaecc9c115eb30e62ed75ee06e2ccb86fadc92ed7073932438c39ac81d2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 37, - "charOffset": 3132, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 3042, - "charLength": 173, - "snippet": { - "text": " public Token Next(int channelId)\n {\n TokenChannel channel = null;\n \n if (TokenChannels.TryGet(channelId, out channel))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "50ee236439f35d5dbf5427ac026f43dc0ae7775499bf6d4b80fdddc7adc9e521" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 46, - "charOffset": 5996, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 5853, - "charLength": 327, - "snippet": { - "text": " rule.RuleString = ruleString;\n rule.SetVisitor(m);\n NonTerminal nonT = null;\n if (!nonTerminals.ContainsKey(rule.NonTerminalName))\n nonT = new NonTerminal(rule.NonTerminalName, new List>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56bc9efbce04bab2f049dfeac9bca55b1fe93f27e6ad2c8c9b17df5b74dd2185" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 41, - "charOffset": 2481, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2312, - "charLength": 269, - "snippet": { - "text": " public ParseResult ParseWithContext(string source, object context, string startingNonTerminal = null)\n {\n ParseResult result = null;\n var lexingResult = Lexer.Tokenize(source);\n if (lexingResult.IsError)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "586efb68d195e8abac972fe8832d4ffce8b36ea266271aad436b1f4931761576" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 37, - "charOffset": 7526, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 7450, - "charLength": 198, - "snippet": { - "text": " if (!isError)\n {\n SyntaxNode node = null;\n if (rule.IsSubRule)\n node = new GroupSyntaxNode(nonTerminalName, children);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61b4768847461038cae653843dce68a5f7cc299998e3d9f56e26def429c18a4b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 135, - "startColumn": 43, - "charOffset": 5732, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 133, - "startColumn": 1, - "charOffset": 5675, - "charLength": 108, - "snippet": { - "text": " }\n\n string operandNonTerminalName = null;\n\n if (operandMethods.Count == 1)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ad369782155972d28d39a5825552af22ccfe2d28eba8b0003479b01dedb91df" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 21, - "charOffset": 1091, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 999, - "charLength": 140, - "snippet": { - "text": " public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c71dbc3784ee75cff3f05a26854ac21ffe109e545554162b78552ab01aa5863" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 350, - "startColumn": 26, - "charOffset": 11635, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 348, - "startColumn": 1, - "charOffset": 11440, - "charLength": 243, - "snippet": { - "text": " var right = Evaluate(operation.Right, context);\n var resultType = CheckBinaryOperationTyping(operation.Operator, left.ValueType, right.ValueType);\n object value = null;\n\n switch (operation.Operator)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "77addcb34ca01a73660cddbe43e5f8f174f7b2318bb83b3c71278b407557049d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/AssignStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 25, - "charOffset": 1475, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1348, - "charLength": 286, - "snippet": { - "text": " public Emit> EmitByteCode(CompilerContext context, Emit> emiter)\n {\n Local local = null;\n if (IsVariableCreation)\n local = emiter.DeclareLocal(TypeConverter.WhileToType(CompilerScope.GetVariableType(VariableName))," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ced6784d1c74a85862a71d4df124b7717fb660f6de8f498f05f88f40dfa5aa8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 46, - "charOffset": 901, - "charLength": 11, - "snippet": { - "text": "translation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 766, - "charLength": 267, - "snippet": { - "text": " {\n lang = lang ?? CultureInfo.CurrentCulture.TwoLetterISOLanguageName;\n IDictionary translation = new Dictionary();\n if (!Translations.TryGetValue(lang, out translation))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d299d28ae50614ca9538a35060cff2e583f21e87ec6c7779ad00e73396db421" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 521, - "startColumn": 24, - "charOffset": 17275, - "charLength": 4, - "snippet": { - "text": "= -1" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 519, - "startColumn": 1, - "charOffset": 17154, - "charLength": 199, - "snippet": { - "text": " public FSMLexerBuilder TransitionToAndMark(char[] inputs, string toNodeMark)\n {\n int toNode = -1;\n if (Marks.TryGetValue(toNodeMark, out toNode))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "80db737a0cd9f1cf1af0ff372595fc2dd4af2425cd76175854bf4cfcc5c7f9b5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Value.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 26, - "charOffset": 373, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 271, - "charLength": 183, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n object value = \"\";\n if (context.TryGetValue(VariableName, out value))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8332e45d50187e152b9d3e1b427dfa0095ac6130f63bfd7858ffa44d52361825" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 22, - "charOffset": 3001, - "charLength": 23, - "snippet": { - "text": "= BinaryOperator.EQUALS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2957, - "charLength": 117, - "snippet": { - "text": " {\n \n var oper = BinaryOperator.EQUALS;\n\n oper = operatorToken.TokenID switch" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "836cdd2b6309ec62adbe0074eac3fe2c745d55e8c67961e3eb76f8a8f363ed8f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 37, - "charOffset": 3570, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 3464, - "charLength": 189, - "snippet": { - "text": " public List> PreviousTokens(int channelId)\n {\n TokenChannel channel = null;\n if (TokenChannels.TryGet(channelId, out channel))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83d913cbeb0067d3c14ed5c6589afce643ab3f00fc4c1cbb60aebc05d4705ab2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 22, - "charOffset": 6030, - "charLength": 20, - "snippet": { - "text": "= BinaryOperator.ADD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 5969, - "charLength": 131, - "snippet": { - "text": " Expression right)\n {\n var oper = BinaryOperator.ADD;\n\n oper = operatorToken.TokenID switch" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "872e361dd4d507d352a6cb0325437b67007898b6e1a24dc139feedf6bb401dcc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 21, - "charOffset": 911, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 817, - "charLength": 142, - "snippet": { - "text": " public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8aace4aad49b49f4505f59ce4b5dc8e1254aba04643589ca87af779382e36134" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 48, - "charOffset": 2837, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2702, - "charLength": 306, - "snippet": { - "text": " var syntaxParser = BuildSyntaxParser(configuration, parserType, rootRule);\n\n SyntaxTreeVisitor visitor = null;\n visitor = new EBNFSyntaxTreeVisitor(configuration, parserInstance);\n var parser = new Parser(I18n, syntaxParser, visitor);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d289670550bb2bc36a79c7fa820cea45f754575691947ad3064f0577197af61" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 16, - "charOffset": 768, - "charLength": 5, - "snippet": { - "text": "token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 662, - "charLength": 193, - "snippet": { - "text": " public static IN ConvertStringToEnum(string name) where IN : struct\n {\n IN token = default(IN);\n if (!Enum.TryParse(name, out token))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d586537bc58f60625ae70eef122e006e9d1f580ecc3900b825aaba3c531c643" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 744, - "startColumn": 34, - "charOffset": 26611, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 742, - "startColumn": 1, - "charOffset": 26479, - "charLength": 252, - "snippet": { - "text": " {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});\n double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);\n double exponent = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "915b7eced2626c56353c841d54c1cdae003813d09716ad380d97255453a1f579" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 101, - "startColumn": 17, - "charOffset": 3116, - "charLength": 18, - "snippet": { - "text": "expressionSuffix =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 99, - "startColumn": 1, - "charOffset": 3081, - "charLength": 105, - "snippet": { - "text": " }\n\n expressionSuffix = $\">{expressionSuffix}<\";\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d21807d6240abe13c18b54541429ed4a8ac331aecfc05642fa28fc80b70f928" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 21, - "charOffset": 1095, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1003, - "charLength": 140, - "snippet": { - "text": " public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9dfc0546e1e98c2005de43e3553ba578f42c98e80b352cb4fdb405d629b5956c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 525, - "startColumn": 43, - "charOffset": 20772, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 523, - "startColumn": 1, - "charOffset": 20640, - "charLength": 251, - "snippet": { - "text": " case NonTerminalClause nonTerminal:\n {\n Type expected = null;\n var found = arg.ParameterType;\n if (nonTerminal.IsGroup)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9f3540fabf598caa78a4d1fc9cd97dc500dfe7d7f17f00d5b9c3d0cac23a6447" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 26, - "charOffset": 6291, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 6223, - "charLength": 149, - "snippet": { - "text": " {\n var nt = \"\";\n var rule = \"\";\n var i = ruleString.IndexOf(\":\");\n if (i > 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a299870f388f0ef408005850e112df3a230b32e5bea070cbd037d593d387a358" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 209, - "startColumn": 37, - "charOffset": 9940, - "charLength": 17, - "snippet": { - "text": "currentPosition =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 207, - "startColumn": 1, - "charOffset": 9833, - "charLength": 188, - "snippet": { - "text": " else\n {\n currentPosition = secondResult.EndingPosition;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8054710b59ac7e41157131dc33a5fd1496b288ef78873ce98c6d27f20506b2e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 202, - "startColumn": 39, - "charOffset": 6240, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 200, - "startColumn": 1, - "charOffset": 6163, - "charLength": 130, - "snippet": { - "text": " else\n {\n MethodInfo method = null;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab864a208efe07fa847e514cd524b7e2407b418fe916e6db23d523e745319550" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 226, - "startColumn": 42, - "charOffset": 8420, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 224, - "startColumn": 1, - "charOffset": 8278, - "charLength": 308, - "snippet": { - "text": " var key = $\"{ntAndRule.Item1}__{r.Key}\";\n functions[key] = m;\n NonTerminal nonT = null;\n if (!nonTerminals.ContainsKey(ntAndRule.Item1))\n nonT = new NonTerminal(ntAndRule.Item1, new List>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b06a7f010fb628356bd5243c8aa37ec51df63ab4e5cd40e9c3d8ba63fe1cea65" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Destination has the same value before assignment", - "markdown": "Destination has the same value before assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 503, - "startColumn": 21, - "charOffset": 16862, - "charLength": 7, - "snippet": { - "text": "value =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 501, - "startColumn": 1, - "charOffset": 16799, - "charLength": 121, - "snippet": { - "text": " default:\n {\n value = null;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bafeeab3a366c87548170590d356c94588501f3c155ff3194baa209d06da7107" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 43, - "charOffset": 3951, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3870, - "charLength": 134, - "snippet": { - "text": " string rootRule)\n {\n ISyntaxParser parser = null;\n switch (parserType)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bdcf47d8a03aa5fe6717f8a0e94569f653d1866f21af2d63c930585d44330fb3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 36, - "charOffset": 2074, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1971, - "charLength": 203, - "snippet": { - "text": " LexerPostProcess lexerPostProcess = null)\n {\n Parser parser = null;\n var result = new BuildResult>();\n switch (parserType)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c02921c887d71582a84b5a9320eca9f5e03bada2bf717cff873260732b8eb0ee" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 479, - "startColumn": 47, - "charOffset": 22309, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 477, - "startColumn": 1, - "charOffset": 22217, - "charLength": 133, - "snippet": { - "text": " var innerClause = clause.Clause;\n\n SyntaxParseResult innerResult = null;\n\n switch (innerClause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cbe680102491045fb170cedf6b5298c93bbe66e954e1b41956684f27e8a52ad3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 24, - "charOffset": 6260, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 6187, - "charLength": 158, - "snippet": { - "text": " if (ruleString != null)\n {\n var nt = \"\";\n var rule = \"\";\n var i = ruleString.IndexOf(\":\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc1d890774f4c923bbefb659c10cbd9c691b75a815f0aa5f1dcf22b0b5bc3ca2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 21, - "charOffset": 1091, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 999, - "charLength": 140, - "snippet": { - "text": " public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd9f7edee668180ccd3b1bd901f4d925e347ebe315a9bd97bbf55001202bcf40" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 21, - "charOffset": 893, - "charLength": 17, - "snippet": { - "text": "= double.MinValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 799, - "charLength": 142, - "snippet": { - "text": " public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce3503b3196ff9e1c928499d25d604bdd9917a4ef83f7dbadd142f4ccf443478" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 680, - "startColumn": 33, - "charOffset": 24749, - "charLength": 9, - "snippet": { - "text": "= default" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 678, - "startColumn": 1, - "charOffset": 24644, - "charLength": 222, - "snippet": { - "text": " NodeCallback callback = match =>\n {\n IN derivedToken = default;\n if (derivedTokens.TryGetValue(GenericToken.Identifier, out var derived))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d45e1b5fca889c3c768a50fa1c61b7da2e12bbd07a06be28644527c07472bb4f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 746, - "startColumn": 37, - "charOffset": 26727, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 744, - "startColumn": 1, - "charOffset": 26578, - "charLength": 275, - "snippet": { - "text": " double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);\n double exponent = 0;\n double.TryParse(items[1],out exponent);\n double value = Math.Pow(radix, exponent);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d6407b50d82f735526adc7cdcfbd151cf7ca859d377b142203fc6691715f98fc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 37, - "charOffset": 2727, - "charLength": 4, - "snippet": { - "text": "= \"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2624, - "charLength": 179, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n string expressionSuffix = \"\";\n if (Operation != null && Operation.IsBinary)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da7fe80af64d6fd08656cbe37954d9a91c77f874e36790f240c1bd375511f159" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 28, - "charOffset": 1737, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1621, - "charLength": 171, - "snippet": { - "text": " public DotNode VisitNode(SyntaxNode node, IList children)\n {\n DotNode result = null;\n\n result = Node(GetNodeLabel(node));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de5ad9f541841fd3707104ed38679fafb0a116b48b0b85fc56c9c1b85f7b0038" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 346, - "startColumn": 13, - "charOffset": 10183, - "charLength": 3, - "snippet": { - "text": "r =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 344, - "startColumn": 1, - "charOffset": 10086, - "charLength": 232, - "snippet": { - "text": " parser = buildResult.Result;\n parser.Lexer = new JSONLexer();\n r = parser.Parse(source);\n Console.WriteLine($\"json hard coded lexer : {sw.ElapsedMilliseconds} ms\");\n sw.Stop();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7d1922dddfd96b5c12993ed02ad4b4fdd0b1f0427333d50a65b1579fda67b89" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Destination has the same value before assignment", - "markdown": "Destination has the same value before assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 154, - "startColumn": 21, - "charOffset": 5889, - "charLength": 8, - "snippet": { - "text": "parser =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 152, - "startColumn": 1, - "charOffset": 5826, - "charLength": 122, - "snippet": { - "text": " default:\n {\n parser = null;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec89bcfc1dd320007f504e71bfd6c22f0940f06ada8a81a9facd0d9bb6fe7e00" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 271, - "startColumn": 37, - "charOffset": 13067, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 269, - "startColumn": 1, - "charOffset": 12991, - "charLength": 198, - "snippet": { - "text": " if (!isError)\n {\n SyntaxNode node = null;\n if (rule.IsSubRule)\n node = new GroupSyntaxNode(nonTerminalName, children);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ecfbaf1befe353eecbe553d7ec3497167d3e7374889fe1083e22d24a339a1096" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Destination has the same value before assignment", - "markdown": "Destination has the same value before assignment" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 29, - "charOffset": 4645, - "charLength": 9, - "snippet": { - "text": "InFalse =" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 4534, - "charLength": 175, - "snippet": { - "text": " {\n NewToken(JsonToken.BOOLEAN);\n InFalse = false;\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8078a1e7837813d77f4a2f8951ebcf733fdee1ae562ce65318f824b3c6a184c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 345, - "startColumn": 39, - "charOffset": 14216, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 343, - "startColumn": 1, - "charOffset": 14131, - "charLength": 170, - "snippet": { - "text": "\n errors.AddRange(innerRuleErrors);\n SyntaxParseResult max = null;\n int okEndingPosition = -1;\n int koEndingPosition = -1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb3e0a6ba01700c11962b12bb7d4da8167af37c9dd22d812af07851e8665c444" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAssignment", - "kind": "fail", - "level": "warning", - "message": { - "text": "Value assigned is not used in any execution path", - "markdown": "Value assigned is not used in any execution path" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 53, - "charOffset": 2456, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 2255, - "charLength": 373, - "snippet": { - "text": " bool isEnumValue = EnumConverter.IsEnumValue(attr.StringToken) ||\n attr.IntToken >= 0;\n OperationMetaData operation = null;\n if (!isEnumValue && !string.IsNullOrEmpty(explicitToken) && explicitToken.StartsWith(\"'\") && explicitToken.EndsWith(\"'\")) \n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fe41283ff59e0993809f32ffe9daf7383681276c60f81a0f7ebad77e5c6f938e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAttributeParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Parentheses are redundant if attribute has no arguments", - "markdown": "Parentheses are redundant if attribute has no arguments" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 9, - "charOffset": 1398, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 1373, - "charLength": 56, - "snippet": { - "text": " // INT,\n \n [Int()]\n [Mode(\"code\")]\n INT," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0cab5cca321cd40d391bc117f789475abf84b14affa353cdfe47634d06dcd888" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAttributeParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Parentheses are redundant if attribute has no arguments", - "markdown": "Parentheses are redundant if attribute has no arguments" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 14, - "charOffset": 221, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 167, - "charLength": 93, - "snippet": { - "text": " #region sea\n [Sugar(\"<\")]\n [Mode()]\n [Push(\"tag\")]\n OPEN," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "874ac4385438d4d712713a30c1ad87f517582eb698e6ed21201621ee37d8ac17" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAttributeParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Parentheses are redundant if attribute has no arguments", - "markdown": "Parentheses are redundant if attribute has no arguments" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 12, - "charOffset": 1296, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 1259, - "charLength": 71, - "snippet": { - "text": " #region literals\n \n [String()]\n [Mode(\"code\")]\n STRING," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc61074d367efb399b4a3e15e1e3e51eb159651371b00824668b571ecf09fd31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAttributeParentheses", - "kind": "fail", - "level": "note", - "message": { - "text": "Parentheses are redundant if attribute has no arguments", - "markdown": "Parentheses are redundant if attribute has no arguments" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 11, - "charOffset": 58, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 32, - "charLength": 85, - "snippet": { - "text": "namespace XML\n{\n [Lexer()]\n [Modes(\"tag\",\"pi\")]\n public enum MinimalXmlLexer" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d676501cdddb6b5cfed9897ad4bd9b3facf4c331c8fb03de4999a3a081752fa3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantAttributeUsageProperty", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant [AttributeUsage] property assignment: provided value is equal to default", - "markdown": "Redundant \\[AttributeUsage\\] property assignment: provided value is equal to default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserRootAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 45, - "charOffset": 92, - "charLength": 21, - "snippet": { - "text": "AllowMultiple = false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 15, - "charLength": 155, - "snippet": { - "text": "namespace sly.parser.generator\n{\n [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]\n public class ParserRootAttribute : Attribute\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19a522659c032fdf2d55c5a2cd895e716128b78b1755e9d10cd12d42fc0c4dbe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantAttributeUsageProperty", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant [AttributeUsage] property assignment: provided value is equal to default", - "markdown": "Redundant \\[AttributeUsage\\] property assignment: provided value is equal to default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CallBacksAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 44, - "charOffset": 80, - "charLength": 21, - "snippet": { - "text": "AllowMultiple = false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 15, - "charLength": 142, - "snippet": { - "text": "namespace sly.lexer\n{\n [AttributeUsage(AttributeTargets.Enum, AllowMultiple = false)]\n public class CallBacksAttribute : Attribute\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f88f05b0b48c7274903494f8d0a06411e1804767f532a72757d14a60663315f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantCast", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type cast is redundant", - "markdown": "Type cast is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 624, - "startColumn": 36, - "charOffset": 27094, - "charLength": 19, - "snippet": { - "text": "as GenericLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 622, - "startColumn": 1, - "charOffset": 26906, - "charLength": 353, - "snippet": { - "text": " {\n // no identifier pattern has been defined. Creating a default one to allow explicit keyword tokens\n (lexer as GenericLexer).InitializeIdentifier(new GenericLexer.Config()\n { IdType = IdentifierType.Alpha });\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4347be60aefd5b56852780b62812be03fdca97f9ecc4578e2e23008a5d75d54a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantCast", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type cast is redundant", - "markdown": "Type cast is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 51, - "charOffset": 1757, - "charLength": 14, - "snippet": { - "text": "as IClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1683, - "charLength": 183, - "snippet": { - "text": "\n int i = 0;\n IClause current = rule.Clauses[0] as IClause;\n var currentLefts = GetLeftClausesName(current);\n bool stopped = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7863ed5b5d867fba366f8c7d675493451a4a94aedd0a0b8fdf94dfa58060c8a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 50, - "charOffset": 957, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 866, - "charLength": 140, - "snippet": { - "text": " public string Name { get; set; }\n\n public bool HasByPassNodes { get; set; } = false;\n\n #region expression syntax nodes" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13c2a820e413a755513e72794be168a1503fe92ac4e3ae21798e414c31c1f828" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 52, - "charOffset": 1035, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 973, - "charLength": 129, - "snippet": { - "text": " }\n\n public bool IndentationAWare { get; set; } = false;\n \n public string Indentation { get; set; } = \"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21e2594b65e46805a6b5097a966cfc4f3f46eb567c0d31a3713be0e6c1f01122" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 48, - "charOffset": 677, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 581, - "charLength": 190, - "snippet": { - "text": " public MethodInfo Visitor { get; set; }\n\n public bool IsByPassNode { get; set; } = false;\n\n public bool IsEmpty => Children == null || !Children.Any>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "49971e632c435098a9816e41d2000f6b7d66fe36f649b0385f559c7c45306363" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 43, - "charOffset": 268, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 182, - "charLength": 148, - "snippet": { - "text": " internal int Id { get; set; } = 0;\n\n internal bool IsEnd { get; set; } = false;\n\n internal bool IsStart { get; set; } = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a297eb3c5d707da1eb716afd9e4f2388688e8a912aa0fa757ec97c5f7d196d8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 47, - "charOffset": 254, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 201, - "charLength": 341, - "snippet": { - "text": " {\n\n public bool IsDiscarded { get; set; } = false;\n public bool IsTerminalChoice => Choices.Select, bool>(c => c is TerminalClause).Aggregate((x, y) => x && y);\n public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4efd1847873b5d25813cedc16fae375f1b52ed59b58880f59cab3ab4b24e8081" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 39, - "charOffset": 220, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 142, - "charLength": 134, - "snippet": { - "text": " internal N Value { get; set; }\n\n internal int Id { get; set; } = 0;\n\n internal bool IsEnd { get; set; } = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ca48d8f73026e8a3f0097823559647eda45d570ed6bdc1dce7fba106732e4a5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 45, - "charOffset": 322, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 226, - "charLength": 201, - "snippet": { - "text": " internal bool IsEnd { get; set; } = false;\n\n internal bool IsStart { get; set; } = false;\n public string Mark { get; internal set; }\n public bool IsLineEnding { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8cf1ff0966321acb3475a77c089b7dee57140e011624be5bf9d3e824f08347d2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 43, - "charOffset": 354, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 259, - "charLength": 137, - "snippet": { - "text": " public string NonTerminalName { get; set; }\n\n public bool IsGroup { get; set; } = false;\n\n public bool MayBeEmpty()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9850a5003aa448f130378061d856a8a3ee905daa5e0188fe728b55272e3c4d51" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 48, - "charOffset": 495, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 437, - "charLength": 107, - "snippet": { - "text": " }\n\n public bool IsByPassRule { get; set; } = false;\n\n // visitors for operation rules" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a01cb2febbd4e1180fe26c43e9029cf5fa44386ab6ca4b555da069f15dc70c4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 62, - "charOffset": 1090, - "charLength": 6, - "snippet": { - "text": "= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1007, - "charLength": 150, - "snippet": { - "text": "\n [JsonIgnore]\n public OperationMetaData Operation { get; set; } = null;\n\n public bool IsExpressionNode => Operation != null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b147b1464b377cfdcb82c74488e9cef682f81f56bfe38e549a9fa8611cdb464e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 50, - "charOffset": 1238, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1178, - "charLength": 123, - "snippet": { - "text": " }\n\n public bool HasByPassNodes { get; set; } = false;\n public bool UsesOperations { get; set; }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7cb6ddcd12ff80577252d270db629d001ab3841ec12ef52a8af13388f631a24" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing field by default value is redundant", - "markdown": "Initializing field by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CommentsAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 33, - "charOffset": 326, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 247, - "charLength": 120, - "snippet": { - "text": " public string SingleLineCommentStart;\n\n public bool DoNotIgnore = false;\n\n public int Channel = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc1be4b9f4157863ac02c186d1c69d3222b76825c5ef33e0ba8f48663ca9cc55" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 180, - "startColumn": 45, - "charOffset": 5406, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 178, - "startColumn": 1, - "charOffset": 5317, - "charLength": 138, - "snippet": { - "text": " public bool IsComment { get; set; }\n\n public bool Discarded { get; set; } = false;\n\n public bool IsEOS { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "daebca38f5c5decd570d5217a21ba08d104539f75658d12cfa31d704abd01e7f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/OptionSyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 49, - "charOffset": 222, - "charLength": 7, - "snippet": { - "text": "= false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 95, - "charLength": 263, - "snippet": { - "text": " public class OptionSyntaxNode : SyntaxNode where IN : struct\n {\n public bool IsGroupOption { get; set; } = false;\n \n public OptionSyntaxNode(string name, List> children = null, MethodInfo visitor = null) : base(" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8d0d1f866d2d86a8483e58a957dda92e52f79c2d81e006ab2917ff5cdae9e5f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing field by default value is redundant", - "markdown": "Initializing field by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 33, - "charOffset": 575, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 532, - "charLength": 103, - "snippet": { - "text": " }\n\n private int NodeCounter = 0;\n\n public DotNode VisitTree(ISyntaxNode root)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4c19e647e862854b2485420d8e127fd4eebbcc8ee8249f3ccb798322e3298aa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantDefaultMemberInitializer", - "kind": "fail", - "level": "warning", - "message": { - "text": "Initializing property by default value is redundant", - "markdown": "Initializing property by default value is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 40, - "charOffset": 4900, - "charLength": 3, - "snippet": { - "text": "= 0" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 4850, - "charLength": 76, - "snippet": { - "text": " }\n\n public int Channel {get; set;} = 0;\n\n [JsonIgnore]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f60069ccfc6a187c23eaeb75e9fed6afdcd2f8a1fbe44055aa27400505edf4fe" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1443, - "startColumn": 93, - "charOffset": 49642, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1441, - "startColumn": 1, - "charOffset": 49512, - "charLength": 253, - "snippet": { - "text": " return;\n }\n var res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 * x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "167c70b3e61877dfdb726ff70256fbdadd3b19ffef3b772b9ab9d955372c6fde" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 50, - "charOffset": 595, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 518, - "charLength": 193, - "snippet": { - "text": " };\n \n var mayRight = new List()\n {\n FormulaToken.INT, FormulaToken.DOUBLE, FormulaToken.LPAREN, FormulaToken.IDENTIFIER" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20a76edbf0857d3c1c872425cafb181d29eabb9c531859ab0cb914824e2a9d09" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 59, - "charOffset": 1684, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1583, - "charLength": 184, - "snippet": { - "text": " }\n default:\n return Visitor.VisitLeaf(new Token() {TokenID = default(IN),SpanValue=\"NULL\".ToCharArray()});\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "271b982e484dc47734412440142cf1f6656d23cbfb6b4c5dbcd7d6c2b28bf516" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 102, - "startColumn": 43, - "charOffset": 3140, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 100, - "startColumn": 1, - "charOffset": 3050, - "charLength": 168, - "snippet": { - "text": " public DotNode VisitEpsilon()\n {\n return VisitLeaf(new Token() { TokenID = default(IN), SpanValue = \"epsilon\".ToCharArray() });\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f1e810f9c511dce89ba3dd3a831d3234931eb2b0b3aff65fbe09c4a3f1fbded" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 49, - "charOffset": 421, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 261, - "charLength": 256, - "snippet": { - "text": " private static List> postProcessFormula(List> tokens)\n {\n var mayLeft = new List()\n {\n FormulaToken.INT, FormulaToken.DOUBLE, FormulaToken.IDENTIFIER" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3211038ec1b03ec482f4e81e3b9b7b27dd56495f3993ba9b3c87046a11249aec" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 624, - "startColumn": 105, - "charOffset": 27163, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 622, - "startColumn": 1, - "charOffset": 26906, - "charLength": 353, - "snippet": { - "text": " {\n // no identifier pattern has been defined. Creating a default one to allow explicit keyword tokens\n (lexer as GenericLexer).InitializeIdentifier(new GenericLexer.Config()\n { IdType = IdentifierType.Alpha });\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4386a05d1c7ddf3c2abaacf302215903bff7844712ccb26a482a58cd7448dabf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1395, - "startColumn": 52, - "charOffset": 47892, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1393, - "startColumn": 1, - "charOffset": 47730, - "charLength": 267, - "snippet": { - "text": " private static List> postProcess(List> tokens)\n {\n var mayLeft = new List()\n {\n ExpressionToken.INT, ExpressionToken.DOUBLE, ExpressionToken.IDENTIFIER" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5381a631164a48d07d4a14a2b9e61b1adf49e3c37dbb679e09a982dc03a9daf5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1458, - "startColumn": 89, - "charOffset": 50141, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1456, - "startColumn": 1, - "charOffset": 50015, - "charLength": 247, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d5e14298a961468695d1143276f325ce2b8ad57ac60f8cea1f54341228ac831" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 47, - "charOffset": 1503, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1418, - "charLength": 191, - "snippet": { - "text": " if (!exists)\n {\n return VisitLeaf(new Token() { TokenID = default(IN), SpanValue = \"\".ToCharArray() });\n }\n return child;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6da99d6402387f7c9d5fbafc7c1b69535cc4d4a602ea1c1031252c13c8e81c35" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1486, - "startColumn": 89, - "charOffset": 51115, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1484, - "startColumn": 1, - "charOffset": 50989, - "charLength": 247, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"x x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b97533cf78b19f0bd6cf479de72e73db1fa039e718f79aeeb453c2047b610b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1030, - "startColumn": 61, - "charOffset": 36174, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1028, - "startColumn": 1, - "charOffset": 36072, - "charLength": 164, - "snippet": { - "text": " if (build.IsOk)\n {\n var context = new Dictionary()\n {\n { \"world\", \"monde\" }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81e185b687f79eccb34b22b7f8f3164cf3ce8f1ab7d248781e2d327abe5ae7e8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1118, - "startColumn": 48, - "charOffset": 38645, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1116, - "startColumn": 1, - "charOffset": 38524, - "charLength": 216, - "snippet": { - "text": " { \"world\", \"monde\" },\n { \"a\", 1 },\n { \"items\", new List(){\"one\",\"two\",\"three\"}}\n };\n var r = build.Result.Parse(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98e6e5cc49d5d209a027d8f9c523697288b3a3d67b654686033f03fa8ff3aeac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1535, - "startColumn": 89, - "charOffset": 52809, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1533, - "startColumn": 1, - "charOffset": 52683, - "charLength": 249, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 (x) = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b258b7fab91cae403877d2d12b0bed06255662f7c4361eb4f48fabb6dfb2400a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1549, - "startColumn": 89, - "charOffset": 53295, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1547, - "startColumn": 1, - "charOffset": 53169, - "charLength": 175, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b3781f6a63fe9f7a0dbd783c71cf39db6d7108795b8a30a5080ecb0e8339b1c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1114, - "startColumn": 61, - "charOffset": 38503, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1112, - "startColumn": 1, - "charOffset": 38401, - "charLength": 164, - "snippet": { - "text": " if (build.IsOk)\n {\n var context = new Dictionary()\n {\n { \"world\", \"monde\" }," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b73d0f50da39e0a51b5514d4437c306a94e480f0520917644f9305a8c8f21ffb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 58, - "charOffset": 1341, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1174, - "charLength": 244, - "snippet": { - "text": " mayOmmitRight(tokens[i].TokenID) && mayOmmitLeft(tokens[i-1].TokenID))\n {\n newTokens.Add(new Token()\n {\n TokenID = FormulaToken.TIMES" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb901e589ab60288efe1929f49cb58167f89b1b57cfed6ac502ae1f65f230c5d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1521, - "startColumn": 89, - "charOffset": 52321, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1519, - "startColumn": 1, - "charOffset": 52195, - "charLength": 247, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bed63ef180d709759dc9bae17732e33f4095ed30272fa27ebc71b411d2f1c994" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1416, - "startColumn": 61, - "charOffset": 48856, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1414, - "startColumn": 1, - "charOffset": 48687, - "charLength": 249, - "snippet": { - "text": " mayOmmitRight(tokens[i].TokenID) && mayOmmitLeft(tokens[i-1].TokenID))\n {\n newTokens.Add(new Token()\n {\n TokenID = ExpressionToken.TIMES" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9379b5df978d81ba6b729c912518502d3e49624427524d0c339253d29241b3f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1506, - "startColumn": 93, - "charOffset": 51822, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1504, - "startColumn": 1, - "charOffset": 51692, - "charLength": 253, - "snippet": { - "text": " return;\n }\n var res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 * x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db5277ff0f9ef334ca3cb1c8f14f165015ebaf83b0e69da6b0fe9948901ab49c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1472, - "startColumn": 89, - "charOffset": 50629, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1470, - "startColumn": 1, - "charOffset": 50503, - "charLength": 249, - "snippet": { - "text": " return;\n }\n res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 (x) = \"+(res.HasValue ? res.Value.ToString() : \"?\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8acef36952034c1cd79fe8585f4cdbca67673652709baba277b7e9eeb0796a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantEmptyObjectCreationArgumentList", - "kind": "fail", - "level": "note", - "message": { - "text": "Empty argument list is redundant", - "markdown": "Empty argument list is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1400, - "startColumn": 53, - "charOffset": 48078, - "charLength": 2, - "snippet": { - "text": "()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1398, - "startColumn": 1, - "charOffset": 47998, - "charLength": 208, - "snippet": { - "text": " };\n \n var mayRight = new List()\n {\n ExpressionToken.INT, ExpressionToken.DOUBLE, ExpressionToken.LPAREN, ExpressionToken.IDENTIFIER" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff1039060a9834ce161f2d1f844bbaf5832e6b4a54a0eeb0b89540db4c3ec7a6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantExplicitArrayCreation", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant explicit array type specification", - "markdown": "Redundant explicit array type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 759, - "startColumn": 37, - "charOffset": 27307, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 757, - "startColumn": 1, - "charOffset": 27168, - "charLength": 302, - "snippet": { - "text": " \t\n fsmBuilder.GoTo(GenericLexer.in_double) // start a in_double node\n .Transition(new char[] {'E','e'}) // add a transition on '.' with precondition\n .Transition(new char[]{'+','-'})\n .Mark(\"start_exponent_val\")" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "223f4e2ab6900ae513e0fe46dbd94e8b64171ae8a9e2fa0a5e4f0562fa4cd3b8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantExplicitArrayCreation", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant explicit array type specification", - "markdown": "Redundant explicit array type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 760, - "startColumn": 37, - "charOffset": 27406, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 758, - "startColumn": 1, - "charOffset": 27173, - "charLength": 386, - "snippet": { - "text": " fsmBuilder.GoTo(GenericLexer.in_double) // start a in_double node\n .Transition(new char[] {'E','e'}) // add a transition on '.' with precondition\n .Transition(new char[]{'+','-'})\n .Mark(\"start_exponent_val\")\n .RangeTransitionTo('0','9',\"start_exponent_val\") // first year digit" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83f7eb00aa9cce7d41b3c7f1c153bf94eeb3d3b2f6ff791a35869536cd72e95f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantExplicitArrayCreation", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant explicit array type specification", - "markdown": "Redundant explicit array type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 53, - "charOffset": 6652, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 6442, - "charLength": 310, - "snippet": { - "text": " List<(char start, char end)> ranges = new List<(char start, char end)>();\n toParse = toParse.Substring(1, toParse.Length - 2);\n var rangesItems = toParse.Split(new char[]{','});\n int i = 0;\n while (i < rangesItems.Length && isPattern)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b69faaa153bab3b04721c7036ca92ebfee5bd75337f04c25bd5abbd5ba98fb2b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.1", - ".NET 7.0", - ".NET 6.0" - ] - } - }, - { - "ruleId": "RedundantExplicitParamsArrayCreation", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant explicit array creation in argument of 'params' parameter", - "markdown": "Redundant explicit array creation in argument of 'params' parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 56, - "charOffset": 2096, - "charLength": 5, - "snippet": { - "text": "new[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1956, - "charLength": 242, - "snippet": { - "text": " if (!line.StartsWith(\"#\"))\n {\n var items = line.Split(new[] {'='});\n if (items.Length == 2)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b2771957d9297e5f4c93ba854b09e65b1d384632fe21a5d0442ad50d6f9b612" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "RedundantExplicitParamsArrayCreation", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant explicit array creation in argument of 'params' parameter", - "markdown": "Redundant explicit array creation in argument of 'params' parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 49, - "charOffset": 6648, - "charLength": 10, - "snippet": { - "text": "new char[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 6442, - "charLength": 310, - "snippet": { - "text": " List<(char start, char end)> ranges = new List<(char start, char end)>();\n toParse = toParse.Substring(1, toParse.Length - 2);\n var rangesItems = toParse.Split(new char[]{','});\n int i = 0;\n while (i < rangesItems.Length && isPattern)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a019b5e4ad58c9d5de67fd9865f10546fad70367e65382ae04bb29dc6c0e7d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0" - ] - } - }, - { - "ruleId": "RedundantExplicitParamsArrayCreation", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant explicit array creation in argument of 'params' parameter", - "markdown": "Redundant explicit array creation in argument of 'params' parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 743, - "startColumn": 63, - "charOffset": 26559, - "charLength": 5, - "snippet": { - "text": "new[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 741, - "startColumn": 1, - "charOffset": 26390, - "charLength": 300, - "snippet": { - "text": " NodeCallback callback = (FSMMatch match) => \n {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});\n double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "875b3ae811d9419527728d2b8a6930d0e7d00a5b77dae9beed1b4b1377e1e5ef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantExplicitParamsArrayCreation", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant explicit array creation in argument of 'params' parameter", - "markdown": "Redundant explicit array creation in argument of 'params' parameter" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 29, - "charOffset": 5988, - "charLength": 22, - "snippet": { - "text": "new LeadingToken[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 5777, - "charLength": 305, - "snippet": { - "text": " {\n var expected = new UnexpectedTokenSyntaxError(expecting.First>().UnexpectedToken, LexemeLabels, I18n,\n new LeadingToken[]{});\n errors.Add(expected);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2f074d75f2fb03d46f20ed0b81b223c226652497a383228c339d4944556e8c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 872, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 793, - "charLength": 151, - "snippet": { - "text": " return ExplicitToken == token.Value;\n }\n else\n {\n return TokenId.Equals(token.TokenID);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "06f459bf09cc091c424fbf4b5c9e8bf33e163506ddb43600e4fd50c09c825071" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 25, - "charOffset": 10213, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 10124, - "charLength": 212, - "snippet": { - "text": " return ko;\n }\n else\n {\n while (j < current.Length && indentPosition + j < indents.Count)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "10d5d3bbb910d1eee9bf34aff32ca9ee58f538e22d73dc8a111e1731a3230aff" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 229, - "startColumn": 21, - "charOffset": 10071, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 227, - "startColumn": 1, - "charOffset": 9903, - "charLength": 288, - "snippet": { - "text": " return new TerminalClause(x.ExplicitOperatorToken.Substring(1,x.ExplicitOperatorToken.Length-2));\n }\n else\n {\n return new TerminalClause(new LeadingToken(x.OperatorToken));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a3af61a0c5e06eea834dbf2800416928213394b4aeda707fde381b83a77459b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 13, - "charOffset": 3515, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 3458, - "charLength": 126, - "snippet": { - "text": " return result;\n }\n else\n {\n parser.Lexer = lexerResult.Result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b28d021d827fa1ed2f9869904248f835d13e08f2f824720eaa1b9551bd947ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 86, - "startColumn": 13, - "charOffset": 2804, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 84, - "startColumn": 1, - "charOffset": 2728, - "charLength": 120, - "snippet": { - "text": " return context[identifier.Value];\n }\n else\n {\n return 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2933804ef64d5cdd9a6650a78088d7273f871abaab548c6f1797f86971e865a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 13, - "charOffset": 763, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 683, - "charLength": 179, - "snippet": { - "text": " return Visitor.VisitLeaf(leaf.Token);\n }\n else if (leaf.Token.IsExplicit)\n {\n return Visitor.VisitLeaf(leaf.Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "392141e7523be9d085be4a19fece1eb0a535e1b0869d04bc9bea14f07102a969" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 13, - "charOffset": 893, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 830, - "charLength": 132, - "snippet": { - "text": " return \"lexing OK.\";\n }\n else\n {\n return $\"lexing failed : {Error}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f1e50d843b093063afa7a2632c238490d37bfcd45a192047fe02c5552023df0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1085, - "startColumn": 13, - "charOffset": 41240, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1083, - "startColumn": 1, - "charOffset": 41134, - "charLength": 208, - "snippet": { - "text": " //LexerFsm.MovePosition(position, LexerFsm.CurrentLine + 1, 0);\n }\n else if (comment.IsMultiLineComment)\n {\n var position = lexerPosition.Index;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f48077c88cf1c2a32a56b009e604f6288348f0c88a4efc50f13bbbcf0acdf55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 13, - "charOffset": 637, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 557, - "charLength": 179, - "snippet": { - "text": " return Visitor.VisitLeaf(leaf.Token);\n }\n else if (leaf.Token.IsUnIndent)\n {\n return Visitor.VisitLeaf(leaf.Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44334f5e07d899f1185f6495dbdb810fc77acdbe8eeff9e5cfb4750317ac977b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 480, - "startColumn": 21, - "charOffset": 16996, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 478, - "startColumn": 1, - "charOffset": 16920, - "charLength": 133, - "snippet": { - "text": " continue;\n }\n else\n {\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e920807c5b32cdcaa17aa7e0fa2d9e43e6d3dbc5f7b8ae433d2bbecb8d73eb6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/BuildResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 13, - "charOffset": 1291, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1213, - "charLength": 155, - "snippet": { - "text": " return $\"parser is ok {typeof(R)}\";\n }\n else\n {\n StringBuilder error = new StringBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f740f5e40da2badfc35ec5490d5db6ac5db86c5c22045bf20613530cfc566a3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/LeadingToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 13, - "charOffset": 1174, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1103, - "charLength": 132, - "snippet": { - "text": " return $\"'{ExplicitToken}'\";\n }\n else\n {\n return TokenId.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5dc8d56b9b2bdc8386a2d31d11665355cbbc447b34d2c7e50e1c314b0a422629" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 626, - "startColumn": 17, - "charOffset": 22824, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 624, - "startColumn": 1, - "charOffset": 22756, - "charLength": 235, - "snippet": { - "text": " return match;\n }\n else if (format == DateFormat.YYYYMMDD)\n {\n bool match = value.Length == 8 && value.At(4) == separator && value.At(7) == separator;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "617f429f5cea9f2f6f1afd71823cd43df02a06c8f4696285e9de424c634d06f4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 17, - "charOffset": 2353, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 2241, - "charLength": 207, - "snippet": { - "text": " return SyntaxVisitorResult.NewOptionGroupNone(); \n }\n else\n {\n return SyntaxVisitorResult.NewOptionNone();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64a65eab096c6d7aec90903b2dc92dd27e23b980d70cd3e5b39d291f53015bba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 387, - "startColumn": 21, - "charOffset": 13457, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 385, - "startColumn": 1, - "charOffset": 13375, - "charLength": 168, - "snippet": { - "text": " return uIndent;\n }\n else\n {\n if (i == currentIndentations.Count)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65de5af1fc3b756ff0a2669818dffee2a0631710802f02f7c6c7321b52c79a52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 13, - "charOffset": 1267, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1199, - "charLength": 184, - "snippet": { - "text": " return operation(ltb,rt);\n }\n else\n {\n throw new TemplateEvaluationException($\"cannot {operationName} {left}, {right}\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "67e297b52ab724887c28de7091c0df51ffa6b16d0018301fd9c24624ddec3602" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 298, - "startColumn": 21, - "charOffset": 12870, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 296, - "startColumn": 1, - "charOffset": 12725, - "charLength": 265, - "snippet": { - "text": " x.ExplicitOperatorToken.Substring(1, x.ExplicitOperatorToken.Length - 2));\n }\n else\n {\n return new TerminalClause(new LeadingToken(x.OperatorToken));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e17a21d1fda4dfb241409d88bb87622a0e26ab0b5bb4cc5114a1d8920b3fab9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 634, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 572, - "charLength": 178, - "snippet": { - "text": " return \"parse OK.\";\n }\n else\n {\n return $\"parse failed : {string.Join(\"\\n\", Errors.Select(x => x.ErrorMessage))}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7824dbd29813cee560e163c4e80b08aa30d876050cd938eec6e1f3a49b58df7f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 13, - "charOffset": 883, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 805, - "charLength": 148, - "snippet": { - "text": " return ThenBlock.GetValue(context);\n }\n else\n {\n return ElseBlock.GetValue(context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "90ec498474e8f6f76a1204f3ccccaedcd3ca53d5041275cac74419fa700f0dcc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 132, - "startColumn": 13, - "charOffset": 5244, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 130, - "startColumn": 1, - "charOffset": 5187, - "charLength": 113, - "snippet": { - "text": " return result;\n }\n else\n {\n result.Result = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "978f76b1591e46ec8bbec8c1aae16a129dfe722c15de75402e04318c3a36d06d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 13, - "charOffset": 3541, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3457, - "charLength": 166, - "snippet": { - "text": " return Leaf(token.TokenID, \"<>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca5ab40d10b857a7e608ab73f158f3190a90de2f11bde4fac19c70f5713ab6a5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 267, - "startColumn": 21, - "charOffset": 11584, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 265, - "startColumn": 1, - "charOffset": 11439, - "charLength": 265, - "snippet": { - "text": " x.ExplicitOperatorToken.Substring(1, x.ExplicitOperatorToken.Length - 2));\n }\n else\n {\n return new TerminalClause(new LeadingToken(x.OperatorToken));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4380036375174f4d4f9684de2353f4f2613b5f850be715c32cbb2a0e8099180" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantIfElseBlock", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant 'else' keyword", - "markdown": "Redundant 'else' keyword" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 13, - "charOffset": 3416, - "charLength": 4, - "snippet": { - "text": "else" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 3334, - "charLength": 180, - "snippet": { - "text": " return Leaf(token.TokenID, \"INDENT>>\");\n }\n else if (token.IsUnIndent)\n {\n return Leaf(token.TokenID, \"< mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "206eabaf389d9e0366f72fa594d42b460ad76bf64d1a4998825589cbc9f73997" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 741, - "startColumn": 56, - "charOffset": 26445, - "charLength": 22, - "snippet": { - "text": "FSMMatch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 739, - "startColumn": 1, - "charOffset": 26335, - "charLength": 242, - "snippet": { - "text": " \t\n // callback on end_exponent node \n NodeCallback callback = (FSMMatch match) => \n {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a0f421f8a61f862626975f5971e0654e732c191286d403aff71d0ac56a4058f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1405, - "startColumn": 56, - "charOffset": 48290, - "charLength": 15, - "snippet": { - "text": "ExpressionToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1403, - "startColumn": 1, - "charOffset": 48207, - "charLength": 264, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c887d9f1af7ef615596d029a866624366f321a7ed2c72c8d2e97432acb07a9a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 53, - "charOffset": 792, - "charLength": 12, - "snippet": { - "text": "FormulaToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 712, - "charLength": 252, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e364b3e47d3265be473c2052e0432e073ac97811e7cd4bb1b3772f75c3663d8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 972, - "startColumn": 58, - "charOffset": 37027, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 970, - "startColumn": 1, - "charOffset": 36954, - "charLength": 186, - "snippet": { - "text": " };\n\n Func precond = (int i) =>\n {\n return (ReadOnlyMemory value) => { return value.Length == i + 1; };" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "904cd4b25575317a207e8b1d6d9410dcdf714206e9249d4edd1301c3c22669ba" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 974, - "startColumn": 25, - "charOffset": 37075, - "charLength": 20, - "snippet": { - "text": "ReadOnlyMemory" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 972, - "startColumn": 1, - "charOffset": 36970, - "charLength": 186, - "snippet": { - "text": " Func precond = (int i) =>\n {\n return (ReadOnlyMemory value) => { return value.Length == i + 1; };\n };\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b5b385c10246c896f266bf50ed69f2288e8c557cefb7a990e745b4640b0608d8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 996, - "startColumn": 51, - "charOffset": 37914, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 994, - "startColumn": 1, - "charOffset": 37778, - "charLength": 244, - "snippet": { - "text": " var upToChars0 = exceptions.Select(x => x.First()).Distinct().ToArray();\n\n Func GetEndLabel = (int exception, int exceptionIndex) =>\n {\n if (exception < 0 || exceptionIndex < 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d70c9a78f5e530da8a56684f8ba589a35ce221388dcd83ae32a90fb792777ff0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantLambdaParameterType", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant lambda parameter explicit type specification", - "markdown": "Redundant lambda parameter explicit type specification" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 54, - "charOffset": 911, - "charLength": 12, - "snippet": { - "text": "FormulaToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 740, - "charLength": 254, - "snippet": { - "text": " Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f32c3973da08101c242ba49a1bb7565caad0fb7edef6db6c96db04e3e6a33cd7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantNameQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Qualifier is redundant", - "markdown": "Qualifier is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 998, - "startColumn": 64, - "charOffset": 34840, - "charLength": 9, - "snippet": { - "text": "indented." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 996, - "startColumn": 1, - "charOffset": 34650, - "charLength": 300, - "snippet": { - "text": " Assert.Single(root.Statements);\n Assert.IsAssignableFrom(root.Statements.First());\n IfThenElse ifthenelse = root.Statements.First() as indented.IfThenElse;\n Assert.NotNull(ifthenelse.Cond);\n Assert.NotNull(ifthenelse.Then);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2868c601472e5527298e52200032ecd5ea0b1e7afdcb5e36d339e8db4cd0d2c9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantNameQualifier", - "kind": "fail", - "level": "warning", - "message": { - "text": "Qualifier is redundant", - "markdown": "Qualifier is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 997, - "startColumn": 37, - "charOffset": 34730, - "charLength": 9, - "snippet": { - "text": "indented." - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 995, - "startColumn": 1, - "charOffset": 34593, - "charLength": 312, - "snippet": { - "text": " indented.Block root = ast as indented.Block;\n Assert.Single(root.Statements);\n Assert.IsAssignableFrom(root.Statements.First());\n IfThenElse ifthenelse = root.Statements.First() as indented.IfThenElse;\n Assert.NotNull(ifthenelse.Cond);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2bcfbbcd015fa2943baa4deff89f6d6703080e09f70cd3cb7e867397969499d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantStringInterpolation", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant string interpolation", - "markdown": "Redundant string interpolation" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxEpsilon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 20, - "charOffset": 420, - "charLength": 1, - "snippet": { - "text": "$" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 352, - "charLength": 90, - "snippet": { - "text": " public string Dump(string tab)\n {\n return $\"Epsilon\";\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e3edd509635bc62693199f23b04d72011fa0825c2c12c32a9e389bedb1f3583d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTernaryExpression", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant conditional ternary expression usage", - "markdown": "Redundant conditional ternary expression usage" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 79, - "charOffset": 4365, - "charLength": 14, - "snippet": { - "text": "? true : false" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 4208, - "charLength": 184, - "snippet": { - "text": " public ITemplate PrimaryBool(Token boolToken)\n {\n return new BoolConstant(bool.Parse(boolToken.StringWithoutQuotes) ? true : false);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2583973e72fdf09f4d65cb8315ac3ffe13780b505cb225ce2bceaeefdbf172a0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 121, - "startColumn": 40, - "charOffset": 3985, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 119, - "startColumn": 1, - "charOffset": 3890, - "charLength": 139, - "snippet": { - "text": " if (expected.IsExplicitToken)\n {\n message.Append(expected.ToString());\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1df8c5170001ee565c9b753eb25645a96986eae4731ac64fa2d73debc576636e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 41, - "charOffset": 1861, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 1768, - "charLength": 152, - "snippet": { - "text": " if (token != null)\n {\n builder.Append(token.ToString()).Append(\" > \");\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a3934ad91c8aff8256d62ccebe69e793fdfd0607fe94c3c83a203f56caa3da7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 50, - "charOffset": 2189, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2058, - "charLength": 157, - "snippet": { - "text": " public string Pi(Token id , string attributes)\n {\n return $\"pi({id.Value} :: {attributes.ToString()})\";\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78b551341c5a52e9b30339b46bf28ed966464039396e69c1684b8567b9f079d2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 41, - "charOffset": 1244, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1158, - "charLength": 115, - "snippet": { - "text": " builder.Append(\"]\");\n \n return $@\"[ label=\"\"{builder.ToString()}\"\" ]\";\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b0d6da517977a6d1df25084142a7bc805e72249081b2c45d1d30b1a3e4e5881f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 101, - "charOffset": 3659, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 3488, - "charLength": 267, - "snippet": { - "text": " string value = UnexpectedToken.Value;\n \n return I18N.Instance.GetText(_i18N,i18NMessage, $\"{value} ({UnexpectedToken.Position.ToString()})\", UnexpectedToken.Label.ToString(), expecting.ToString());\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b139b388346feb5a93922aaa30e277344ee94c64edce5a82a279c1492c16d9d6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantToStringCall", - "kind": "fail", - "level": "warning", - "message": { - "text": "Redundant 'Object.ToString()' call", - "markdown": "Redundant 'Object.ToString()' call" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 138, - "charOffset": 3696, - "charLength": 11, - "snippet": { - "text": ".ToString()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 3488, - "charLength": 267, - "snippet": { - "text": " string value = UnexpectedToken.Value;\n \n return I18N.Instance.GetText(_i18N,i18NMessage, $\"{value} ({UnexpectedToken.Position.ToString()})\", UnexpectedToken.Label.ToString(), expecting.ToString());\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c598df13b3928e3eb9a924a1d5a1990b86c8b1b5d187d69873f5dec4eecdf1b6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 333, - "startColumn": 38, - "charOffset": 12106, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 331, - "startColumn": 1, - "charOffset": 12045, - "charLength": 246, - "snippet": { - "text": "\n // numeric\n if (staticTokens.Contains(GenericToken.Int) ||\n staticTokens.Contains(GenericToken.Double) || \n staticTokens.Contains(GenericToken.Date)) " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "00e37dfe87c4840e604154dc9ac50902bc5a4074c11cde37eb0e0c896490b645" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1089, - "startColumn": 62, - "charOffset": 41405, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1087, - "startColumn": 1, - "charOffset": 41291, - "charLength": 226, - "snippet": { - "text": " var position = lexerPosition.Index;\n\n var end = source.Span.Slice(position).IndexOf(MultiLineCommentEnd.AsSpan());\n if (end < 0)\n position = source.Length;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02227f6847f9d306ff95f333bf053f96b998843cef26b49e96c88a0e8dcd42fa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 137, - "startColumn": 63, - "charOffset": 5162, - "charLength": 50, - "snippet": { - "text": ", LeadingToken>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 135, - "startColumn": 1, - "charOffset": 5030, - "charLength": 425, - "snippet": { - "text": " foreach (var expecting in byEnding)\n {\n var expectingTokens = expecting.SelectMany, LeadingToken>(x => x.ExpectedTokens ?? new List>()).Distinct();\n var expectedTokens = expectingTokens != null && expectingTokens.Any() ? expectingTokens?.ToArray() : null;\n if (expectedTokens != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02e18e442985b267b3a15b10c76d47c97b3cd77dd7ce2a1cee7410b750d4377b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 75, - "charOffset": 1956, - "charLength": 19, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1828, - "charLength": 207, - "snippet": { - "text": "\n var values = Enum.GetValues(typeof(IN));\n var grouped = values.Cast().GroupBy(x => x).ToList>();\n foreach (var group in grouped)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04c72c7172ce003890f6bd03a85e81f973eb74611c724dc91dc612355281ffcb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 609, - "startColumn": 65, - "charOffset": 26428, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 607, - "startColumn": 1, - "charOffset": 26210, - "charLength": 341, - "snippet": { - "text": " fsmBuilder.Mark(GenericLexer.multi_line_comment_start);\n fsmBuilder.End(GenericToken.Comment);\n fsmBuilder.CallBack(GetCallbackMulti(comment.Key, commentAttr.DoNotIgnore,\n commentAttr.Channel));\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "04db2388f11b2b7bfedaae0d1f83f05e2a3a76fcb32f8cc6a857e8f40fd45d38" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 685, - "startColumn": 23, - "charOffset": 29766, - "charLength": 17, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 683, - "startColumn": 1, - "charOffset": 29700, - "charLength": 270, - "snippet": { - "text": "\n var allDelimiters = allLexemes\n .Where(a => a.IsString || a.IsChar)\n .Where(a => a.HasGenericTokenParameters)\n .Select(a => a.GenericTokenParameters[0]);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "057322ec6a56835d0bd5fb6d02d0a3fed3d9dc3ca74d019922c8f00e97a66b97" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 58, - "charOffset": 5017, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 4827, - "charLength": 272, - "snippet": { - "text": " var conf = new ParserConfiguration();\n var nonTerminals = new Dictionary>();\n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "071836d49eeb8fb14da33e2eeb57debda821cc0926d1bb3b44e1591856ed4400" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 373, - "startColumn": 70, - "charOffset": 14272, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 371, - "startColumn": 1, - "charOffset": 14056, - "charLength": 402, - "snippet": { - "text": " break;\n case ChoiceClause innerChoice when innerChoice.IsNonTerminalChoice:\n found = innerChoice.Choices.Where>(c =>\n (c as NonTerminalClause).NonTerminalName == referenceName)\n .Any>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "087dbe16741613b0b5297c18cfb84dc0b2b9cbb8ed33e04a7c9b25634fd40a54" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 689, - "startColumn": 51, - "charOffset": 30022, - "charLength": 16, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 687, - "startColumn": 1, - "charOffset": 29887, - "charLength": 321, - "snippet": { - "text": " .Select(a => a.GenericTokenParameters[0]);\n\n var duplicates = allDelimiters.GroupBy(x => x)\n .Where>(g => g.Count() > 1)\n .Select(y => new { Element = y.Key, Counter = y.Count() });" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0897526fd5008189b694dd79794e24ec0898e7744c1dbd4d7246c94cba804128" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 298, - "startColumn": 44, - "charOffset": 10879, - "charLength": 11, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 296, - "startColumn": 1, - "charOffset": 10750, - "charLength": 289, - "snippet": { - "text": " if (r.IsLineEnding) // only compute if token is eol\n {\n var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d11aee2caeb5fc9912ef18848538ce832f334246128d325170b13c93089fe59" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 492, - "startColumn": 53, - "charOffset": 19067, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 490, - "startColumn": 1, - "charOffset": 18996, - "charLength": 284, - "snippet": { - "text": " }\n\n var realClauses = rule.Clauses.Where>(x =>\n !(x is TerminalClause || x is ChoiceClause) ||\n (x is TerminalClause t && !t.Discarded) || (x is ChoiceClause c && !c.IsDiscarded))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "14c730550eb83ea3baec9f9628430c908f8075d8ba8b1d5a5d094a5adf1092fb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 101, - "startColumn": 30, - "charOffset": 4337, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 99, - "startColumn": 1, - "charOffset": 4222, - "charLength": 216, - "snippet": { - "text": " LexerPostProcess lexerPostProcess = null) where IN : struct\n {\n return BuildLexer(new BuildResult>(), extensionBuilder, lexerPostProcess: lexerPostProcess);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "162edac2e583f7fa3de9bfc87f0770faae0c7b79dfc4146fa7283d3049d7a22f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 145, - "charOffset": 748, - "charLength": 18, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 559, - "charLength": 245, - "snippet": { - "text": " public bool IsSubRule { get; set; }\n\n public List> PossibleLeadingTokens => Rules.SelectMany, LeadingToken>(r => r.PossibleLeadingTokens).ToList>();\n\n [ExcludeFromCodeCoverage]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17078dc7929fa19b4757514feb3db197103be7c9e7e82d089c5166658679d152" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 115, - "charOffset": 5954, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 5648, - "charLength": 449, - "snippet": { - "text": " var choiceResult = ParseChoice(tokens, choice, currentPosition, parsingContext);\n currentPosition = choiceResult.EndingPosition;\n if (choiceResult.IsError && choiceResult.Errors != null && choiceResult.Errors.Any>())\n {\n errors.AddRange(choiceResult.Errors);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18df5a36a11f4cd0d4ad9f56f79b6cd34599f85ddd54a6ade022dea670c9de18" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMany.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 61, - "charOffset": 720, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 586, - "charLength": 226, - "snippet": { - "text": " var t = \"\";\n if (Precondition != null) t = \"[|] \";\n t += \"[\"+string.Join(\",\",TransitionToken.Select(x => x.ToEscaped()))+\"]\";\n return $@\"[ label=\"\"{t}\"\" ]\";\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1baaf5a810bd77b5e32a8f73c4f35782a562d206e89e76495c05c01a1e0d5a65" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 399, - "startColumn": 36, - "charOffset": 13884, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 397, - "startColumn": 1, - "charOffset": 13810, - "charLength": 165, - "snippet": { - "text": " else\n {\n if (indents.Any())\n {\n var indent = FSMMatch.Indent(1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1bd12fd8af8941ffcb04f7f28359b1a948d7f913f042851b9abc483265e5eff7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 79, - "charOffset": 846, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 729, - "charLength": 172, - "snippet": { - "text": " public string Dump()\n {\n return Clauses.Select, string>(c => c.Dump()).Aggregate((d1, d2) => d1 + \" \" + d2);\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "226befa6d8459e0c4410518aaff33e8731fde7c445dc7ec702781f2b2c4d6e75" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 69, - "charOffset": 2159, - "charLength": 36, - "snippet": { - "text": ", FSMTransition>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2076, - "charLength": 195, - "snippet": { - "text": " }\n\n foreach (var transition in Transitions.Values.SelectMany, FSMTransition>(x => x))\n dump.AppendLine(transition.ToGraphViz(Nodes));\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22c585ab4a96983544b619b7b4c04759d3c6728ef8b74ac0f98d1e701785191f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 231, - "startColumn": 21, - "charOffset": 10162, - "charLength": 17, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 229, - "startColumn": 1, - "charOffset": 10053, - "charLength": 180, - "snippet": { - "text": " {\n return attributes.Values.Select(x => x.lexemes).SelectMany(x => x)\n .Any(lexeme => lexeme.GenericToken != default);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24e95f44038a1b11cb6302e9df2836007996fb5ae216bb913158ad1518d62275" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 99, - "charOffset": 1965, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1773, - "charLength": 266, - "snippet": { - "text": " var currentLefts = GetLeftClausesName(current);\n bool stopped = false;\n while (i < rule.Clauses.Count && ! stopped && currentLefts != null && currentLefts.Any())\n {\n stopped = !current.MayBeEmpty();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "260745dfc7fa4f2308d03591d5debf0465a4a6428b2a7ce627cc930411bbd050" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 459, - "startColumn": 61, - "charOffset": 19749, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 457, - "startColumn": 1, - "charOffset": 19602, - "charLength": 166, - "snippet": { - "text": " {\n result = CheckStringAndCharTokens(attributes, result, lang);\n var (config, tokens) = GetConfigAndGenericTokens(attributes);\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "28bfacbe74244d2c328776ccc11bf2c0ab7cc0ddd8b00e8b5a67ea7cd1999333" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 347, - "startColumn": 27, - "charOffset": 14738, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 345, - "startColumn": 1, - "charOffset": 14615, - "charLength": 228, - "snippet": { - "text": " //.Select(oper => oper.ToString())\n .ToList()\n .Aggregate((s1, s2) => $\"{s1}_{s2}\");\n \n return $\"expr_{precedence}_{operatorsPart}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "297b65f5c589bc477dc67121ee7d3289df83e5ee59bb07a02fce1d571c08cc8c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 687, - "startColumn": 24, - "charOffset": 29910, - "charLength": 25, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 685, - "startColumn": 1, - "charOffset": 29744, - "charLength": 302, - "snippet": { - "text": " .Where(a => a.IsString || a.IsChar)\n .Where(a => a.HasGenericTokenParameters)\n .Select(a => a.GenericTokenParameters[0]);\n\n var duplicates = allDelimiters.GroupBy(x => x)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a50bcb6ac554d1363e67c52bca224759de47099a220dcfae83c444f78b83f87" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 257, - "startColumn": 105, - "charOffset": 11114, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 255, - "startColumn": 1, - "charOffset": 11008, - "charLength": 183, - "snippet": { - "text": "\n\n var PreFixOps = operations.Where>(x => x.Affix == Affix.PreFix).ToList>();\n if (PreFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b65b4440fc9ab7d8bc0f970fde1f8fbd178b0d500090fee3e4a32878295c0c4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 722, - "startColumn": 25, - "charOffset": 31643, - "charLength": 18, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 720, - "startColumn": 1, - "charOffset": 31412, - "charLength": 541, - "snippet": { - "text": " l?.Count(attr => attr.GetType() == typeof(CommentAttribute)) ?? 0).Sum();\n var multiLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(MultiLineCommentAttribute)) ?? 0).Sum();\n var singleLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(SingleLineCommentAttribute)) ?? 0).Sum();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2bd1b02f27ed3b2c785f8aab61847d48c77705c222d698329c953356a48e874c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 288, - "startColumn": 46, - "charOffset": 12336, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 286, - "startColumn": 1, - "charOffset": 12276, - "charLength": 199, - "snippet": { - "text": " }\n\n var PostFixOps = operations.Where>(x => x.Affix == Affix.PostFix).ToList>();\n if (PostFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2eb8625438017ac839bf49aabab722f7be41674414619581449f02207e8c75ed" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 55, - "charOffset": 317, - "charLength": 18, - "snippet": { - "text": ", bool>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 207, - "charLength": 348, - "snippet": { - "text": "\n public bool IsDiscarded { get; set; } = false;\n public bool IsTerminalChoice => Choices.Select, bool>(c => c is TerminalClause).Aggregate((x, y) => x && y);\n public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "305529d1f4c10fa5803d2b5e93c6610f20c2ead89c18cb1be53157874d54a4c1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 367, - "startColumn": 84, - "charOffset": 12490, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 365, - "startColumn": 1, - "charOffset": 12282, - "charLength": 310, - "snippet": { - "text": " uIndentCount = currentIndentations.Count - i;\n currentIndentations.Reverse();\n var unindented = currentIndentations.Take(i).ToList();\n var spaces = unindented.Select(x => x.Length).Sum();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32320d0bfa958d223383070b6a2a6e5749eecb5d71d39c2bb625ab35eedffe18" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 67, - "charOffset": 2075, - "charLength": 17, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1898, - "charLength": 284, - "snippet": { - "text": " private SyntaxVisitorResult Visit(OptionSyntaxNode node, object context = null)\n {\n var child = node.Children != null && node.Children.Any>() ? node.Children[0] : null;\n if (child == null || node.IsEmpty)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "326da63fa77c986aced88b203311b7c3c54034130823eede0d0b1c1acfa55f2b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 720, - "startColumn": 25, - "charOffset": 31436, - "charLength": 18, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 718, - "startColumn": 1, - "charOffset": 31321, - "charLength": 414, - "snippet": { - "text": "\n var commentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(CommentAttribute)) ?? 0).Sum();\n var multiLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(MultiLineCommentAttribute)) ?? 0).Sum();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "336b9d6fef7dad9853809790163bd8f8b1314cf3bbb0f841e81448a8ed72d907" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 344, - "startColumn": 49, - "charOffset": 11264, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 342, - "startColumn": 1, - "charOffset": 11129, - "charLength": 340, - "snippet": { - "text": " if (indentCharCount < indents.Count)\n {\n var t = indents.Skip(indentCharCount).ToArray();\n var newTab = new string(t);\n var indent = FSMMatch.Indent(lexerPosition.Indentations.Count() + 1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36126b265a41d31df6b69e5723c9f8759b49e52e8e43d69a61d045d02ac0f25c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionAnyExcept.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 66, - "charOffset": 1028, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 882, - "charLength": 241, - "snippet": { - "text": " var label = \"\";\n if (Precondition != null) label = \"[|] \";\n label += $\"^({string.Join(\", \",TokenExceptions.Select(c => c.ToEscaped()))})\";\n return $@\"[ label=\"\"{label}\"\" ]\";\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3674a93f274c04e8da0a17345af696232cb2f7a3e14bf71080115c2e7420c938" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 334, - "startColumn": 38, - "charOffset": 12179, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 332, - "startColumn": 1, - "charOffset": 12046, - "charLength": 259, - "snippet": { - "text": " // numeric\n if (staticTokens.Contains(GenericToken.Int) ||\n staticTokens.Contains(GenericToken.Double) || \n staticTokens.Contains(GenericToken.Date)) \n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3682c67a4b014d325c7e83f3e6b54b3b7e446fc9e3045d1e038858634f6cc64f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/EOLManager.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 40, - "charOffset": 1446, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1341, - "charLength": 204, - "snippet": { - "text": " end = EolType.Nix;\n break;\n case '\\r' when value.At(position + 1) == '\\n':\n end = EolType.Windows;\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3870b920452bf8d0e9efcbaa3cb3b9cb97f79ba2ba765f63c368375e8165db4f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 220, - "startColumn": 44, - "charOffset": 9577, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 218, - "startColumn": 1, - "charOffset": 9454, - "charLength": 258, - "snippet": { - "text": " var nonTerminal = new NonTerminal(name, new List>());\n\n var InFixOps = operations.Where>(x => x.Affix == Affix.InFix).ToList>();\n if (InFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b6581cc0c908f733cec052549734bb443266369c54c374aad62c2804b897a7e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 121, - "startColumn": 47, - "charOffset": 5070, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 119, - "startColumn": 1, - "charOffset": 4942, - "charLength": 237, - "snippet": { - "text": " methods = parserClass.GetMethods().ToList();\n \n var operandMethods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b86245c5e8e6e1fca386589e2474e4d80d251c1f3c94e53a9ef9b82df874434" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 39, - "charOffset": 1034, - "charLength": 20, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 911, - "charLength": 272, - "snippet": { - "text": " StringBuilder dump = new StringBuilder();\n dump.Append(\"( \");\n dump.Append(Clauses.Select, string>(c => c.Dump()).Aggregate((d1, d2) => d1 + \" \" + d2));\n dump.Append(\" )\");\n return dump.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b97119087941dc9d353fc21ec5376d8be81ce871c5a9ce1db35b90ab95a8d3a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 244, - "startColumn": 34, - "charOffset": 9269, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 242, - "startColumn": 1, - "charOffset": 9168, - "charLength": 156, - "snippet": { - "text": " IClause clause;\n var isTerminal = false;\n var b = Enum.TryParse(name, out token);\n if (b)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c85ee6c4b07953c69ab4e3cc21015c20e63f2e05bc18251cafd281f569e9c10" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 220, - "startColumn": 103, - "charOffset": 9636, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 218, - "startColumn": 1, - "charOffset": 9454, - "charLength": 258, - "snippet": { - "text": " var nonTerminal = new NonTerminal(name, new List>());\n\n var InFixOps = operations.Where>(x => x.Affix == Affix.InFix).ToList>();\n if (InFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e48dbf5d3e2711d1586ec7a2308449d3c8781edbd927233f9acf2c43fc75244" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 29, - "charOffset": 452, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 256, - "charLength": 233, - "snippet": { - "text": " (CallBacksAttribute[]) typeof(IN).GetCustomAttributes(typeof(CallBacksAttribute), true);\n Type callbackClass = attributes[0].CallBacksClass;\n ExtractCallBacks(callbackClass,lexer);\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4527ee24d71f4bd10382a070faba9e0d2db967eb9f5909212d3869b84ad1e184" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 70, - "charOffset": 4062, - "charLength": 48, - "snippet": { - "text": ">>>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 3978, - "charLength": 266, - "snippet": { - "text": " }\n\n configuration.UsesOperations = operationsByPrecedence.Any>>>(); \n result.Result = configuration;\n var rec = LeftRecursionChecker.CheckLeftRecursion(configuration);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4636f0e80bb96d6321e388ba2ca595d798d7b956ddc40cc655da524195b47f4d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 64, - "charOffset": 5165, - "charLength": 11, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 5024, - "charLength": 282, - "snippet": { - "text": " var operandMethods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();\n var attr = attributes.Find(a => a.GetType() == typeof(OperandAttribute));\n return attr != null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47807dbdd748d47ba6f0319fa530f009a1417e68f2ed694b26b0660ad59b02d1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 69, - "charOffset": 3942, - "charLength": 17, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 3827, - "charLength": 192, - "snippet": { - "text": " else\n {\n attributes[tokenID] = (enumAttributes.ToList(),labelAttributes);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4be2c4dd14fd68ef37503fb672ca1da336a590e85a8b1971dae79c49b13da2b8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 64, - "charOffset": 6147, - "charLength": 20, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 5998, - "charLength": 313, - "snippet": { - "text": " {\n operandNonTerminalName = $\"{parserClass.Name}_operand\";\n var operandNonTerminals = operandMethods.Select(GetNonTerminalNameFromProductionMethod);\n var operandNonTerminal = new NonTerminal(operandNonTerminalName);\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c7d887bbf2bb46a5c6286330130c47f14fbed72bd445cb14fe65a4fc3bb7514" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 84, - "charOffset": 1079, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 911, - "charLength": 272, - "snippet": { - "text": " StringBuilder dump = new StringBuilder();\n dump.Append(\"( \");\n dump.Append(Clauses.Select, string>(c => c.Dump()).Aggregate((d1, d2) => d1 + \" \" + d2));\n dump.Append(\" )\");\n return dump.ToString();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c87be6d3d893c648e8665cc2bf0effbe9fd27d43ef27197f96a308287589e75" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 31, - "charOffset": 609, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 508, - "charLength": 123, - "snippet": { - "text": " public static List Lst(params string[] args)\n {\n return args.ToList();\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4deae6c2966cc6fd5618849e685335cfb617e27773df30cd5b39dba8511e3760" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 22, - "charOffset": 1184, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1097, - "charLength": 196, - "snippet": { - "text": " \n return attributes.Any();\n }).ToList();\n\n var operationsByPrecedence = new Dictionary>>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f05cf9aa78718dcaec3509077ca47dccdf37636066f2046e1d3b30370925843" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 38, - "charOffset": 1151, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 991, - "charLength": 209, - "snippet": { - "text": " var attributes = m.GetCustomAttributes(typeof(OperationAttribute),true).ToList();\n \n return attributes.Any();\n }).ToList();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ff1333b5d182e59ca790a3c618dcd4f0eabe8d92643e70fd8869acfd47be821" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 572, - "startColumn": 26, - "charOffset": 24367, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 570, - "startColumn": 1, - "charOffset": 24340, - "charLength": 71, - "snippet": { - "text": "\n\n AddExtensions(Extensions, extensionBuilder, lexer);\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52469e2c6eb7199ff2d38c7b3d847514e4bfadef1332e0403a4ec800b2f598e8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 344, - "startColumn": 80, - "charOffset": 11295, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 342, - "startColumn": 1, - "charOffset": 11129, - "charLength": 340, - "snippet": { - "text": " if (indentCharCount < indents.Count)\n {\n var t = indents.Skip(indentCharCount).ToArray();\n var newTab = new string(t);\n var indent = FSMMatch.Indent(lexerPosition.Indentations.Count() + 1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "55d08199a2eff064253c39102f8c29268d1e6fa99cd7a21de58f5af0bcd24b5a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 354, - "startColumn": 64, - "charOffset": 15493, - "charLength": 40, - "snippet": { - "text": ", LexemeAttribute>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 352, - "startColumn": 1, - "charOffset": 15377, - "charLength": 235, - "snippet": { - "text": "\n var statics = new List();\n foreach (var lexeme in attributes.Values.SelectMany, LexemeAttribute>(list => list))\n {\n statics.Add(lexeme.GenericToken);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "57a2bd6c3424fd488184bc12fda26f44d7899e1100495efd4f25a37870009e06" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 53, - "charOffset": 1215, - "charLength": 21, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1023, - "charLength": 386, - "snippet": { - "text": " return GetLeftClausesName(option.Clause);\n case ChoiceClause choice when choice.IsNonTerminalChoice:\n return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();\n case GroupClause group:\n return GetLeftClausesName(group.Clauses.First>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "57f6050599d983ff7cc0f103c0074f51d3b6b320a7e1ddd97f724ceb1ed921cb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 169, - "startColumn": 39, - "charOffset": 6664, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 167, - "startColumn": 1, - "charOffset": 6513, - "charLength": 337, - "snippet": { - "text": " .Errors\n .Select(e => e.ErrorMessage)\n .Aggregate((e1, e2) => e1 + \"\\n\" + e2);\n message = $\"rule error [{ruleString}] : {message}\";\n throw new ParserConfigurationException(message);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "57fb4ce6b15138069bae291a6558c6e17ff6edd51d82528ddfebc236a690ba5e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 242, - "startColumn": 49, - "charOffset": 6996, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 240, - "startColumn": 1, - "charOffset": 6878, - "charLength": 328, - "snippet": { - "text": " while (lexerPosition.Index < source.Length)\n {\n var currentCharacter = source.At(lexerPosition);\n var currentValue = source.Slice(position.Index, lexerPosition.Index - position.Index + 1);\n currentNode = Move(currentNode, currentCharacter, currentValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a03add3c57a876547ad19a9a5dc6d78e770518a254f1cd80427168318b2e332" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 691, - "startColumn": 70, - "charOffset": 30194, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 689, - "startColumn": 1, - "charOffset": 29972, - "charLength": 287, - "snippet": { - "text": " var duplicates = allDelimiters.GroupBy(x => x)\n .Where>(g => g.Count() > 1)\n .Select(y => new { Element = y.Key, Counter = y.Count() });\n\n foreach (var duplicate in duplicates)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ab21f523a90fe6839200ce2914044f5a06e5c7fd99e0a534a64825ec1905dc6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 209, - "startColumn": 22, - "charOffset": 7770, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 207, - "startColumn": 1, - "charOffset": 7619, - "charLength": 205, - "snippet": { - "text": " var attr = attributes.Find(a => a.GetType() == typeof(ProductionAttribute));\n return attr != null;\n }).ToList();\n\n parserClass.GetMethods();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5dfbded23e109a0687ae8105cd8c849aecf54da774513018c8d0a61e4df5573c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 139, - "startColumn": 58, - "charOffset": 5855, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 137, - "startColumn": 1, - "charOffset": 5741, - "charLength": 239, - "snippet": { - "text": " if (operandMethods.Count == 1)\n {\n var operandMethod = operandMethods.Single();\n operandNonTerminalName = GetNonTerminalNameFromProductionMethod(operandMethod);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e8b4ab6daf78d7706a25d6d92f06d32b5cdee287941478e372b6b6191306ccb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 54, - "charOffset": 2258, - "charLength": 3, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2090, - "charLength": 215, - "snippet": { - "text": "\n foreach (var transition in Transitions.Values.SelectMany, FSMTransition>(x => x))\n dump.AppendLine(transition.ToGraphViz(Nodes));\n\n dump.AppendLine(\"}\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5efd1eb0b2af26fbbb1d665a4a95c3afb15c1b1aa1d037212a49790ad9318ce2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/EOLManager.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 29, - "charOffset": 1259, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 1187, - "charLength": 126, - "snippet": { - "text": " {\n var end = EolType.No;\n var n = value.At(position);\n switch (n)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "608d5de4a947e3110e9da9a11401bb063ef36a9aca93905334315c489ddf956c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 58, - "charOffset": 908, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 828, - "charLength": 162, - "snippet": { - "text": " {\n \n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61626d7746190f7be55383cf4d16aed01e62d664b7f8df7aa2710b3745c70220" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 31, - "charOffset": 4906, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 4829, - "charLength": 197, - "snippet": { - "text": " if (!result.IsError)\n {\n result = Build(attributes, result, extensionBuilder, lang, explicitTokens);\n if (!result.IsError)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62e400b9e9c344a083f3d4d97d4cf5e43279f48957bc8120134617a78ea5d5d8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 260, - "startColumn": 53, - "charOffset": 11244, - "charLength": 43, - "snippet": { - "text": ", TerminalClause>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 258, - "startColumn": 1, - "charOffset": 11141, - "charLength": 220, - "snippet": { - "text": " if (PreFixOps.Count > 0)\n {\n var PreFixClauses = PreFixOps.Select, TerminalClause>(x =>\n {\n if (x.IsExplicitOperatorToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6484532232960eba77788b934c37c6fe66d95416537bfe0fdf7cf94afc839a5a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 59, - "charOffset": 7247, - "charLength": 11, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 7133, - "charLength": 253, - "snippet": { - "text": " {\n string operandNonTerminal = null;\n if (operandMethod.GetCustomAttributes().ToList()\n .Find(attr => attr.GetType() == typeof(ProductionAttribute)) is ProductionAttribute production)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "655f1c09bc479a6e298a77461f743a3c8de9ee7cd749ba79bce4a8c4598ef4ae" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 375, - "startColumn": 45, - "charOffset": 14442, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 373, - "startColumn": 1, - "charOffset": 14203, - "charLength": 328, - "snippet": { - "text": " found = innerChoice.Choices.Where>(c =>\n (c as NonTerminalClause).NonTerminalName == referenceName)\n .Any>();\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65a51e21ecce26bedaccae0940afe9aa9950ae54c0116ad686c674a0c177c8b8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 690, - "startColumn": 63, - "charOffset": 30109, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 688, - "startColumn": 1, - "charOffset": 29971, - "charLength": 238, - "snippet": { - "text": "\n var duplicates = allDelimiters.GroupBy(x => x)\n .Where>(g => g.Count() > 1)\n .Select(y => new { Element = y.Key, Counter = y.Count() });\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65aacd5f91183a9fde6ad469ffe90ad3d4889d5ad404d80c25ec8a65cc758e81" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 724, - "startColumn": 25, - "charOffset": 31860, - "charLength": 18, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 722, - "startColumn": 1, - "charOffset": 31619, - "charLength": 369, - "snippet": { - "text": " l?.Count(attr => attr.GetType() == typeof(MultiLineCommentAttribute)) ?? 0).Sum();\n var singleLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(SingleLineCommentAttribute)) ?? 0).Sum();\n\n if (commentCount > 1)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "66e3b6b3a5a66aee30b177e3cfc281c7ad509026fec8876b91ebf881eae3a039" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 40, - "charOffset": 4809, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 4730, - "charLength": 145, - "snippet": { - "text": " where IN : struct\n {\n var attributes = GetLexemes(result, lang);\n if (!result.IsError)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c8df44d0efe0806f5981b9e80e2fbc5c099a6368890ac519119df0e0a1468b2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 118, - "charOffset": 517, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 208, - "charLength": 402, - "snippet": { - "text": " public bool IsDiscarded { get; set; } = false;\n public bool IsTerminalChoice => Choices.Select, bool>(c => c is TerminalClause).Aggregate((x, y) => x && y);\n public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);\n \n public List> Choices { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d9ecaa1ee2f481ad01301d7c9d1365c2655e8b2d173db7f43d1021725b8fb47" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 721, - "startColumn": 65, - "charOffset": 31584, - "charLength": 29, - "snippet": { - "text": ", int>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 719, - "startColumn": 1, - "charOffset": 31322, - "charLength": 513, - "snippet": { - "text": " var commentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(CommentAttribute)) ?? 0).Sum();\n var multiLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(MultiLineCommentAttribute)) ?? 0).Sum();\n var singleLineCommentCount = attributes.Values.Select, int>(l =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6dcc5578169c05173631adadda52ef5727804d6bfdd7c255aefcc63e2bfd77c0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 129, - "startColumn": 36, - "charOffset": 5405, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 127, - "startColumn": 1, - "charOffset": 5344, - "charLength": 262, - "snippet": { - "text": " \n \n if (!operandMethods.Any())\n {\n result.AddError(new ParserInitializationError(ErrorLevel.FATAL, I18N.Instance.GetText(I18n,I18NMessage.MissingOperand),ErrorCodes.PARSER_MISSING_OPERAND));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e1bc7f2b11e01e0d5ab189c34ddf6b865d282ed825e40f67e35a9fd390b0a16" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 690, - "startColumn": 23, - "charOffset": 30069, - "charLength": 27, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 688, - "startColumn": 1, - "charOffset": 29971, - "charLength": 238, - "snippet": { - "text": "\n var duplicates = allDelimiters.GroupBy(x => x)\n .Where>(g => g.Count() > 1)\n .Select(y => new { Element = y.Key, Counter = y.Count() });\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ea3972c9cd2faafd9c30207ac7668ca738ff2b7b160af857d3c8d3c433c798e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 37, - "charOffset": 5351, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 5300, - "charLength": 160, - "snippet": { - "text": " }\n\n char current = source.At(index + i);\n while (i < source.Length && (current == ' ' || current == '\\t'))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70a79c4c55de5c85e1dbda008949267cba7e8fd0dfc144696d0212dea2d31003" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 22, - "charOffset": 5329, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 5178, - "charLength": 200, - "snippet": { - "text": " var attr = attributes.Find(a => a.GetType() == typeof(ProductionAttribute));\n return attr != null;\n }).ToList();\n\n methods.ForEach(m =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "719d2d3e3cb8f46976a9a6729d24a6b12aa26a5ea8e47e0b6ef503e4a8cc6e42" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 686, - "startColumn": 23, - "charOffset": 29835, - "charLength": 17, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 684, - "startColumn": 1, - "charOffset": 29701, - "charLength": 270, - "snippet": { - "text": " var allDelimiters = allLexemes\n .Where(a => a.IsString || a.IsChar)\n .Where(a => a.HasGenericTokenParameters)\n .Select(a => a.GenericTokenParameters[0]);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "73b098dc5f3b89994393e2cec747fa1e736fbf877bc6c2d3e3a288238ec812e8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 137, - "startColumn": 64, - "charOffset": 5163, - "charLength": 11, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 135, - "startColumn": 1, - "charOffset": 5033, - "charLength": 274, - "snippet": { - "text": " methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();\n var attr = attributes.Find(a => a.GetType() == typeof(ProductionAttribute));\n return attr != null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74232751f5665056c689f7a2146018de7ed95dfdabeafdb2e2df3359bb97b3e7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 98, - "startColumn": 41, - "charOffset": 3103, - "charLength": 16, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 96, - "startColumn": 1, - "charOffset": 2995, - "charLength": 166, - "snippet": { - "text": " {\n var res = new SyntaxVisitorResult();\n res.OptionGroupResult = Some>(group);\n return res;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "75f509681c683416631a8d140ca854e2715d30b7db60b760412c9748b3613e77" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 54, - "charOffset": 4995, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 4894, - "charLength": 193, - "snippet": { - "text": " {\n List methods;\n methods = parserClass.GetMethods().ToList();\n \n var operandMethods = methods.Where(m =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7648d186357e922afa32b875ed4d9403fbe52778c9c4026b05785fad77a8ade1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 107, - "startColumn": 31, - "charOffset": 3845, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 105, - "startColumn": 1, - "charOffset": 3739, - "charLength": 298, - "snippet": { - "text": " .Max();\n var lastErrors = errors\n .Where>(e =>\n e.UnexpectedToken.PositionInTokenFlow == lastErrorPosition)\n .ToList>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "793c9d19944f452b9c6d0ae7b7f50ac6b9ff491ebb4604d266849fadefd5344f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 129, - "charOffset": 14321, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 14147, - "charLength": 275, - "snippet": { - "text": " if (precedence > 0)\n {\n var tokens = operationsByPrecedence[precedence].Select, string>(o => o.Operatorkey).ToList();\n return GetNonTerminalNameForPrecedence(precedence, tokens);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7bdcc4a044c16e91eebf40971ad2340d9a1e9eca4e978e815fd0c7f1414b1b19" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 575, - "startColumn": 51, - "charOffset": 24462, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 573, - "startColumn": 1, - "charOffset": 24410, - "charLength": 231, - "snippet": { - "text": "\n\n var allComments = GetCommentsAttribute(result, lang);\n var CommentsForSubLexer = allComments.Where(x => attributes.Keys.ToList().Contains(x.Key))\n .ToDictionary(x => x.Key, x => x.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7be8d52d9fab63b1eac11748f52fb7f2e55c7443b9dc79700faf3769ece0ade2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 299, - "startColumn": 40, - "charOffset": 10972, - "charLength": 11, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 297, - "startColumn": 1, - "charOffset": 10818, - "charLength": 272, - "snippet": { - "text": " {\n var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c508bc92538dd7ebf327c675d3331b90dcddb1aefde6634c851f3093fee3e8f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 67, - "charOffset": 2021, - "charLength": 17, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1892, - "charLength": 236, - "snippet": { - "text": " private OUT Visit(OptionSyntaxNode node)\n {\n var child = node.Children != null && node.Children.Any>() ? node.Children[0] : null;\n if (child == null || node.IsEmpty)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e3bbda93adde5f17dd3665b1cbd6d01876bd337276f851e41b85daacf4f7b26" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 368, - "startColumn": 69, - "charOffset": 16168, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 366, - "startColumn": 1, - "charOffset": 16085, - "charLength": 112, - "snippet": { - "text": " }\n\n return (config, statics.Distinct().ToArray());\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e4aac6e64ace4227b412aa611fe8603f0ea341e0703c263df8d9a9d34bb6a5f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 147, - "startColumn": 90, - "charOffset": 5888, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 145, - "startColumn": 1, - "charOffset": 5752, - "charLength": 308, - "snippet": { - "text": " else\n {\n var expected = new UnexpectedTokenSyntaxError(expecting.First>().UnexpectedToken, LexemeLabels, I18n,\n new LeadingToken[]{});\n errors.Add(expected);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7f92db9c799135dddff7d0a4ca89267b9d039202088574decc20265fcc7ed965" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 65, - "charOffset": 751, - "charLength": 17, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 630, - "charLength": 193, - "snippet": { - "text": " public bool IsByPassNode { get; set; } = false;\n\n public bool IsEmpty => Children == null || !Children.Any>();\n\n public Affix ExpressionAffix { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "800ac150fe55c82b9899257e1bc5614aba150355d513367629750c2c8236062e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 133, - "startColumn": 144, - "charOffset": 4888, - "charLength": 73, - "snippet": { - "text": ">, LexerPosition>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 131, - "startColumn": 1, - "charOffset": 4588, - "charLength": 493, - "snippet": { - "text": " result.Errors = new List();\n var unexpectedTokens = syntaxResult.Errors.ToList>();\n var byEnding = unexpectedTokens.GroupBy, LexerPosition>(x => x.UnexpectedToken.Position).OrderBy>, LexerPosition>(x => x.Key);\n var errors = new List(); \n foreach (var expecting in byEnding)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "808b1c8815656e18eaebe11b2347087b860853a8f8e6e4e3156ab4cd121d5475" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 320, - "startColumn": 90, - "charOffset": 11844, - "charLength": 17, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 318, - "startColumn": 1, - "charOffset": 11686, - "charLength": 253, - "snippet": { - "text": " if (nonTerminal.Name != conf.StartingRule)\n {\n foreach (var nt in result.Result.Configuration.NonTerminals.Values.ToList>())\n if (nt.Name != nonTerminal.Name)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81efcc110efd6bb99448c6da49d063bf25fc60234c8f03aef11de30dd15d5229" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 175, - "startColumn": 51, - "charOffset": 7648, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 173, - "startColumn": 1, - "charOffset": 7536, - "charLength": 196, - "snippet": { - "text": " else if (hasGenericLexemes)\n {\n result = BuildGenericSubLexers(attributes, extensionBuilder, result, lang, explicitTokens);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8303ff5e5b384b5c2d1c9899677a588410dbe812a0275fbbbf16e8eee3522e24" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 191, - "startColumn": 48, - "charOffset": 6942, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 189, - "startColumn": 1, - "charOffset": 6790, - "charLength": 263, - "snippet": { - "text": " LexerPostProcess lexerPostProcess = null, IList explicitTokens = null)\n {\n var lexer = LexerBuilder.BuildLexer(new BuildResult>(), extensionBuilder, I18n,\n lexerPostProcess, explicitTokens);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84c015a527eaaf7572f0f293f9383ed457c6589fea8e73e0b078df1664bf12e2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 60, - "charOffset": 1148, - "charLength": 20, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 1037, - "charLength": 195, - "snippet": { - "text": " public override string ToString()\n {\n var choices = string.Join(\" | \", Choices.Select, string>(c => c.Dump()));\n return $\"[ {choices} ]\";\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84ce85e3d3c2cab31103858c1680e1dd980f63b73487136b156fcf2c7bf37f69" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 112, - "charOffset": 374, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 207, - "charLength": 348, - "snippet": { - "text": "\n public bool IsDiscarded { get; set; } = false;\n public bool IsTerminalChoice => Choices.Select, bool>(c => c is TerminalClause).Aggregate((x, y) => x && y);\n public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "866cef22557ac148801f062cba47ec3c763f179b2ec7de5b6e24469a9408aeef" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 52, - "charOffset": 1933, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1828, - "charLength": 207, - "snippet": { - "text": "\n var values = Enum.GetValues(typeof(IN));\n var grouped = values.Cast().GroupBy(x => x).ToList>();\n foreach (var group in grouped)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "88f159d45a729dbf9d64b353511bd92f220de0fc86d4d81f094f0753e7b239f0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 775, - "startColumn": 30, - "charOffset": 27931, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 773, - "startColumn": 1, - "charOffset": 27850, - "charLength": 158, - "snippet": { - "text": " if (substitutionHappened)\n {\n r += value.At(value.Length - 1);\n value = r.AsMemory();\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8af49929d7902e1060484321dcf62eb1f8f3df06d1cf6650106a41b2f41cd6a8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 47, - "charOffset": 6476, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 6353, - "charLength": 209, - "snippet": { - "text": " IList explicitTokens = null) where IN : struct\n {\n var hasRegexLexemes = IsRegexLexer(attributes);\n var hasGenericLexemes = IsGenericLexer(attributes);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b24efd17bcd4f23638523ce345326d926956d53834b4163e8acdab71c0c3b69" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 368, - "startColumn": 45, - "charOffset": 16144, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 366, - "startColumn": 1, - "charOffset": 16085, - "charLength": 112, - "snippet": { - "text": " }\n\n return (config, statics.Distinct().ToArray());\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c9c67bb4a4302c642fece3080e6e600d54b549b8f43c2a9641cccf973f48a5e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 272, - "startColumn": 77, - "charOffset": 7635, - "charLength": 24, - "snippet": { - "text": "<(char start, char end)>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 270, - "startColumn": 1, - "charOffset": 7484, - "charLength": 248, - "snippet": { - "text": " if (count > 0 && !string.IsNullOrEmpty(pattern))\n {\n if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())\n {\n for (int i = 0; i < count; i++)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9047a3e94e67a1253b2f6ed34ec5a1171c5150f11058502a58bf32b9301bf6e7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 66, - "charOffset": 1392, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 1163, - "charLength": 318, - "snippet": { - "text": " return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();\n case GroupClause group:\n return GetLeftClausesName(group.Clauses.First>());\n default:\n return new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9173c78a24c5b156f190e4c7e8f4a494b48cff191662f895cb6718078a1e81b0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 206, - "startColumn": 64, - "charOffset": 7604, - "charLength": 11, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 204, - "startColumn": 1, - "charOffset": 7474, - "charLength": 274, - "snippet": { - "text": " methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();\n var attr = attributes.Find(a => a.GetType() == typeof(ProductionAttribute));\n return attr != null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93a723ee9d9ac5f603c444ca8d8b57ad33b33a74924a405fc77f9e5295b881d2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 367, - "startColumn": 66, - "charOffset": 12472, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 365, - "startColumn": 1, - "charOffset": 12282, - "charLength": 310, - "snippet": { - "text": " uIndentCount = currentIndentations.Count - i;\n currentIndentations.Reverse();\n var unindented = currentIndentations.Take(i).ToList();\n var spaces = unindented.Select(x => x.Length).Sum();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93e2ef06622ee4394698ef672075c86025dcced6b2f4373cd55333c933553f22" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 33, - "charOffset": 1151, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1096, - "charLength": 96, - "snippet": { - "text": " {\n \n return Enum.TryParse(name, out IN token);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98776c77f4414ee2eca49d810425cf460d4c998409cc4e15ba26abdddd7a1ab5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 204, - "startColumn": 36, - "charOffset": 7509, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 202, - "startColumn": 1, - "charOffset": 7327, - "charLength": 291, - "snippet": { - "text": " var nonTerminals = new Dictionary>();\n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "998ee948a04295df22be8efbc0dfd6990edbf3dd4aa7962947ef66f74d9a0c26" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 595, - "startColumn": 66, - "charOffset": 25565, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 593, - "startColumn": 1, - "charOffset": 25345, - "charLength": 343, - "snippet": { - "text": " fsmBuilder.Mark(GenericLexer.single_line_comment_start);\n fsmBuilder.End(GenericToken.Comment);\n fsmBuilder.CallBack(GetCallbackSingle(comment.Key, commentAttr.DoNotIgnore,\n commentAttr.Channel));\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a5abbefbe4f5934cb4825bcdb38c6cd6d33416bf5afcaeef24a3e3b3d4159cd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 257, - "startColumn": 45, - "charOffset": 11054, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 255, - "startColumn": 1, - "charOffset": 11008, - "charLength": 183, - "snippet": { - "text": "\n\n var PreFixOps = operations.Where>(x => x.Affix == Affix.PreFix).ToList>();\n if (PreFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9cc03ada02ba6888e91140e9394074c2bf652c791a43b63bd68d059edceb02b3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 108, - "startColumn": 127, - "charOffset": 3926, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 106, - "startColumn": 1, - "charOffset": 3773, - "charLength": 229, - "snippet": { - "text": " }\n \n var leftClauses = nonTerminal.Rules.SelectMany, string>(x => GetLeftClausesName(x, configuration)).ToList();\n \n foreach (var leftClause in leftClauses)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9cfdacbe8372c12b5a5446e7b21fff079844808b3f288c8ef488653d300e2a0c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 187, - "startColumn": 65, - "charOffset": 7912, - "charLength": 5, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 185, - "startColumn": 1, - "charOffset": 7801, - "charLength": 152, - "snippet": { - "text": " string parserClassName) \n {\n var precedences = operationsByPrecedence.Keys.ToList();\n precedences.Sort();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d306f3e294ce9621f057cc0dfc5fef885ba24f42c79b722b303605e497036ea" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 32, - "charOffset": 2102, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 2022, - "charLength": 192, - "snippet": { - "text": " {\n var v = group.Key;\n if (group.Count() > 1)\n {\n Enum enumValue = Enum.Parse(typeof(IN), v.ToString()) as Enum;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ea21be1e4c9b95162cc86f1b18ad8e65e014075323d3ea29f08437228b74f03" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 60, - "charOffset": 670, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 491, - "charLength": 261, - "snippet": { - "text": " public static void ExtractCallBacks(Type callbackClass, GenericLexer lexer) where IN : struct\n {\n var methods = callbackClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2fceb4fcf3390e3d1be67e0ef90f8919d5ac289a1fe1d2eead4da4bac442041" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 298, - "startColumn": 76, - "charOffset": 9248, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 296, - "startColumn": 1, - "charOffset": 9096, - "charLength": 202, - "snippet": { - "text": " var indents = GetIndentations(source, lexerPosition.Index);\n\n var currentIndentations = lexerPosition.Indentations.ToList();\n\n int uIndentCount = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6b22ee673077de192253b150530e203d7fcf842fb5405d21423e40b22b3d646" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 58, - "charOffset": 1066, - "charLength": 21, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 979, - "charLength": 187, - "snippet": { - "text": " get\n {\n var key = string.Join(\"_\", Clauses.Select, string>(c => c.ToString()));\n \n if (Clauses.Count == 1) " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9f819c5e9098c7c1c2f38639f1b543e58b773589fd83bbb45704ac5dc127d11" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 40, - "charOffset": 2543, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 2313, - "charLength": 358, - "snippet": { - "text": " result.AddError(new LexerInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(lang, I18NMessage.SameValueUsedManyTime, intValue.ToString(),\n group.Count().ToString(), typeof(IN).FullName),\n ErrorCodes.LEXER_SAME_VALUE_USED_MANY_TIME));\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa4741d5de7b7ef20e2092bceb45486cd727094790663240662f543c6183f16a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 682, - "startColumn": 58, - "charOffset": 29650, - "charLength": 40, - "snippet": { - "text": ", LexemeAttribute>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 680, - "startColumn": 1, - "charOffset": 29553, - "charLength": 190, - "snippet": { - "text": " where IN : struct\n {\n var allLexemes = attributes.Values.SelectMany, LexemeAttribute>(a => a);\n\n var allDelimiters = allLexemes" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aacaee422297059b913c8d74b9844ddd598b6db5c0090255e48ccde8ff7a0d93" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 288, - "startColumn": 107, - "charOffset": 12397, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 286, - "startColumn": 1, - "charOffset": 12276, - "charLength": 199, - "snippet": { - "text": " }\n\n var PostFixOps = operations.Where>(x => x.Affix == Affix.PostFix).ToList>();\n if (PostFixOps.Count > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aae97837444b36b0d99e3d7a4cc34d6d46ede0da58ea2c653ab3a69ca4962de8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 71, - "charOffset": 14263, - "charLength": 31, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 14147, - "charLength": 275, - "snippet": { - "text": " if (precedence > 0)\n {\n var tokens = operationsByPrecedence[precedence].Select, string>(o => o.Operatorkey).ToList();\n return GetNonTerminalNameForPrecedence(precedence, tokens);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aff0f014a3289d3db7ee04c7283d37c3f0c43e0cad41c4968eec083ddfff7d57" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 46, - "charOffset": 2635, - "charLength": 22, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2515, - "charLength": 350, - "snippet": { - "text": " {\n var recs = string.Join(\"\\n\",\n recursions.Select, string>(x => string.Join(\" > \", x)));\n result.AddError(new ParserInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.LeftRecursion, recs)," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b01704c2b87dadd01c9a3d66b6d8cfac4f7f86ce3bae1c90201bacdd8c9f54e3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 80, - "charOffset": 683, - "charLength": 28, - "snippet": { - "text": ", LeadingToken>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 559, - "charLength": 245, - "snippet": { - "text": " public bool IsSubRule { get; set; }\n\n public List> PossibleLeadingTokens => Rules.SelectMany, LeadingToken>(r => r.PossibleLeadingTokens).ToList>();\n\n [ExcludeFromCodeCoverage]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1c5311f7a347661059da4245a3f518cce1566cdb2e0d8849860a93228e7e084" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 715, - "startColumn": 65, - "charOffset": 31200, - "charLength": 18, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 713, - "startColumn": 1, - "charOffset": 31003, - "charLength": 317, - "snippet": { - "text": " var tokenID = (IN)(object)value;\n var enumAttributes = value.GetAttributesOfType();\n if (enumAttributes != null && enumAttributes.Any())\n attributes[tokenID] = enumAttributes.ToList();\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b25227c65a52d85ccb0637d60feba4047d2308b81662e701b36e38543e812ea5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 455, - "startColumn": 53, - "charOffset": 15877, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 453, - "startColumn": 1, - "charOffset": 15769, - "charLength": 217, - "snippet": { - "text": " if (IgnoreWhiteSpace)\n {\n var currentCharacter = source.At(position.Index);\n if (WhiteSpaces.Contains(currentCharacter))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b56226b9762ed249ebf3f98a72049154c10b72c30151c7d06c1ea92e8d4f8b55" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 32, - "charOffset": 4002, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 3815, - "charLength": 288, - "snippet": { - "text": " .Where>(e =>\n e.UnexpectedToken.PositionInTokenFlow == lastErrorPosition)\n .ToList>();\n result.Errors = lastErrors;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b56ad6a53eb2d3a81e9e00a4ae8438bf03debb7ecfa1aa679112195004188e7d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 719, - "startColumn": 56, - "charOffset": 31377, - "charLength": 29, - "snippet": { - "text": ", int>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 717, - "startColumn": 1, - "charOffset": 31307, - "charLength": 311, - "snippet": { - "text": " }\n\n var commentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(CommentAttribute)) ?? 0).Sum();\n var multiLineCommentCount = attributes.Values.Select, int>(l =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b62be0b820db684e3112886392425e9d44e1cfdf78b58cccc6236022933f76a8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMany.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 44, - "charOffset": 914, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 814, - "charLength": 130, - "snippet": { - "text": " public override bool Match(char input)\n {\n return TransitionToken.Contains(input);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7ad78e4c8863ad69e9dec8ea40bf57fd6aa5871a6a903b4547e15fc8150b65c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 346, - "startColumn": 24, - "charOffset": 14701, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 344, - "startColumn": 1, - "charOffset": 14573, - "charLength": 213, - "snippet": { - "text": " var operatorsPart = operators\n //.Select(oper => oper.ToString())\n .ToList()\n .Aggregate((s1, s2) => $\"{s1}_{s2}\");\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9d324637e70c9d633abe2b64ab743b8b2d8c7474fba942a4c50c5f4bc762c40" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 36, - "charOffset": 6584, - "charLength": 20, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 6463, - "charLength": 314, - "snippet": { - "text": " var message = parseResult\n .Errors\n .Select(e => e.ErrorMessage)\n .Aggregate((e1, e2) => e1 + \"\\n\" + e2);\n message = $\"rule error [{ruleString}] : {message}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "babdd5894cdd4032c76f1cd8859d51a4510be5bbc7b84df9842ca3554815c385" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 326, - "startColumn": 38, - "charOffset": 11853, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 324, - "startColumn": 1, - "charOffset": 11779, - "charLength": 205, - "snippet": { - "text": " FSMBuilder.Mark(start);\n\n if (staticTokens.Contains(GenericToken.Identifier) ||\n staticTokens.Contains(GenericToken.KeyWord))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb6902da1017200bccd841b31e6fe536fd8aad375f9d0bb5b258e53c0c3f649a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 90, - "charOffset": 5567, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 5408, - "charLength": 321, - "snippet": { - "text": " if (expectedTokens != null)\n {\n var expected = new UnexpectedTokenSyntaxError(expecting.First>().UnexpectedToken, LexemeLabels, I18n,\n expectedTokens);\n errors.Add(expected);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd61b2f4c7fe31bdd644778f5ab0ae5da3ffad4a5e48d4a614d13d7a076bcbb8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 225, - "startColumn": 21, - "charOffset": 9833, - "charLength": 17, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 223, - "startColumn": 1, - "charOffset": 9724, - "charLength": 187, - "snippet": { - "text": " {\n return attributes.Values.Select(x => x.lexemes).SelectMany(x => x)\n .Any(lexeme => !string.IsNullOrEmpty(lexeme.Pattern));\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfcff562b610d03f12172da008fd7783d74494605be2cc80ac051ff7bdac4ea8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/BuildResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 36, - "charOffset": 550, - "charLength": 21, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 477, - "charLength": 141, - "snippet": { - "text": " public bool IsError\n {\n get { return Errors.Any(e => e.Level != ErrorLevel.WARN); }\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c12845b9d580718083b89b2abb9e2203356488dbcf1817cd9daec038910459ec" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 554, - "startColumn": 127, - "charOffset": 23650, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 552, - "startColumn": 1, - "charOffset": 23429, - "charLength": 372, - "snippet": { - "text": " {\n DateFormat format = DateFormat.DDMMYYYY;\n if (lexeme.GenericTokenParameters != null && lexeme.GenericTokenParameters.Any() && !Enum.TryParse(lexeme.GenericTokenParameters[0], out format))\n {\n format = DateFormat.DDMMYYYY;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c1ffffb6892bf1f9cf76c57fd485faa0b19da5f6c849eca02f0f1c989d063b98" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 458, - "startColumn": 46, - "charOffset": 19657, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 456, - "startColumn": 1, - "charOffset": 19535, - "charLength": 232, - "snippet": { - "text": " IList explicitTokens = null) where IN : struct\n {\n result = CheckStringAndCharTokens(attributes, result, lang);\n var (config, tokens) = GetConfigAndGenericTokens(attributes);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c20884d82eed57c05b2ac341854888ed6b8693c8707d383f15644c54e5762ca1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 34, - "charOffset": 801, - "charLength": 20, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 729, - "charLength": 172, - "snippet": { - "text": " public string Dump()\n {\n return Clauses.Select, string>(c => c.Dump()).Aggregate((d1, d2) => d1 + \" \" + d2);\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c2661e12aeea10ccc3ecb97ab7fe5550fbcd73733ff19451fe46c961453a75b2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 51, - "charOffset": 1607, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1527, - "charLength": 157, - "snippet": { - "text": " get\n {\n if (Clauses != null && Clauses.Any>())\n {\n bool contains = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c4fae37b70d714b366ce654017511fcf4680494b75c5a284f64286df9d0e0d12" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 747, - "startColumn": 40, - "charOffset": 27066, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 745, - "startColumn": 1, - "charOffset": 26972, - "charLength": 217, - "snippet": { - "text": " while (i < value.Length - 1)\n {\n char current = value.At(i);\n if (current == escapeStringDelimiterChar && !escaping && i < value.Length - 2)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5e4f0d8c47ac591aaa4a8decf4c05dec23f95e3f581bae01ea829355a34aa6c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 67, - "charOffset": 4361, - "charLength": 22, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 4245, - "charLength": 327, - "snippet": { - "text": " if (rec.foundRecursion)\n {\n var recs = string.Join(\"\\n\", rec.recursions.Select, string>(x => string.Join(\" > \",x)));\n result.AddError(new ParserInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n,I18NMessage.LeftRecursion,recs)," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c77e7a7853dd5627582cb6de0ebd629d05db869a0761354d3abfac6a21b37ac6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 36, - "charOffset": 959, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 838, - "charLength": 258, - "snippet": { - "text": " \n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes(typeof(OperationAttribute),true).ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce159bdaf432084dea7b1234feaa2562fb2a580c8cf5672e59fa412043bb33c3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 150, - "startColumn": 51, - "charOffset": 6544, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 148, - "startColumn": 1, - "charOffset": 6420, - "charLength": 196, - "snippet": { - "text": " {\n var hasRegexLexemes = IsRegexLexer(attributes);\n var hasGenericLexemes = IsGenericLexer(attributes);\n\n if (hasGenericLexemes && hasRegexLexemes)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce77c16b7a031f776320fb8582774cb7e3c6b4885d97f21232c25535acc6d2f7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 30, - "charOffset": 1022, - "charLength": 5, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 914, - "charLength": 185, - "snippet": { - "text": " public static implicit operator OUT(GroupItem item)\n {\n return item.Match((name, token) => default(OUT), (name, value) => item.Value);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cef60e6c7f5cc35d084ca714e28057443a6934c9950fd9e33cc73b5c9e98d39b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 223, - "startColumn": 51, - "charOffset": 9763, - "charLength": 43, - "snippet": { - "text": ", TerminalClause>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 221, - "startColumn": 1, - "charOffset": 9663, - "charLength": 217, - "snippet": { - "text": " if (InFixOps.Count > 0)\n {\n var InFixClauses = InFixOps.Select, TerminalClause>(x =>\n {\n if (x.IsExplicitOperatorToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf5d198d6ebd924083f110d292240632b99ba90531fa278cb01db05def977c21" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 22, - "charOffset": 5328, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 5180, - "charLength": 189, - "snippet": { - "text": " var attr = attributes.Find(a => a.GetType() == typeof(OperandAttribute));\n return attr != null;\n }).ToList();\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d052600140ca736cff083f4193e4b28c5e28a880f6998e8a378a4fcb3e912bc7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 193, - "startColumn": 36, - "charOffset": 5560, - "charLength": 6, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 191, - "startColumn": 1, - "charOffset": 5461, - "charLength": 132, - "snippet": { - "text": " indentations.Add(current);\n i++;\n current = source.At(index + i);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d064fddde50b3b46cc0e29692017766ee7eeeddf9c37af318b69cac7150af37f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 392, - "startColumn": 77, - "charOffset": 12154, - "charLength": 24, - "snippet": { - "text": "<(char start, char end)>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 390, - "startColumn": 1, - "charOffset": 12003, - "charLength": 250, - "snippet": { - "text": " if (count > 0 && !string.IsNullOrEmpty(pattern))\n {\n if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())\n {\n for (int i = 0; i < count-1; i++)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d252b4a91820160f9007f30f41599a4f9b6176ba84efea87e56e8b2665c6827a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 64, - "charOffset": 816, - "charLength": 11, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 686, - "charLength": 291, - "snippet": { - "text": " methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();\n var attr = attributes.Find(a => a.GetType() == typeof(TokenCallbackAttribute));\n return m.IsStatic && attr != null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d45c96e32a4faf623017362e51af629097a857b7f51c838c3319d4d44b6ca782" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 368, - "startColumn": 55, - "charOffset": 12556, - "charLength": 13, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 366, - "startColumn": 1, - "charOffset": 12352, - "charLength": 327, - "snippet": { - "text": " currentIndentations.Reverse();\n var unindented = currentIndentations.Take(i).ToList();\n var spaces = unindented.Select(x => x.Length).Sum();\n\n var uIndent = FSMMatch.UIndent(uIndentCount, uIndentCount);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4d9de001d224addd1450514b47a298650fb50f63a99ccb1c0328ab4d7886de2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 256, - "startColumn": 42, - "charOffset": 9593, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 254, - "startColumn": 1, - "charOffset": 9492, - "charLength": 172, - "snippet": { - "text": " {\n var tIn = typeof(IN);\n var b = Enum.TryParse(item, out token);\n if (b)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d75af5c97554156fce181efda88886c28414b3669508790d339b97afe1cc8fb1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 109, - "charOffset": 1271, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1023, - "charLength": 386, - "snippet": { - "text": " return GetLeftClausesName(option.Clause);\n case ChoiceClause choice when choice.IsNonTerminalChoice:\n return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();\n case GroupClause group:\n return GetLeftClausesName(group.Clauses.First>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d75d1ebe91ba8ea025c49be63b572beb5e30154923060ce462843f0f0d4f13fa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 135, - "startColumn": 36, - "charOffset": 5068, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 133, - "startColumn": 1, - "charOffset": 4886, - "charLength": 291, - "snippet": { - "text": " var nonTerminals = new Dictionary>();\n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7c05014c01915b7d99e7c7bf75fae1358847fa373c1d4045b08f6b36b582caa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 246, - "startColumn": 44, - "charOffset": 9214, - "charLength": 11, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 244, - "startColumn": 1, - "charOffset": 9131, - "charLength": 141, - "snippet": { - "text": "\n var eos = new Token();\n var prev = tokens.LastOrDefault>();\n if (prev == null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7eb0c7190065f8623722a7fe87077d10e00765509d025db70cd4d5e6b149bee" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 108, - "startColumn": 59, - "charOffset": 3858, - "charLength": 18, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 106, - "startColumn": 1, - "charOffset": 3773, - "charLength": 229, - "snippet": { - "text": " }\n \n var leftClauses = nonTerminal.Rules.SelectMany, string>(x => GetLeftClausesName(x, configuration)).ToList();\n \n foreach (var leftClause in leftClauses)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7eedd409b0ad9743f1bb4e27dbc845466510080b697751045e9d22e062697fc" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 38, - "charOffset": 12256, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 12069, - "charLength": 288, - "snippet": { - "text": " if (staticTokens.Contains(GenericToken.Int) ||\n staticTokens.Contains(GenericToken.Double) || \n staticTokens.Contains(GenericToken.Date)) \n {\n FSMBuilder = FSMBuilder.GoTo(start)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d98ddb2ef7a14f5a879fffbb9d82693f2c1389b0b9825b414a579f0659493ebf" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 32, - "charOffset": 3657, - "charLength": 37, - "snippet": { - "text": ", int>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 3557, - "charLength": 257, - "snippet": { - "text": " {\n var lastErrorPosition = errors\n .Select, int>(e => e.UnexpectedToken.PositionInTokenFlow)\n .Max();\n var lastErrors = errors" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da27a4fe787bb98c8186b18c9192e7afb80e45a565f7779dd21bc32b79ea7ab3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 36, - "charOffset": 2854, - "charLength": 5, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 2751, - "charLength": 150, - "snippet": { - "text": " {\n var res = new SyntaxVisitorResult();\n res.OptionResult = Some(value);\n return res;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc29f3e3a3d33ec9cfb05b3449d2a87af225971c76d87ab0f25204188e9d9672" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 327, - "startColumn": 38, - "charOffset": 11933, - "charLength": 14, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 325, - "startColumn": 1, - "charOffset": 11815, - "charLength": 215, - "snippet": { - "text": "\n if (staticTokens.Contains(GenericToken.Identifier) ||\n staticTokens.Contains(GenericToken.KeyWord))\n {\n InitializeIdentifier(config);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd22875401c19ca1cf299d939921899a828681eb2458a7c61fead1845282785d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 303, - "startColumn": 44, - "charOffset": 9383, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 301, - "startColumn": 1, - "charOffset": 9299, - "charLength": 144, - "snippet": { - "text": "\n int indentPosition = 0;\n if (currentIndentations.Any())\n {\n int i = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ddbdc073fe5943d2ae8d36ecbca828b4f516e697b76207f5a1dc90612f08c07d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 346, - "startColumn": 93, - "charOffset": 11453, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 344, - "startColumn": 1, - "charOffset": 11216, - "charLength": 340, - "snippet": { - "text": " var t = indents.Skip(indentCharCount).ToArray();\n var newTab = new string(t);\n var indent = FSMMatch.Indent(lexerPosition.Indentations.Count() + 1);\n indent.Result = new Token\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ddd9eee11782e5224b9ca03173e543bd4bff68085e318f2487194e8b421ad812" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ChoiceClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 58, - "charOffset": 457, - "charLength": 18, - "snippet": { - "text": ", bool>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 208, - "charLength": 402, - "snippet": { - "text": " public bool IsDiscarded { get; set; } = false;\n public bool IsTerminalChoice => Choices.Select, bool>(c => c is TerminalClause).Aggregate((x, y) => x && y);\n public bool IsNonTerminalChoice => Choices.Select, bool>(c => c is NonTerminalClause).Aggregate((x, y) => x && y);\n \n public List> Choices { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de2bf7832ca35a8e09c37b7f9e76331e7864d05a09ccbd17b4361137e8797b09" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 67, - "charOffset": 3386, - "charLength": 15, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3236, - "charLength": 206, - "snippet": { - "text": " {\n var leavingTransitions = Transitions[nodeId];\n transition = leavingTransitions.FirstOrDefault(t => t.Match(token));\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2ba0b9e15e327f4736c2534bbf43ddd634f7e156b758f0ed227ef78c481bbf7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 291, - "startColumn": 55, - "charOffset": 12530, - "charLength": 43, - "snippet": { - "text": ", TerminalClause>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 289, - "startColumn": 1, - "charOffset": 12424, - "charLength": 223, - "snippet": { - "text": " if (PostFixOps.Count > 0)\n {\n var PostFixClauses = PostFixOps.Select, TerminalClause>(x =>\n {\n if (x.IsExplicitOperatorToken)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e3411a874fd938bb1077d8c2db1fe93b58163c7bb79a0a042003ee50e34bd4dd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 22, - "charOffset": 999, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 831, - "charLength": 228, - "snippet": { - "text": " var attr = attributes.Find(a => a.GetType() == typeof(TokenCallbackAttribute));\n return m.IsStatic && attr != null;\n }).ToList();\n\n foreach (var method in methods)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4e3fec29bd97624f2518f99ad1c1c04f7ca709be94c2cc7662cd22412eb4b35" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 95, - "charOffset": 1085, - "charLength": 8, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 924, - "charLength": 238, - "snippet": { - "text": " methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes(typeof(OperationAttribute),true).ToList();\n \n return attributes.Any();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e5af13ec798e314fcb73aa9df930763adb5f61d621c40633035031965f498486" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 31, - "charOffset": 819, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 743, - "charLength": 218, - "snippet": { - "text": " {\n IN token = default(IN);\n if (!Enum.TryParse(name, out token))\n {\n throw new ParserConfigurationException($\"bad enum name {name} on Operation definition.\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e71df3ab9eddf4a4cab70e11f375a45f1bccef880145b0861ebe39c0a649bb8f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 308, - "startColumn": 79, - "charOffset": 11321, - "charLength": 17, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 306, - "startColumn": 1, - "charOffset": 11152, - "charLength": 289, - "snippet": { - "text": " foreach (var checker in checkers)\n if (checker != null)\n result.Result.Configuration.NonTerminals.Values.ToList>()\n .ForEach(nt => result = checker(result, nt));\n return result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9fad4c940e6a104a6aaebbe6c3c2ec435c37520b97f5fe1e7745f4a005efdec" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 133, - "startColumn": 56, - "charOffset": 4800, - "charLength": 47, - "snippet": { - "text": ", LexerPosition>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 131, - "startColumn": 1, - "charOffset": 4588, - "charLength": 493, - "snippet": { - "text": " result.Errors = new List();\n var unexpectedTokens = syntaxResult.Errors.ToList>();\n var byEnding = unexpectedTokens.GroupBy, LexerPosition>(x => x.UnexpectedToken.Position).OrderBy>, LexerPosition>(x => x.Key);\n var errors = new List(); \n foreach (var expecting in byEnding)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ead66fdd1bba308d39d8d6527111d2008fcc00688e71a510f35b45f400863a63" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 64, - "charOffset": 3379, - "charLength": 23, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 3268, - "charLength": 152, - "snippet": { - "text": " if (IsExpressionRule)\n {\n return VisitorMethodsForOperation.Values.ToList>();\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "edc0e45e4cc9b37f59f67021d0176347cd8bbad08c30c9cd688cfe3fd429023c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 495, - "startColumn": 28, - "charOffset": 19308, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 493, - "startColumn": 1, - "charOffset": 19086, - "charLength": 314, - "snippet": { - "text": " !(x is TerminalClause || x is ChoiceClause) ||\n (x is TerminalClause t && !t.Discarded) || (x is ChoiceClause c && !c.IsDiscarded))\n .ToList>();\n\n if (visitor.GetParameters().Length != realClauses.Count &&" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "edcba0ee2f5203ba2289dfa7e5468e2fbcf9a80bdc3471c5217551928c6edd98" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 276, - "startColumn": 37, - "charOffset": 10211, - "charLength": 13, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 274, - "startColumn": 1, - "charOffset": 10117, - "charLength": 228, - "snippet": { - "text": " else if (item == \"[d]\")\n {\n if (clauses.Last>() is TerminalClause discardedTerminal)\n discardedTerminal.Discarded = true;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee4c9083f699995b04fc6e97d06ebe3d8379ac07db87c365d052c3b2519da9a1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/GroupItem.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 30, - "charOffset": 1248, - "charLength": 11, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1134, - "charLength": 203, - "snippet": { - "text": " public static implicit operator Token(GroupItem item)\n {\n return item.Match>((name, token) => item.Token, (name, value) => default(Token));\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0a1c1ae07fd1e1653bd5a32e16f9ac2889a213546481f3f81007cd7e3539f5a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 298, - "startColumn": 83, - "charOffset": 10918, - "charLength": 11, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 296, - "startColumn": 1, - "charOffset": 10750, - "charLength": 289, - "snippet": { - "text": " if (r.IsLineEnding) // only compute if token is eol\n {\n var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1d2d5fb3fbde01e503a6a4e8156fcbced0f435d99586903d9de97505fa0a712" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 67, - "charOffset": 2058, - "charLength": 22, - "snippet": { - "text": ", string>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1938, - "charLength": 342, - "snippet": { - "text": " if (foundRecursion)\n {\n var recs = string.Join(\"\\n\", recursions.Select, string>(x => string.Join(\" > \", x)));\n result.AddError(new ParserInitializationError(ErrorLevel.FATAL,\n I18N.Instance.GetText(I18n, I18NMessage.LeftRecursion, recs)," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f21f978ced6be0b473c2493b1e577e23c910f9ea23f865d2e51027ace8da6f88" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 28, - "charOffset": 1265, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 1060, - "charLength": 310, - "snippet": { - "text": " {\n var attributes = method.GetCustomAttributes(typeof(TokenCallbackAttribute), false).Cast().ToList();\n AddCallback(lexer, method, EnumConverter.ConvertIntToEnum(attributes[0].EnumValue));\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f32d513998abe150788be06cb52d951bc1cc16f5c7218e17226716da3a587210" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 137, - "charOffset": 1210, - "charLength": 24, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 1016, - "charLength": 344, - "snippet": { - "text": " foreach (var method in methods)\n {\n var attributes = method.GetCustomAttributes(typeof(TokenCallbackAttribute), false).Cast().ToList();\n AddCallback(lexer, method, EnumConverter.ConvertIntToEnum(attributes[0].EnumValue));\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f50cdc01b84500c773cd72685fac20be2cc69469438ddfa6a858ba53c6f39c19" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 36, - "charOffset": 721, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 601, - "charLength": 229, - "snippet": { - "text": " {\n var methods = callbackClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {\n var attributes = m.GetCustomAttributes().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8a14238ef0c131165bdcebe4ffe9d8b034688062fc42460cbf156164f3c210c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 49, - "charOffset": 7464, - "charLength": 4, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 7369, - "charLength": 166, - "snippet": { - "text": " else\n {\n result = BuildRegexLexer(attributes, result, lang);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f902e3febd6d1b112462c801d3b42bdb25aaa5a328e52e81f3aeb07afaad7793" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 203, - "startColumn": 58, - "charOffset": 7458, - "charLength": 12, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 201, - "startColumn": 1, - "charOffset": 7261, - "charLength": 279, - "snippet": { - "text": " var functions = new Dictionary();\n var nonTerminals = new Dictionary>();\n var methods = parserClass.GetMethods().ToList();\n methods = methods.Where(m =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9c38f29ff7a84cb9b75036b6a8d8cb09b48cdf5442ca1e0d262996ab1212ed8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 723, - "startColumn": 66, - "charOffset": 31801, - "charLength": 29, - "snippet": { - "text": ", int>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 721, - "startColumn": 1, - "charOffset": 31520, - "charLength": 434, - "snippet": { - "text": " var multiLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(MultiLineCommentAttribute)) ?? 0).Sum();\n var singleLineCommentCount = attributes.Values.Select, int>(l =>\n l?.Count(attr => attr.GetType() == typeof(SingleLineCommentAttribute)) ?? 0).Sum();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa1e4c7b75d8e33b738e71c2c39ec0b711e5ade9ae477f74fe6761d4455debdf" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1102, - "startColumn": 43, - "charOffset": 42088, - "charLength": 5, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1100, - "startColumn": 1, - "charOffset": 41978, - "charLength": 262, - "snippet": { - "text": " int newColumn;\n if (lines.Count > 1)\n newColumn = lines.Last() + MultiLineCommentEnd.Length;\n else\n newColumn = lexerPosition.Column + lines[0] + MultiLineCommentEnd.Length;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb9ec36a86d762c30369ac977513f7f6234ebea254138f3c852a51228cc31905" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 132, - "startColumn": 66, - "charOffset": 4709, - "charLength": 32, - "snippet": { - "text": ">" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 130, - "startColumn": 1, - "charOffset": 4574, - "charLength": 455, - "snippet": { - "text": " {\n result.Errors = new List();\n var unexpectedTokens = syntaxResult.Errors.ToList>();\n var byEnding = unexpectedTokens.GroupBy, LexerPosition>(x => x.UnexpectedToken.Position).OrderBy>, LexerPosition>(x => x.Key);\n var errors = new List(); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff119176824ee13395037ea2840f7b0f7abe9a29c008c380282833c4388b2b91" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantTypeArgumentsOfMethod", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type argument specification is redundant", - "markdown": "Type argument specification is redundant" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 716, - "startColumn": 64, - "charOffset": 31285, - "charLength": 18, - "snippet": { - "text": "" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 714, - "startColumn": 1, - "charOffset": 31052, - "charLength": 269, - "snippet": { - "text": " var enumAttributes = value.GetAttributesOfType();\n if (enumAttributes != null && enumAttributes.Any())\n attributes[tokenID] = enumAttributes.ToList();\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff1577a8d572616cb9124c3a946bbb8f4effba7870fac70093e436714b731528" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxEpsilon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 16, - "snippet": { - "text": "using sly.lexer;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 56, - "snippet": { - "text": "using sly.lexer;\nusing System.Diagnostics.CodeAnalysis;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1338bbeb49f6fd1b24aa3fdc57c61e96a2a0142adc13e3a16168258f396ab29b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 72, - "charLength": 17, - "snippet": { - "text": "using System.Xml;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 100, - "snippet": { - "text": "using System.Linq;\nusing System.Text;\nusing System.Xml;\nusing sly.lexer;\nusing sly.parser.generator;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "161ba6b69cdc20c9ae2b042e8078e01521f7c947197ce38509acc46e82408f9f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/NonTerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 53, - "snippet": { - "text": "using System;\nusing System.Diagnostics.CodeAnalysis;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20ca893ca51513bbf518b3197d82f51c0bd2badb29a9fde1f3008db6fdc85a73" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 1, - "charOffset": 123, - "charLength": 27, - "snippet": { - "text": "using sly.parser.generator;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 87, - "charLength": 65, - "snippet": { - "text": "using System.Text;\nusing sly.lexer;\nusing sly.parser.generator;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2629a924fef0d76b23299a8d6239f38537b9b945a209bd078fbdd8d2a4aeb1d0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 74, - "charLength": 16, - "snippet": { - "text": "using sly.lexer;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 122, - "snippet": { - "text": "using System.Collections.Generic;\nusing SimpleTemplate.model.expressions;\nusing sly.lexer;\n\nnamespace SimpleTemplate.model" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31d70d656e0c42f22fd86a6e73c62b2beac0c7ffb19261c2752b489528bfb22d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 48, - "charLength": 25, - "snippet": { - "text": "using System.Diagnostics;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 120, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Text;\nusing SimpleTemplate.model;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3986a90647d4558684668d4cf1694deab89ab239a5a017d4e460a4cf0412ac30" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 31, - "snippet": { - "text": "using System;\nusing sly.lexer;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a35e6b971d11bd19b8ab73d317a57bf0b2e7342b404fec418d71bec17696d45" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 86, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics.CodeAnalysis;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f2c789aa36b031105b3de37529d881e00db8bf89055b3bdab659d5641882358" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 87, - "charLength": 18, - "snippet": { - "text": "using System.Text;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 136, - "snippet": { - "text": "using System.Collections.Generic;\nusing System.Diagnostics.CodeAnalysis;\nusing System.Text;\nusing sly.lexer;\nusing sly.parser.generator;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "51d7e37fc38bab5f5a6b701269dd495dd633191daae259f76bb68b562036f761" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 87, - "charLength": 15, - "snippet": { - "text": "using sly.i18n;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 110, - "snippet": { - "text": "using System.Collections.Generic;\nusing System.Diagnostics.CodeAnalysis;\nusing sly.i18n;\nusing sly.lexer.fsm;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "69d4e5a0f8974e37d7522625067eecd0df0ffc43cdbd475216faa75e73d26896" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing sly.lexer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c96076b2f92551527fe7e18d785eb9ec2d8e49893cc39b603d1aa20bf3576e3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 48, - "charLength": 15, - "snippet": { - "text": "using sly.i18n;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 101, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing sly.i18n;\nusing sly.lexer;\nusing sly.lexer.fsm;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "811b022036ec43ce24ccc09a4e5169112c9fdfa6fa34970dd305f02b2f8a1157" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Template.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 18, - "snippet": { - "text": "using System.Text;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 84, - "snippet": { - "text": "using System.Collections.Generic;\nusing System.Text;\n\nnamespace SimpleTemplate.model" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "931c3cea20ae52aeae39c99b30cdeac9d78278ff88b2c0d4a5ba5d843ed83278" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 74, - "charLength": 18, - "snippet": { - "text": "using System.Text;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 14, - "charLength": 146, - "snippet": { - "text": "using System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Text;\nusing SimpleTemplate.model;\nusing SimpleTemplate.model.expressions;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "939ba767a68fc481bbcfbbacbf3332ca956bfca8de40bb29b4f2c3421f201580" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "charOffset": 48, - "charLength": 38, - "snippet": { - "text": "using System.Diagnostics.CodeAnalysis;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 122, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics.CodeAnalysis;\nusing System.Text;\nusing sly.lexer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a098cf1f352ab3d689731d63d771af12c0ba6204daf095d808f64a59b1d75a99" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/ILexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 4, - "startColumn": 1, - "charOffset": 49, - "charLength": 15, - "snippet": { - "text": "using sly.i18n;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 2, - "startColumn": 1, - "charOffset": 1, - "charLength": 85, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing sly.i18n;\nusing sly.lexer.fsm;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad81dee584539d2ded74024f4d104500197604d7b06fcb25c01f3210e265ac7e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/TerminalClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 58, - "snippet": { - "text": "using System;\nusing System.Diagnostics;\nusing System.Text;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b611662a9da199a564b4ea3c40b1f8e522938e9d46a3858bfd4cb283f96e2642" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 72, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing System.Reflection;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df05cc3f893337b1f6fe20e3442584f0d89480629c9b54030897bb1a6beb65cb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing sly.lexer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df19114adacaef7cd184d6529ed261ab4da321d04d0d0ca7417743ed6a63b4f0" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 31, - "snippet": { - "text": "using System;\nusing sly.lexer;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e227016e0c2ffd410b7a2b57ba575394f565b32fa796b67615ccdfdb5792e5d1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 73, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7455629873841172942289bf28370a769d27fdebc0ea13978036130987cac68" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 49, - "snippet": { - "text": "using System.ComponentModel.Design.Serialization;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 81, - "snippet": { - "text": "using System.ComponentModel.Design.Serialization;\n\nnamespace jsonparser.JsonModel" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee8bc8309dd2630eeab48de534d374aef02d0e3bd49f98d9e38c19fd646918e1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Expression.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "charOffset": 34, - "charLength": 27, - "snippet": { - "text": "using SimpleTemplate.model;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 105, - "snippet": { - "text": "using System.Collections.Generic;\nusing SimpleTemplate.model;\n\nnamespace SimpleTemplate.model.expressions" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f48c857a71e7beb11ac37f4fbd303027240e0de3ebfff4f057e7a61f6c56d714" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantUsingDirective", - "kind": "fail", - "level": "warning", - "message": { - "text": "Using directive is not required by the code and can be safely removed", - "markdown": "Using directive is not required by the code and can be safely removed" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 13, - "snippet": { - "text": "using System;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 64, - "snippet": { - "text": "using System;\nusing System.Collections.Generic;\nusing sly.lexer;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9a04aa06f7db4ffb27e4be34c2efbcf2a2aecdc97800a680df05dbdb2786d5a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantVerbatimStringPrefix", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant verbatim string prefix", - "markdown": "Redundant verbatim string prefix" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 21, - "charOffset": 1615, - "charLength": 1, - "snippet": { - "text": "@" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1534, - "charLength": 142, - "snippet": { - "text": " {\n StringBuilder b = new StringBuilder();\n return $@\"tag({open}, {string.Join(\",\", subs)}, {close})\";\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e79da26a70ea8a3a5564ea64f236b1a081eeacf75dbd3a824d932925fdf9708" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "RedundantVerbatimStringPrefix", - "kind": "fail", - "level": "note", - "message": { - "text": "Redundant verbatim string prefix", - "markdown": "Redundant verbatim string prefix" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1017, - "startColumn": 26, - "charOffset": 35562, - "charLength": 1, - "snippet": { - "text": "@" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1015, - "startColumn": 1, - "charOffset": 35523, - "charLength": 197, - "snippet": { - "text": " \n\n var source = @\"hello - {= world =} - billy - {% if (a == 1) %} - bob - {%else%} - boubou - {%endif%}\";\n \n var tokens = genericLexer.Tokenize(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36d50081c472472f590f31b4f821c9a9f2d1612ceb9cf5515fb77c84459ec731" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "ReplaceAutoPropertyWithComputedProperty", - "kind": "fail", - "level": "note", - "message": { - "text": "Replace auto-property with computed property", - "markdown": "Replace auto-property with computed property" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxEpsilon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 31, - "charOffset": 199, - "charLength": 8, - "snippet": { - "text": "{ get; }" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 92, - "charLength": 166, - "snippet": { - "text": " public class SyntaxEpsilon : ISyntaxNode where IN : struct\n {\n public bool Discarded { get; } = false;\n public string Name => \"Epsilon\";\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8eec6742550521218dbc0f4b9e6fed25e89eb84d8927bcae54b5105b956fd2cd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ReplaceWithSingleCallToAny", - "kind": "fail", - "level": "note", - "message": { - "text": "Replace with single call to Any(..)", - "markdown": "Replace with single call to Any(..)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 373, - "startColumn": 45, - "charOffset": 14247, - "charLength": 210, - "snippet": { - "text": "innerChoice.Choices.Where>(c =>\n (c as NonTerminalClause).NonTerminalName == referenceName)\n .Any>()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 371, - "startColumn": 1, - "charOffset": 14056, - "charLength": 475, - "snippet": { - "text": " break;\n case ChoiceClause innerChoice when innerChoice.IsNonTerminalChoice:\n found = innerChoice.Choices.Where>(c =>\n (c as NonTerminalClause).NonTerminalName == referenceName)\n .Any>();\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a21f743a8734a30506d0a2ad9f7ce00a92725a784d053e4cbc4bcba7c18ca177" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ReturnTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Return type can be 'IEnumerable'", - "markdown": "Return type can be 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 23, - "charOffset": 1529, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1496, - "charLength": 186, - "snippet": { - "text": " }\n\n public static List GetLeftClausesName(Rule rule, ParserConfiguration configuration)\n {\n List lefts = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ce1bdfc3b8449a2ead5e82199ebe794aa06687e5be6766bd25835a7e8d6fd1f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ReturnTypeCanBeEnumerable.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Return type can be 'IEnumerable'", - "markdown": "Return type can be 'IEnumerable'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 16, - "charOffset": 1282, - "charLength": 13, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1256, - "charLength": 159, - "snippet": { - "text": " }\n\n public List FindRoots()\n {\n var roots = edges.Where(x => !edges.Any(y => y.Destination?.Name == x.Source?.Name));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ba236aeefb28d6191b7f6c126b9b16b4379e6a698cf514a08b7b3281996ea0d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "ReturnValueOfPureMethodIsNotUsed", - "kind": "fail", - "level": "warning", - "message": { - "text": "Return value of pure method is not used", - "markdown": "Return value of pure method is not used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 211, - "startColumn": 25, - "charOffset": 7811, - "charLength": 10, - "snippet": { - "text": "GetMethods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 209, - "startColumn": 1, - "charOffset": 7749, - "charLength": 122, - "snippet": { - "text": " }).ToList();\n\n parserClass.GetMethods();\n methods.ForEach(m =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30400476063f378ef240ba9ad230726853df4dd1cfe5463f4f2864f2f2d6a299" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SimplifyLinqExpressionUseAll", - "kind": "fail", - "level": "note", - "message": { - "text": "Simplify LINQ expression (use 'All')", - "markdown": "Simplify LINQ expression (use 'All')" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 42, - "charOffset": 1359, - "charLength": 54, - "snippet": { - "text": "!edges.Any(y => y.Destination?.Name == x.Source?.Name)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1267, - "charLength": 215, - "snippet": { - "text": " public List FindRoots()\n {\n var roots = edges.Where(x => !edges.Any(y => y.Destination?.Name == x.Source?.Name));\n return roots.Select(x => x.Source).ToList();\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b4b1e1affa18ab5442f89cff8363a07ab02ee26ae66ff67cada963f370a6ac0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SimplifyLinqExpressionUseAll", - "kind": "fail", - "level": "note", - "message": { - "text": "Simplify LINQ expression (use 'All')", - "markdown": "Simplify LINQ expression (use 'All')" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 621, - "startColumn": 29, - "charOffset": 26831, - "charLength": 73, - "snippet": { - "text": "!fsmBuilder.Marks.Any(mark => mark.Key == GenericLexer.in_identifier)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 619, - "startColumn": 1, - "charOffset": 26743, - "charLength": 315, - "snippet": { - "text": " var fsmBuilder = lexer.FSMBuilder;\n\n if (!fsmBuilder.Marks.Any(mark => mark.Key == GenericLexer.in_identifier))\n {\n // no identifier pattern has been defined. Creating a default one to allow explicit keyword tokens" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b8004cfe73b1c72f6391104b1cb20e754db29849d1ab704e30f6340d9d505bd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1552, - "startColumn": 66, - "charOffset": 53410, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1550, - "startColumn": 1, - "charOffset": 53298, - "charLength": 154, - "snippet": { - "text": " { { \"x\", 2 } }));\n \n Console.WriteLine(\"x x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "280f510e406bc849b0955a2d923f7e8bfe1d0faf07429cfdff3b68784ce2a6b5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1474, - "startColumn": 68, - "charOffset": 50733, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1472, - "startColumn": 1, - "charOffset": 50541, - "charLength": 262, - "snippet": { - "text": " res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 (x) = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n r = Parser.Parse(\"x x \");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2edc544ad4e6053856adec340ce5cfd5473cae244204340872ef716e5c3e6e98" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1488, - "startColumn": 66, - "charOffset": 51217, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1486, - "startColumn": 1, - "charOffset": 51027, - "charLength": 232, - "snippet": { - "text": " res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"x x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3288004fbc119b304d4f5c3f91dd57cb7020bde9b890b01bc5aedd4a55c2f5e1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 749, - "startColumn": 52, - "charOffset": 26905, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 747, - "startColumn": 1, - "charOffset": 26732, - "charLength": 325, - "snippet": { - "text": " double.TryParse(items[1],out exponent);\n double value = Math.Pow(radix, exponent);\n match.Result.SpanValue = value.ToString().AsMemory();\n \n match.Properties[GenericLexer.DerivedToken] = DoubleExponent.DOUBLE_EXP;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "429780de00b448c5da5af763666f9b615674506d67af9558ba3f3f2d2dd2474c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1508, - "startColumn": 68, - "charOffset": 51926, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1506, - "startColumn": 1, - "charOffset": 51730, - "charLength": 241, - "snippet": { - "text": " var res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 * x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4317da48947d835a63b67ca2fabe4c9cd54fd87e6896d90e24b7efc5e5de12e3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1537, - "startColumn": 68, - "charOffset": 52913, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1535, - "startColumn": 1, - "charOffset": 52721, - "charLength": 262, - "snippet": { - "text": " res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 (x) = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n r = Parser.Parse(\"x x \");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e160ec30170b4c189ce0e0193a97fe4c87dafe74f1d9153380357423e48305c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1460, - "startColumn": 66, - "charOffset": 50243, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1458, - "startColumn": 1, - "charOffset": 50053, - "charLength": 264, - "snippet": { - "text": " res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n r = Parser.Parse(\"2 ( x ) \");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "546b8cc8c8eca64743f8648a3da45397a45a18dbc6f499e665851cdde78ce269" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1523, - "startColumn": 66, - "charOffset": 52423, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1521, - "startColumn": 1, - "charOffset": 52233, - "charLength": 264, - "snippet": { - "text": " res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n r = Parser.Parse(\"2 ( x ) \");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad058cb6f8670f28312f12319a72ae6036f84cf90ee2fb7cd6033e556303ac39" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SpecifyACultureInStringConversionExplicitly", - "kind": "fail", - "level": "warning", - "message": { - "text": "Specify string culture explicitly", - "markdown": "Specify string culture explicitly" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1445, - "startColumn": 68, - "charOffset": 49746, - "charLength": 8, - "snippet": { - "text": "ToString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1443, - "startColumn": 1, - "charOffset": 49550, - "charLength": 241, - "snippet": { - "text": " var res = r.Result.Evaluate(new ExpressionContext(new Dictionary()\n { { \"x\", 2 } }));\n Console.WriteLine(\"2 * x = \"+(res.HasValue ? res.Value.ToString() : \"?\"));\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f763af551d3e784d6b5aa9c519df639fbee8e4c9e3709e30fe3cfda09170e214" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "StringCompareToIsCultureSpecific", - "kind": "fail", - "level": "warning", - "message": { - "text": "String.CompareTo is culture-specific", - "markdown": "String.CompareTo is culture-specific" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 400, - "startColumn": 37, - "charOffset": 13344, - "charLength": 45, - "snippet": { - "text": "left.StringValue.CompareTo(right.StringValue)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 398, - "startColumn": 1, - "charOffset": 13235, - "charLength": 221, - "snippet": { - "text": " case WhileType.STRING:\n {\n value = left.StringValue.CompareTo(right.StringValue) == 1;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "407324cb9174dac3b0f01b515bb88a058d88c6d2901020481dc4f2be6c386f07" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "StringCompareToIsCultureSpecific", - "kind": "fail", - "level": "warning", - "message": { - "text": "String.CompareTo is culture-specific", - "markdown": "String.CompareTo is culture-specific" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 428, - "startColumn": 37, - "charOffset": 14336, - "charLength": 45, - "snippet": { - "text": "left.StringValue.CompareTo(right.StringValue)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 426, - "startColumn": 1, - "charOffset": 14227, - "charLength": 222, - "snippet": { - "text": " case WhileType.STRING:\n {\n value = left.StringValue.CompareTo(right.StringValue) == -1;\n break;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ddd8a20f1a03cf6fbbdd7c8eb8d7a90e6922d9a4d428923f64d446d328631637" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "StringIndexOfIsCultureSpecific.1", - "kind": "fail", - "level": "warning", - "message": { - "text": "String.IndexOf(string) is culture-specific", - "markdown": "String.IndexOf(string) is culture-specific" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 174, - "startColumn": 25, - "charOffset": 6321, - "charLength": 23, - "snippet": { - "text": "ruleString.IndexOf(\":\")" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 172, - "startColumn": 1, - "charOffset": 6237, - "charLength": 153, - "snippet": { - "text": " var nt = \"\";\n var rule = \"\";\n var i = ruleString.IndexOf(\":\");\n if (i > 0)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea1d9e8f649356d522ea885d148eb340163be087d4645dff478b5fcef6820055" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList>'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyList\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1393, - "startColumn": 65, - "charOffset": 47794, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1391, - "startColumn": 1, - "charOffset": 47711, - "charLength": 183, - "snippet": { - "text": " }\n \n private static List> postProcess(List> tokens)\n {\n var mayLeft = new List()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "250f9732a2a96ed6d888f0471983f04315372bcc2c9d49cfa63bd149ff9c5dee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'sly.parser.syntax.tree.ISyntaxNode'", - "markdown": "Parameter can be of type 'sly.parser.syntax.tree.ISyntaxNode'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 171, - "startColumn": 37, - "charOffset": 5083, - "charLength": 14, - "snippet": { - "text": "SyntaxNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 169, - "startColumn": 1, - "charOffset": 5029, - "charLength": 122, - "snippet": { - "text": " \n \n private string GetNodeLabel(SyntaxNode node)\n {\n string label = node.Name;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2ad3c84a9291a436c5481ba973a1fe3f6cfc0b0069f9fb9d599ba6a4f49f711d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyDictionary>>'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyDictionary\\>\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 331, - "startColumn": 13, - "charOffset": 14047, - "charLength": 44, - "snippet": { - "text": "Dictionary>>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 329, - "startColumn": 1, - "charOffset": 13963, - "charLength": 215, - "snippet": { - "text": "\n private string GetNonTerminalNameForPrecedence(int precedence,\n Dictionary>> operationsByPrecedence, string operandName) \n {\n if (precedence > 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f4370937e47630c5a185c45e9ccaedc817dfa49bf62ec7ff8b2a1b7436dbe21" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'sly.parser.syntax.grammar.ManyClause'", - "markdown": "Parameter can be of type 'sly.parser.syntax.grammar.ManyClause'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 180, - "startColumn": 70, - "charOffset": 7907, - "charLength": 20, - "snippet": { - "text": "ZeroOrMoreClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 178, - "startColumn": 1, - "charOffset": 7827, - "charLength": 184, - "snippet": { - "text": " }\n\n private void InitStartingTokensWithZeroOrMore(Rule rule, ZeroOrMoreClause manyClause,\n Dictionary> nonTerminals)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "428b2b441361e54f991f172381beed722ceab0d055efae297c17b073ab0c083d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IDictionary, System.Collections.Generic.List)>'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IDictionary, System.Collections.Generic.List)\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 428, - "startColumn": 13, - "charOffset": 18293, - "charLength": 66, - "snippet": { - "text": "Dictionary,List)>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 426, - "startColumn": 1, - "charOffset": 18206, - "charLength": 353, - "snippet": { - "text": "\n private static BuildResult> BuildGenericSubLexers(\n Dictionary,List)> attributes,\n Action> extensionBuilder, BuildResult> result, string lang,\n IList explicitTokens = null) where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "489cfca139b19b273e9c13d7da32ae27cc749a6c0c8de5451f06a589c3553dae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Reflection.MemberInfo'", - "markdown": "Parameter can be of type 'System.Reflection.MemberInfo'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 717, - "startColumn": 28, - "charOffset": 29947, - "charLength": 10, - "snippet": { - "text": "MethodInfo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 715, - "startColumn": 1, - "charOffset": 29809, - "charLength": 198, - "snippet": { - "text": "\n private BuildResult> CheckArgType(BuildResult> result, Rule rule,\n Type expected, MethodInfo visitor,\n ParameterInfo arg)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "885b4e2b7faa87c37468fc408f0446f0b39640c32818f5c2c040d6218eed92b6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'sly.parser.syntax.grammar.ManyClause'", - "markdown": "Parameter can be of type 'sly.parser.syntax.grammar.ManyClause'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 197, - "startColumn": 69, - "charOffset": 8607, - "charLength": 19, - "snippet": { - "text": "OneOrMoreClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 195, - "startColumn": 1, - "charOffset": 8528, - "charLength": 182, - "snippet": { - "text": " }\n\n private void InitStartingTokensWithOneOrMore(Rule rule, OneOrMoreClause manyClause,\n Dictionary> nonTerminals)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9c2ee6d8d35a907c98941e214f0ea00a6ca747044a1d5c4a498b05439295ec8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameter", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyCollection>'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyCollection\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 216, - "startColumn": 90, - "charOffset": 9404, - "charLength": 27, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 214, - "startColumn": 1, - "charOffset": 9304, - "charLength": 228, - "snippet": { - "text": " }\n\n private NonTerminal BuildPrecedenceNonTerminal(string name, string nextName, List> operations)\n {\n var nonTerminal = new NonTerminal(name, new List>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9f201384ce291a9cd50a459229789a4e3d955b5cdef81116ee0f6104a14e739" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestBaseTypeForParameterInConstructor", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter can be of type 'System.Collections.Generic.IReadOnlyCollection>'", - "markdown": "Parameter can be of type 'System.Collections.Generic.IReadOnlyCollection\\>'" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 89, - "charOffset": 1203, - "charLength": 21, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1104, - "charLength": 180, - "snippet": { - "text": " }\n\n public UnexpectedTokenSyntaxError(Token unexpectedToken, string i18n = null, List> expectedTokens = null) \n {\n _i18N = i18n;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2301427d23b727244d59cffe56b0d3c11f325676d99c93d10e5616769d3e268f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 744, - "startColumn": 13, - "charOffset": 26947, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 742, - "startColumn": 1, - "charOffset": 26853, - "charLength": 173, - "snippet": { - "text": " bool substitutionHappened = false;\n bool escaping = false;\n string r = string.Empty;\n while (i < value.Length - 1)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "023c7d0ad12a91cc1772108273b5f41a3ec7d70aed6b2c9f8910a510d173f3c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 22, - "charOffset": 760, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 696, - "charLength": 159, - "snippet": { - "text": " if (Start < End)\n {\n for (int i = Start; i <= End; i++)\n {\n foreach (var item in Items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "026787e27f3003d2ef4e9f04f55583f9016dbac0296b91b9fb6e85ba0681569f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 13, - "charOffset": 3776, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3702, - "charLength": 149, - "snippet": { - "text": " private DotNode Leaf(IN type, string value)\n {\n string label = type.ToString();\n if (label == \"0\")\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02d7c9e9e0292da144154745eff988e3c0f78911ae4cb34624e76e9349cd3928" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 209, - "startColumn": 18, - "charOffset": 5496, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 207, - "startColumn": 1, - "charOffset": 5446, - "charLength": 107, - "snippet": { - "text": "# end of nested block\nreturn r\";\n for (int i = 0; i < 10; i++)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "046a174064b36b13ad7e8e7c83cdc0fca75d18e26b08565ddf0b5262f214dac0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 337, - "startColumn": 13, - "charOffset": 9401, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 335, - "startColumn": 1, - "charOffset": 9374, - "charLength": 142, - "snippet": { - "text": " }\n\n string value = $\"{TokenID} [{Value.Replace(\"\\r\",\"\").Replace(\"\\n\",\"\")}]\";\n \n if (IsIndent)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "051aea549478aa2d19fc215bddb27b0d1b8c620fe6e3792371b15fe1646db27f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 237, - "startColumn": 13, - "charOffset": 6297, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 235, - "startColumn": 1, - "charOffset": 6167, - "charLength": 235, - "snippet": { - "text": " private (string constant, List<(char start, char end)> ranges) ParseRepeatedPattern(string pattern)\n {\n string toParse = pattern;\n if (toParse.StartsWith(\"[\") && toParse.EndsWith(\"]\"))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "072d6c2e72fa3eaf7668622dfbb62e3b14077313ec8529ce27a4c223108bbd00" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 743, - "startColumn": 13, - "charOffset": 26912, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 741, - "startColumn": 1, - "charOffset": 26830, - "charLength": 182, - "snippet": { - "text": " int i = 1;\n bool substitutionHappened = false;\n bool escaping = false;\n string r = string.Empty;\n while (i < value.Length - 1)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "083a2ff535bef3bd1d70497dfeab947a2fb954e523d40445d220cdbf6f093f6c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 17, - "charOffset": 3246, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 3154, - "charLength": 195, - "snippet": { - "text": " if (TokenChannels.TryGet(channelId, out channel))\n {\n int position = PositionInTokenFlow + 1;\n if (position < channel.Count)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08e1144c8f7a11bb605ff59893a25980b4a2535e2832748c77bf50cbb664942f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 18, - "charOffset": 669, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 500, - "charLength": 257, - "snippet": { - "text": " var result = builder.BuildParser(jsonParser, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");\n Console.WriteLine(\"parser built.\");\n for (int i = 0; i < 10; i++)\n {\n Console.WriteLine($\"test #{i} .\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08fe1b5184fc9093bd97c71c2a45a16f3a5c269992bbd02984479bc7a6be3d08" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 146, - "startColumn": 21, - "charOffset": 5165, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 144, - "startColumn": 1, - "charOffset": 5097, - "charLength": 197, - "snippet": { - "text": " if (next > i)\n {\n string failure = string.Join(\" > \",path.GetRange(i, next - i + 1));\n return (true, failure);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ac9d8d4992e6cca68f4bd41acca3ac88235c5907886c414d3c57074ee894f74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 509, - "startColumn": 17, - "charOffset": 20087, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 507, - "startColumn": 1, - "charOffset": 20052, - "charLength": 115, - "snippet": { - "text": " }\n\n int i = 0;\n foreach (var clause in realClauses)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b36efd83cae9fdf21f73de4e9c4d8d506e300849cd0b5c3b33693c0db0d17db" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 816, - "startColumn": 13, - "charOffset": 29035, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 814, - "startColumn": 1, - "charOffset": 28967, - "charLength": 118, - "snippet": { - "text": " public static void TestIndentedLang()\n {\n string source = @\"if truc == 1\n un = 1\n deux = 2" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ba0e522b8dcc6f25f9b78e0198cccf51c60ca68b833fcd1c2e899bf13140247" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 303, - "startColumn": 13, - "charOffset": 8609, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 301, - "startColumn": 1, - "charOffset": 8582, - "charLength": 142, - "snippet": { - "text": " }\n\n string value = $\"{TokenID} [{Value.Replace(\"\\r\",\"\").Replace(\"\\n\",\"\")}]\";\n \n if (IsIndent)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0fb88bffe560db8ddf98133c1675963b8da468e88898c410e3a56b38d4853416" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 201, - "startColumn": 26, - "charOffset": 8693, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 199, - "startColumn": 1, - "charOffset": 8575, - "charLength": 284, - "snippet": { - "text": " {\n var l = result.Result.LexemeLabels.Values.ToList()[i];\n for (int j = i + 1; j < result.Result.LexemeLabels.Values.Count; j++)\n {\n var l2 = result.Result.LexemeLabels.Values.ToList()[j];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "130e94eafc799a95cd478da43049b470dbc08d578fb536c6c59b458156f28c0d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 22, - "charOffset": 1978, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 1870, - "charLength": 191, - "snippet": { - "text": " shift = _tokenChannels.Values.Max(x => x.Count);\n }\n for (int i = 0; i < shift; i++)\n {\n channel.Add(null);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "131f18ebe26bb002c9272ac455e2e01ad6211dfab9e0f9fda8c03c4cbfe2b85b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 306, - "startColumn": 21, - "charOffset": 9464, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 304, - "startColumn": 1, - "charOffset": 9395, - "charLength": 207, - "snippet": { - "text": " {\n int i = 0;\n int indentCharCount = 0;\n while (i < currentIndentations.Count && indentPosition < indents.Count)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "164abebf957ded7aca306f16604a8379f2807f8b0aeb143f2e8c4e8dce5ef495" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 310, - "startColumn": 25, - "charOffset": 9721, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 308, - "startColumn": 1, - "charOffset": 9581, - "charLength": 253, - "snippet": { - "text": " {\n var current = currentIndentations[currentIndentations.Count - i - 1];\n int j = 0;\n if (indentPosition + current.Length > indents.Count)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "165f16d5c80cc54ed3d7fb565abfe3e4bd56c5da52deb33639c5b3c729f03aa0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 158, - "startColumn": 13, - "charOffset": 5662, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 156, - "startColumn": 1, - "charOffset": 5601, - "charLength": 156, - "snippet": { - "text": "\n var tokens = new List>();\n string src = source.ToString();\n\n var r = LexerFsm.Run(source, new LexerPosition());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18aa52a68a3bd198044be7967342f03915cb6645d5bcf3b8d4dbfce9e8f8108c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 13, - "charOffset": 1696, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1630, - "charLength": 202, - "snippet": { - "text": " List lefts = new List();\n\n int i = 0;\n IClause current = rule.Clauses[0] as IClause;\n var currentLefts = GetLeftClausesName(current);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18f31d680b6311f84626bf9bff7b7586a820d8c722e24d31b9542aa5ae48feb3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 262, - "startColumn": 17, - "charOffset": 7460, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 260, - "startColumn": 1, - "charOffset": 7389, - "charLength": 165, - "snippet": { - "text": " for (int i = 0; i < 10; i++)\n {\n int fixed_i = i; // capture fixed i\n var t = new Thread(() =>\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e9eeceb13666eeecc982e85a608cb3797afd1e418047cf475b90c6e9a427766" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 22, - "charOffset": 1373, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1251, - "charLength": 236, - "snippet": { - "text": " if (other is GroupClause group && group.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)\n {\n if (!Clauses[i].Equals(group.Clauses[i]))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1eb53bf92321c12240568f002f7335534a7a75f777dd3804f3dc0e0ceb35b314" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 300, - "startColumn": 21, - "charOffset": 11024, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 298, - "startColumn": 1, - "charOffset": 10836, - "charLength": 310, - "snippet": { - "text": " var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;\n // r.Result.Position.Line = line+1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22b74374d094cfaf3d575ed01ed1fccbd4a4bfe44cd6038ab4948cb7aaf626db" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1361, - "startColumn": 17, - "charOffset": 46945, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1359, - "startColumn": 1, - "charOffset": 46878, - "charLength": 148, - "snippet": { - "text": " while (i < value.Length)\n {\n char current = value[i];\n if (current == escape)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2301492a4429d5b499fc2d194b9a0d89709acabbd87af65cc4d6d2d389512fe4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1144, - "startColumn": 13, - "charOffset": 39578, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1142, - "startColumn": 1, - "charOffset": 39372, - "charLength": 320, - "snippet": { - "text": " var buildResult = builder.BuildParser(parserInstance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"block\");//line-based, 1 statement per line.\n var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "25a6da720ee738a057eefc5d7b6d7f478931e530836de47e8b25d02aff687cc3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 181, - "startColumn": 13, - "charOffset": 5176, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 179, - "startColumn": 1, - "charOffset": 5098, - "charLength": 142, - "snippet": { - "text": " {\n List indentations = new List();\n int i = 0;\n if (index >= source.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "281c3ac95db90d77934b4310ce8037db76f5f2cc111e9a466bda99c0f3ad78d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1016, - "startColumn": 21, - "charOffset": 38687, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1014, - "startColumn": 1, - "charOffset": 38586, - "charLength": 243, - "snippet": { - "text": " for (int j = 0; j < exception.Length - 1; j++)\n {\n char exceptionChar = exception[j];\n var end = GetEndLabel(i, j);\n var startNode = GetEndLabel(i, j - 1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c0b98fa01726bc77dfaa299f64c9b06c723da2a9cde8082a0c5b961ffad103f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 18, - "charOffset": 4958, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 4860, - "charLength": 185, - "snippet": { - "text": " private static (bool, string) FindRecursion(List path)\n {\n for (int i = 0; i < path.Count - 1;i++)\n {\n string step = path[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f25cd072c18a75e61b5c1a7f4caf203142ba660929a73556e844ebe5f3c9487" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 665, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 541, - "charLength": 239, - "snippet": { - "text": " {\n InitStartingTokensWithZeroOrMore(rule, zeroOrMore, nonTerminals);\n int i = 1;\n bool optional = true;\n while (i < rule.Clauses.Count && optional)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32ca58b51c7da060a377fd8bc697d8f5d7248ec5b54e81ade7b422f1cf934daa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1358, - "startColumn": 13, - "charOffset": 46867, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1356, - "startColumn": 1, - "charOffset": 46773, - "charLength": 155, - "snippet": { - "text": " var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";\n int i = 0;\n while (i < value.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35d384d66f24c9c8b717a9847913074c94169b12e400cb21928535aab2e13807" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 398, - "startColumn": 13, - "charOffset": 18653, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 396, - "startColumn": 1, - "charOffset": 18582, - "charLength": 231, - "snippet": { - "text": " SyntaxParseResult lastInnerResult = null;\n\n bool hasByPasNodes = false;\n SyntaxParseResult firstInnerResult = null;\n var innerErrors = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36ca418f4bc319a702a8fba09d1cb31abb02c7c08778f43e8277a22e11e689cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 623, - "startColumn": 21, - "charOffset": 22667, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 621, - "startColumn": 1, - "charOffset": 22578, - "charLength": 229, - "snippet": { - "text": " if (format == DateFormat.DDMMYYYY)\n {\n bool match = value.Length == 6 && value.At(2) == separator && value.At(5) == separator; \n return match;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "39c3617a10397aa887d4777901ef8667d4908eedae4e2fcc69a19bd16e6cd9d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 17, - "charOffset": 5062, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 4993, - "charLength": 151, - "snippet": { - "text": " {\n string step = path[i];\n int next = path.LastIndexOf(step);\n if (next > i)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c7287a2463101d4d5f16f007f2bfce542eafd22a5d3fcbcf39e790f65461b93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 13, - "charOffset": 1553, - "charLength": 6, - "snippet": { - "text": "object" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1484, - "charLength": 130, - "snippet": { - "text": " {\n object l = Left.Evaluate(context);\n object r = Right.Evaluate(context);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e33322fe62be899f7933174230b00d58daca6ace2416d01c090c1b71eee6c58" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 13, - "charOffset": 1506, - "charLength": 6, - "snippet": { - "text": "object" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1417, - "charLength": 184, - "snippet": { - "text": " public object Evaluate(Dictionary context)\n {\n object l = Left.Evaluate(context);\n object r = Right.Evaluate(context);\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ee8ef7a245626083b729999031a2f0ed7be79d987dc549b7bc5f8e17134bda4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 127, - "startColumn": 18, - "charOffset": 3795, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 125, - "startColumn": 1, - "charOffset": 3734, - "charLength": 151, - "snippet": { - "text": " builder.AppendLine(@\"\"\" : {\");\n\n for (int i = 0; i < Children.Count; i++)\n {\n var child = Children[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4237ae2bc5c3a12a3baa83a20f191b21cd3f7921dfc14e7134a2699eda394e55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 346, - "startColumn": 13, - "charOffset": 14236, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 344, - "startColumn": 1, - "charOffset": 14132, - "charLength": 201, - "snippet": { - "text": " errors.AddRange(innerRuleErrors);\n SyntaxParseResult max = null;\n int okEndingPosition = -1;\n int koEndingPosition = -1;\n bool hasOk = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44a4bd22b7f87aa83d4c65c0517a16a7c864ec211a4fbcab9bc0d2daa599c1c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 13, - "charOffset": 448, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 369, - "charLength": 170, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n string newTab = tab + \"\\t\";\n foreach (var statement in Statements)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "45e596855f40c4dcf42371664e6939d93675e975cbb78b1257689af18be6da8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 723, - "startColumn": 17, - "charOffset": 26350, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 721, - "startColumn": 1, - "charOffset": 26283, - "charLength": 170, - "snippet": { - "text": " while (i < value.Length)\n {\n char current = value.At(i);\n if (current == escapeStringDelimiterChar)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c2bf174795c47d8e58ae53e3c4031740b7d1144f788384377c2d4f27a205a7a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 299, - "startColumn": 21, - "charOffset": 10953, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 297, - "startColumn": 1, - "charOffset": 10818, - "charLength": 272, - "snippet": { - "text": " {\n var eols = tokens.Where>(t => t.IsLineEnding).ToList>();\n int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d8f8abfdab26d626c7b7df8ab4fabbc7dea327dad7bc9dad71540edd4e85b34" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 13, - "charOffset": 2703, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2624, - "charLength": 179, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n string expressionSuffix = \"\";\n if (Operation != null && Operation.IsBinary)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4daf349219df568f26234dc4b040d4f997a16499df6af82002986a7c9621444a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 198, - "startColumn": 22, - "charOffset": 8514, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 196, - "startColumn": 1, - "charOffset": 8491, - "charLength": 176, - "snippet": { - "text": "\n\n for (int i = 0; i < result.Result.LexemeLabels.Values.Count; i++)\n {\n var l = result.Result.LexemeLabels.Values.ToList()[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5230f22a172845e43249341af70e5dbcd8626d06627dce181f8adf9cdc7afbe3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 13, - "charOffset": 1339, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1289, - "charLength": 135, - "snippet": { - "text": "\n int tokenStartIndex = 0;\n int tokenLength = 0;\n\n Func> NewToken = tok =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a450ce8284516ca5345ea43492e64d268267d33ff58d912873b74e7ad337a66" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 301, - "startColumn": 21, - "charOffset": 11060, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 299, - "startColumn": 1, - "charOffset": 10933, - "charLength": 264, - "snippet": { - "text": " int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;\n // r.Result.Position.Line = line+1;\n r.NewPosition.Line = line + 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5d243394a23693cee40fff1e48e935c5c99afdabc5d8bec2f41f36acebe1a767" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 240, - "startColumn": 17, - "charOffset": 6419, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 238, - "startColumn": 1, - "charOffset": 6323, - "charLength": 276, - "snippet": { - "text": " if (toParse.StartsWith(\"[\") && toParse.EndsWith(\"]\"))\n {\n bool isPattern = true;\n List<(char start, char end)> ranges = new List<(char start, char end)>();\n toParse = toParse.Substring(1, toParse.Length - 2);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61b8ba59307418f554da341b03b5779a3d02814bf167f6427df1acb71985dcb7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 244, - "startColumn": 17, - "charOffset": 6682, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 242, - "startColumn": 1, - "charOffset": 6532, - "charLength": 238, - "snippet": { - "text": " toParse = toParse.Substring(1, toParse.Length - 2);\n var rangesItems = toParse.Split(new char[]{','});\n int i = 0;\n while (i < rangesItems.Length && isPattern)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "628377d68924c42cb7f168a795667015067e98366fa63befd7af3b15ce12e4d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 383, - "startColumn": 29, - "charOffset": 14702, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 381, - "startColumn": 1, - "charOffset": 14594, - "charLength": 219, - "snippet": { - "text": " case ChoiceClause choice:\n {\n int i = 0;\n while (i < choice.Choices.Count && !found)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63d9185e3b4fd39419eac9eee30804dd0c87859e7560b3dba742ccf34fe2cd8c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 650, - "startColumn": 17, - "charOffset": 22264, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 648, - "startColumn": 1, - "charOffset": 22142, - "charLength": 238, - "snippet": { - "text": " var parser = parserBuild.Result;\n string ko1 = \"|B|test2(a, b, c=100)|E|\";\n string ko2 = \"|B|plotshape(data, style=shapexcross)|E|\";\n \n var r = parser.Parse(ko1);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6593ce6d0b77c62c201cee50b576319a6664429de38a409f6d1e08ea6e61bc9f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 17, - "charOffset": 4620, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 4528, - "charLength": 218, - "snippet": { - "text": " if (TokenChannels.TryGet(channelId, out channel))\n {\n int position = PositionInTokenFlow - 1;\n if (position >= 0 && position <= channel.Count - 1) \n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6837d5038a0386a34b7c955a5f7a7231ce315562ce1ca27a59ac8f5e7f38959d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 267, - "startColumn": 30, - "charOffset": 7630, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 265, - "startColumn": 1, - "charOffset": 7555, - "charLength": 189, - "snippet": { - "text": " try\n {\n for (int j = 0; j < 10; j++)\n {\n Console.WriteLine($\"{fixed_i}.{j}\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "72bf4dd0f57046f2bf60874c1357e78448d523a70470337d1b5991d3e7770913" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 649, - "startColumn": 17, - "charOffset": 22207, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 647, - "startColumn": 1, - "charOffset": 22128, - "charLength": 209, - "snippet": { - "text": " {\n var parser = parserBuild.Result;\n string ko1 = \"|B|test2(a, b, c=100)|E|\";\n string ko2 = \"|B|plotshape(data, style=shapexcross)|E|\";\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "747dd6544104422c45f4f66dcc9e615007c78bc7651555c02a704da6fa32bb92" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 380, - "startColumn": 30, - "charOffset": 13182, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 378, - "startColumn": 1, - "charOffset": 13023, - "charLength": 324, - "snippet": { - "text": " uIndent.NewPosition.Column += spaces;\n uIndent.NewPosition.CurrentIndentation = i;\n for (int iu = 0; iu < uIndentCount; iu++)\n {\n uIndent.NewPosition.Indentations = uIndent.NewPosition.Indentations.Pop();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "75945e9ce30ddf210c1a1225094cd86af72d00e228a67bf25a1c555f267300b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 347, - "startColumn": 13, - "charOffset": 14275, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 345, - "startColumn": 1, - "charOffset": 14178, - "charLength": 203, - "snippet": { - "text": " SyntaxParseResult max = null;\n int okEndingPosition = -1;\n int koEndingPosition = -1;\n bool hasOk = false;\n SyntaxParseResult maxOk = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "76254865321ac3fde32c0fdb391cdaf7fc281ded277ef0e02bfe604a5610cdd3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 142, - "startColumn": 17, - "charOffset": 5023, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 140, - "startColumn": 1, - "charOffset": 4941, - "charLength": 185, - "snippet": { - "text": " for (int i = 0; i < path.Count - 1;i++)\n {\n string step = path[i];\n int next = path.LastIndexOf(step);\n if (next > i)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "769b41e2b0741e98fcb7c421bdfbdbbfa941ddcea1dc1852f8812dafb4a2b836" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 233, - "startColumn": 21, - "charOffset": 6541, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 231, - "startColumn": 1, - "charOffset": 6365, - "charLength": 248, - "snippet": { - "text": " Console.WriteLine(\"***********************************\");\n Console.WriteLine(\"***********************************\");\n int r = f();\n if (r != 3628800)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "76a6f5e9ed38fd3b8c3fe9fcc2dd72946bccfbd59282933212c0b6093c53322f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 492, - "startColumn": 29, - "charOffset": 20988, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 490, - "startColumn": 1, - "charOffset": 20889, - "charLength": 262, - "snippet": { - "text": " if (lexeme.IsDouble)\n {\n string separator = \".\";\n if (lexeme.GenericTokenParameters != null && lexeme.GenericTokenParameters.Any())\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "775ecb263b65dfdbbb69eb7d8b1eb314324938b50d9f5976d6282f8f1c206ca4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 13, - "charOffset": 1344, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1275, - "charLength": 159, - "snippet": { - "text": " public override bool Match(char input)\n {\n bool match = false;\n int i = 0;\n while (!match && i < ranges.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78bf4f3c90735f0043007c28eacdb8cfa6f321eb88554197da3e72352463ee4a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 17, - "charOffset": 7103, - "charLength": 6, - "snippet": { - "text": "double" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 6963, - "charLength": 278, - "snippet": { - "text": " var val = Value.Replace(DecimalSeparator, '.');\n var culture = CultureInfo.InvariantCulture;\n double result = 0.0;\n double.TryParse(val, NumberStyles.Any, CultureInfo.InvariantCulture,\n out result);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c0b6fdea6a559598a3bd6836b119f44a7c004415781820b37f03fffe0050424" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 628, - "startColumn": 21, - "charOffset": 22902, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 626, - "startColumn": 1, - "charOffset": 22808, - "charLength": 235, - "snippet": { - "text": " else if (format == DateFormat.YYYYMMDD)\n {\n bool match = value.Length == 8 && value.At(4) == separator && value.At(7) == separator;\n return match;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d392d36b69ce2a5c7847d892d0e9ed12f2439ad5eb3eb4b69ee8e205b166f27" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1411, - "startColumn": 18, - "charOffset": 48608, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1409, - "startColumn": 1, - "charOffset": 48489, - "charLength": 197, - "snippet": { - "text": " \n List> newTokens = new List>();\n for (int i = 0; i < tokens.Count; i++)\n {\n if ( i >= 1 &&" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "82bb110bef0ef835e20d9b0832b8076798d1177a189e5facdd8a5adbf2749fc0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 13, - "charOffset": 5126, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 5047, - "charLength": 140, - "snippet": { - "text": " private string GetNodeLabel(SyntaxNode node)\n {\n string label = node.Name;\n return label;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84b583c7bd45c1eef34d747bd93eb2f4e4f448fabd52a2f95daeec80e641d374" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 13, - "charOffset": 4527, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 4462, - "charLength": 178, - "snippet": { - "text": " private DotNode Leaf(string value)\n {\n string label = \"\";\n var esc = value.Replace(\"\\\"\", \"\\\\\\\"\");\n label += \"\\\\\\\"\" + esc + \"\\\\\\\"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "87c284fba951e4ba3e4e58b13dcd224f57c331ecefa7bc9371a3a41509fcb453" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 782, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 698, - "charLength": 150, - "snippet": { - "text": " public TokenChannels(List> tokens) : this()\n {\n int i = 0;\n foreach (var token in tokens)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "87c8d720c8ddddf1e1aba517cded8a1d534f319f240c1a9e9fdc0cd439afe528" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 26, - "charOffset": 3891, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 3827, - "charLength": 184, - "snippet": { - "text": " {\n \n for (int i = position; position > 0; position--)\n {\n var token = channel[position];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8837f9cdc0da9c9c070c5b0b3560921b1138539049a28130e8f0586e43da8b19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 22, - "charOffset": 1170, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1101, - "charLength": 164, - "snippet": { - "text": " else if (Start > End)\n {\n for (int i = Start; i >= End; i--)\n {\n foreach (var item in Items)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8a617ea47393e2622f91975e3d697932684b3ef52a9a3b8106077397c41b6892" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 167, - "startColumn": 13, - "charOffset": 4705, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 165, - "startColumn": 1, - "charOffset": 4678, - "charLength": 142, - "snippet": { - "text": " }\n\n string id = source.Slice(index, Indentation.Length).ToString();\n while (id == Indentation)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b0b0adb5a38ee8d5c3d65db02cb6d2a6cf72d93124381011a4314fceede6586" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 22, - "charOffset": 2312, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2217, - "charLength": 190, - "snippet": { - "text": " foreach (var VARIABLE in _tokenChannels.Values)\n {\n for (int i = channel.Count; i < index; i++)\n {\n channel.Add(null);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b5465f185a123322eff942be662ae9364c492ca5cc8e919dda9d34abbea8dc4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 546, - "startColumn": 17, - "charOffset": 19869, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 544, - "startColumn": 1, - "charOffset": 19801, - "charLength": 223, - "snippet": { - "text": " if (doubleLexeme != null)\n {\n char decimalSeparator = (doubleLexeme.HasGenericTokenParameters)\n ? doubleLexeme.GenericTokenParameters[0][0]\n : '.';" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b9f199e70070592bab040747f431262644088577087533dd8dfe31a69860fdb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 152, - "startColumn": 18, - "charOffset": 3816, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 150, - "startColumn": 1, - "charOffset": 3717, - "charLength": 156, - "snippet": { - "text": " program += \"i := i + 1 \\n);\\n\";\n program += \"return r)\\n\";\n for (int i = 0; i < 10; i++)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ca17724b3dcab85f2fc5a232ef0b02611e53f5efab43f4d953136c8fd691f50" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 719, - "startColumn": 13, - "charOffset": 26238, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 717, - "startColumn": 1, - "charOffset": 26179, - "charLength": 140, - "snippet": { - "text": " {\n var value = stringValue;\n string newValue = \"\";\n int i = 0;\n while (i < value.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f2210c3ee04e88b8ce26f2c3e13ca4dd63803acc98d0c64febe35fbcd567dab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 21, - "charOffset": 2235, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 2114, - "charLength": 281, - "snippet": { - "text": " {\n Enum enumValue = Enum.Parse(typeof(IN), v.ToString()) as Enum;\n int intValue = Convert.ToInt32(enumValue); // x is the integer value of enum\n\n result.AddError(new LexerInitializationError(ErrorLevel.FATAL," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8feec9fd2c2d4c5521798778b6e7e68fc0a0c828343cc94fcef9818c9d37d878" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 521, - "startColumn": 13, - "charOffset": 17264, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 519, - "startColumn": 1, - "charOffset": 17154, - "charLength": 199, - "snippet": { - "text": " public FSMLexerBuilder TransitionToAndMark(char[] inputs, string toNodeMark)\n {\n int toNode = -1;\n if (Marks.TryGetValue(toNodeMark, out toNode))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "907b37fad4896d1873040e6f5318beeb8ce1c797fe49c08c546420133d0410ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 747, - "startColumn": 17, - "charOffset": 27043, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 745, - "startColumn": 1, - "charOffset": 26972, - "charLength": 217, - "snippet": { - "text": " while (i < value.Length - 1)\n {\n char current = value.At(i);\n if (current == escapeStringDelimiterChar && !escaping && i < value.Length - 2)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91d5db7f1ecfe2aafe7c4e2b1b8d81ab54cfbcb7aa10e9e91c062cb11f07e676" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 17, - "charOffset": 1788, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1695, - "charLength": 174, - "snippet": { - "text": " {\n channel = new TokenChannel(token.Channel);\n int shift = 0;\n if (_tokenChannels.Values.Any())\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "93daa8e0e55baa874715502a99fcd5f2f0c5b73e3e605b1228c8e6b70138959b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 300, - "startColumn": 17, - "charOffset": 9277, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 298, - "startColumn": 1, - "charOffset": 9173, - "charLength": 166, - "snippet": { - "text": " var currentIndentations = lexerPosition.Indentations.ToList();\n\n int uIndentCount = 0;\n\n int indentPosition = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "94566916948a171c9dcac9736be9ee40e2a2d63c33e20971846c315831bd820a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 21, - "charOffset": 3103, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2989, - "charLength": 229, - "snippet": { - "text": " {\n InitStartingTokensWithOption(rule,option,nonTerminals);\n int i = 1;\n bool optional = true;\n while (i < rule.Clauses.Count && optional)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b81a8986ae847a060104097460f376118af37cb53a572600f662a8460e24af4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 348, - "startColumn": 13, - "charOffset": 14314, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 346, - "startColumn": 1, - "charOffset": 14224, - "charLength": 205, - "snippet": { - "text": " int okEndingPosition = -1;\n int koEndingPosition = -1;\n bool hasOk = false;\n SyntaxParseResult maxOk = null;\n SyntaxParseResult maxKo = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9eb31eb2a49eeadbe7b8ddf7435acf479c21f4520ae1bc10412001acff971479" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 13, - "charOffset": 699, - "charLength": 6, - "snippet": { - "text": "object" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 610, - "charLength": 194, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n object testObj = Condition.Evaluate(context);\n if (testObj is bool test && test)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fc9c0faa36affa8c0b4f6263775be787ea86299d23b5b7eb1d0755a0ede678b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 305, - "startColumn": 21, - "charOffset": 9433, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 303, - "startColumn": 1, - "charOffset": 9340, - "charLength": 240, - "snippet": { - "text": " if (currentIndentations.Any())\n {\n int i = 0;\n int indentCharCount = 0;\n while (i < currentIndentations.Count && indentPosition < indents.Count)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ffe0398217147d5bcd30fa3c4a012b26a26365f2d26b08c957d172978a54341" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/SyntaxParsingContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 13, - "charOffset": 797, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 669, - "charLength": 257, - "snippet": { - "text": " public bool TryGetParseResult(IClause clause, int position, out SyntaxParseResult result)\n {\n bool found = _memoizedNonTerminalResults.TryGetValue(GetKey(clause, position), out result);\n if (!found)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a15121890b696a6763693768fe5704c9fa52672c8f867e69567bc80206503c02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 85, - "startColumn": 13, - "charOffset": 2164, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 83, - "startColumn": 1, - "charOffset": 2137, - "charLength": 153, - "snippet": { - "text": " }\n\n int index = _tokenChannels.Values.Max(x => x.Count);\n foreach (var VARIABLE in _tokenChannels.Values)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3057927fe2a74ee42a9671aafe40d96c17536ab9c1d15c9eb9876d999707dea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 25, - "charOffset": 1852, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1731, - "charLength": 224, - "snippet": { - "text": " using (StreamReader reader = new StreamReader(stream))\n {\n string line = reader.ReadLine();\n while (line != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4cb8a7c33d5456c9d7ac1a50597c93e76d6634669894c9252ac82833363e88c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 302, - "startColumn": 17, - "charOffset": 9316, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 300, - "startColumn": 1, - "charOffset": 9261, - "charLength": 151, - "snippet": { - "text": " int uIndentCount = 0;\n\n int indentPosition = 0;\n if (currentIndentations.Any())\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a60d35d297654a26149be150f44e9f92c4f2fde29476a42f71d8db4fcdf4280d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 13, - "charOffset": 1845, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1707, - "charLength": 283, - "snippet": { - "text": " IClause current = rule.Clauses[0] as IClause;\n var currentLefts = GetLeftClausesName(current);\n bool stopped = false;\n while (i < rule.Clauses.Count && ! stopped && currentLefts != null && currentLefts.Any())\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6e635e0de5fa39b174e5119e7741f507c2df4dbc470e8fd5fe1270b5dc2f62e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 17, - "charOffset": 2337, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2258, - "charLength": 204, - "snippet": { - "text": " {\n var list = new List>();\n int position = PositionInTokenFlow + 1;\n if (position >= 0 && position <= channel.Count - 1)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8e8bf65c13ab6828b2dbd4c1463cdf51e2ecfd71d71bfba2d99aca63bbcd010" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/EOLManager.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 877, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 758, - "charLength": 239, - "snippet": { - "text": " public static ReadOnlyMemory RemoveEndOfLineChars(this ReadOnlyMemory value)\n {\n int endPosition = value.Length-1;\n while (new[] { '\\n', '\\r' }.Contains(value.At(endPosition)))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab06b84b4486210687d05f2128e64039c839407ce1315f013cb7808d0bcf8ecb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 161, - "startColumn": 13, - "charOffset": 4563, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 159, - "startColumn": 1, - "charOffset": 4459, - "charLength": 192, - "snippet": { - "text": " public int ComputeIndentationSize(ReadOnlyMemory source, int index)\n {\n int count = 0;\n if (index + Indentation.Length > source.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac76a2a8332266903a59dcca68cf2da66d7ee491e31aae06aaeeb05becb52ce3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 260, - "startColumn": 18, - "charOffset": 7406, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 258, - "startColumn": 1, - "charOffset": 7307, - "charLength": 188, - "snippet": { - "text": " program += \"i := i + 1 \\n);\\n\";\n program += \"return r)\\n\";\n for (int i = 0; i < 10; i++)\n {\n int fixed_i = i; // capture fixed i" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac8c23747c9c8f2d5c819416ca8838fedb057d48fa1d1c22fb4208a3de5604cd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 163, - "startColumn": 21, - "charOffset": 4301, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 161, - "startColumn": 1, - "charOffset": 4142, - "charLength": 231, - "snippet": { - "text": " var code = compiler.TranspileToCSharp(program);\n var f = compiler.CompileToFunction(program,false);\n int r = f();\n if (r != 3628800)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1358a518871aa184b8308c002e50c8308eac7d65a0c416f38ba642c10834295" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 202, - "startColumn": 26, - "charOffset": 7324, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 200, - "startColumn": 1, - "charOffset": 7224, - "charLength": 206, - "snippet": { - "text": " if (r.IsUnIndent && r.UnIndentCount > 1)\n {\n for (int i = 1; i < r.UnIndentCount; i++)\n {\n tokens.Add(transcoded);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b551c1ed52739d236dfe1aeda2e59a46d7931a31c845d0c1ad222584e7181ee1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1158, - "startColumn": 13, - "charOffset": 40265, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1156, - "startColumn": 1, - "charOffset": 40059, - "charLength": 320, - "snippet": { - "text": " var buildResult = builder.BuildParser(parserInstance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"block\");//line-based, 1 statement per line.\n var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b810e436f199961529f31ae9ea9d60b0de6739f39352288cb0ea110381d8119b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1014, - "startColumn": 22, - "charOffset": 38607, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1012, - "startColumn": 1, - "charOffset": 38522, - "charLength": 199, - "snippet": { - "text": " {\n string exception = exceptions[i];\n for (int j = 0; j < exception.Length - 1; j++)\n {\n char exceptionChar = exception[j];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b899b1f746f19ce9fa9330b7032e3be34c676439780e5fbf26e4ca0ce7ec1e4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 17, - "charOffset": 3504, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 3469, - "charLength": 262, - "snippet": { - "text": " }\n\n string value = UnexpectedToken.Value;\n \n return I18N.Instance.GetText(_i18N,i18NMessage, $\"{value} ({UnexpectedToken.Position.ToString()})\", UnexpectedToken.Label.ToString(), expecting.ToString());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ba664148a09a71865d1adec667a85c5d3e2048ebf60e2d704ef0cfc5bc6213f8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 449, - "startColumn": 13, - "charOffset": 15577, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 447, - "startColumn": 1, - "charOffset": 15456, - "charLength": 298, - "snippet": { - "text": " private List> ConsumeIgnored(ReadOnlyMemory source, LexerPosition position)\n {\n bool eolReached = false;\n List> ignoredTokens = new List>();\n while (position.Index < source.Length && !(eolReached && IndentationAware))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bee9cdab3565b806082cea702d66ad67213bfe7d40ce89a4596fba36f00851a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 720, - "startColumn": 13, - "charOffset": 26272, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 718, - "startColumn": 1, - "charOffset": 26189, - "charLength": 144, - "snippet": { - "text": " var value = stringValue;\n string newValue = \"\";\n int i = 0;\n while (i < value.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c02bbb969a2d8fec797d3a705d9802bba97b40ebc55a8ab6399b8c4a6db9e8ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 21, - "charOffset": 2332, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 2258, - "charLength": 315, - "snippet": { - "text": " if (result == null)\n {\n int lastPosition = -1;\n List> furtherResults = new List>();\n //List> furtherErrors = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c359b37c76836bff322582082376189e8d76ccb19beb3b910af4d01a8f4c1daa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 13, - "charOffset": 1376, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1322, - "charLength": 126, - "snippet": { - "text": " {\n bool match = false;\n int i = 0;\n while (!match && i < ranges.Length)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5bcff9528ac4b093bd98272144c1afbd1c5990ad5c199d2cb4eb1f4db978405" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1355, - "startColumn": 13, - "charOffset": 46755, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1353, - "startColumn": 1, - "charOffset": 46701, - "charLength": 153, - "snippet": { - "text": " {\n char escape = '\\\\';\n char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7330afdb7368dfc02a7d1c5805538bf7f0f2bbe60fa113a010633bba796f3a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 577, - "startColumn": 13, - "charOffset": 19062, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 575, - "startColumn": 1, - "charOffset": 18992, - "charLength": 294, - "snippet": { - "text": " private static void TestGrammarParser()\n {\n string productionRule = \"clauses : clause (COMMA [D] clause)*\";\n var ruleparser = new RuleParser();\n var builder = new ParserBuilder>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca343eeffb400d10c5c09e513b0de4e18ad8991ddfdb6a6eb58756cae852c7a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 26, - "charOffset": 2509, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2445, - "charLength": 196, - "snippet": { - "text": " {\n \n for (int i = position; position < channel.Count; position++)\n {\n var token = channel[position];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccc39c14579cdb4378d8a7a59344a097ecc40035de89a34ba5772b385aa253a6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 394, - "startColumn": 26, - "charOffset": 12225, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 392, - "startColumn": 1, - "charOffset": 12078, - "charLength": 289, - "snippet": { - "text": " if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())\n {\n for (int i = 0; i < count-1; i++)\n {\n MultiRangeTransition(precondition, parsedPattern.ranges.ToArray());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf97318b4b0bc36379f647d44d80f3a93630118a3b397e50985c5052c90b1498" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ExpressionRulesGenerator.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 21, - "charOffset": 2275, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 2253, - "charLength": 210, - "snippet": { - "text": "\n\n bool isEnumValue = EnumConverter.IsEnumValue(attr.StringToken) ||\n attr.IntToken >= 0;\n OperationMetaData operation = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4eea43aaf4289a6b047db7aa0d2d124bf78147fe4fa806a23b96b7c502257c4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 17, - "charOffset": 3719, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3640, - "charLength": 204, - "snippet": { - "text": " {\n var list = new List>();\n int position = PositionInTokenFlow - 1;\n if (position >= 0 && position <= channel.Count - 1)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5b679732be8f07daf80bd020dc56a88e3ace77778c5e7c71cd13ab830cdb5ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 21, - "charOffset": 3134, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 3007, - "charLength": 233, - "snippet": { - "text": " InitStartingTokensWithOption(rule,option,nonTerminals);\n int i = 1;\n bool optional = true;\n while (i < rule.Clauses.Count && optional)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d73e4a2c9c7331d249aeb9ffdac23c6e386ef15f674bc0f77839ef5ca6218f74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 274, - "startColumn": 26, - "charOffset": 7706, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 272, - "startColumn": 1, - "charOffset": 7559, - "charLength": 287, - "snippet": { - "text": " if (parsedPattern.ranges != null && parsedPattern.ranges.Any<(char start, char end)>())\n {\n for (int i = 0; i < count; i++)\n {\n MultiRangeTransition(precondition, parsedPattern.ranges.ToArray());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d963ecdde20d64cb8113dcd9cec206cb44b018233a04717810329b644984b660" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1011, - "startColumn": 18, - "charOffset": 38483, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1009, - "startColumn": 1, - "charOffset": 38353, - "charLength": 232, - "snippet": { - "text": " .CallBack(callback);\n FSMBuilder.ExceptTransitionTo(upToChars0, GetEndLabel(-1, -1));\n for (int i = 0; i < exceptions.Length; i++)\n {\n string exception = exceptions[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da217d7d106e103c9c609af107e3548a3b0c8e190ce4e7db28fb6b8421758fb8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1357, - "startColumn": 13, - "charOffset": 46833, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1355, - "startColumn": 1, - "charOffset": 46743, - "charLength": 171, - "snippet": { - "text": " char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";\n string newValue = \"\";\n int i = 0;\n while (i < value.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd98ba3bba9a9b0d4d4eed68e7e26b571fae815a62070e011e6db650cadf518b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 531, - "startColumn": 13, - "charOffset": 17342, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 529, - "startColumn": 1, - "charOffset": 17200, - "charLength": 296, - "snippet": { - "text": " var graphviz = new GraphVizEBNFSyntaxTreeVisitor();\n var root = graphviz.VisitTree(tree);\n string graph = graphviz.Graph.Compile();\n // File.Delete(\"c:\\\\temp\\\\tree.dot\");\n // File.AppendAllText(\"c:\\\\temp\\\\tree.dot\", graph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de83f8b16f0dc2bdcad7d9c2f6c5c765f2389f416e24616ab843cfa00b43b021" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 13, - "charOffset": 5327, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 5300, - "charLength": 160, - "snippet": { - "text": " }\n\n char current = source.At(index + i);\n while (i < source.Length && (current == ' ' || current == '\\t'))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df4ffb2756d2188fdae19eeb28299f7dc00d52229964358b4d416accbe2edcfa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 21, - "charOffset": 696, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 559, - "charLength": 243, - "snippet": { - "text": " InitStartingTokensWithZeroOrMore(rule, zeroOrMore, nonTerminals);\n int i = 1;\n bool optional = true;\n while (i < rule.Clauses.Count && optional)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df6a9b6f33ea327117a9f3a30226cf0b6c3cca9a19840e5ba7ac329031d0a9d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 741, - "startColumn": 13, - "charOffset": 26842, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 739, - "startColumn": 1, - "charOffset": 26783, - "charLength": 151, - "snippet": { - "text": " {\n var value = stringValue;\n int i = 1;\n bool substitutionHappened = false;\n bool escaping = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e40452639215626a6c728f911cfdcda135c45a58bf6cd229378b9b0ba01337f4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 22, - "charOffset": 1016, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 946, - "charLength": 160, - "snippet": { - "text": " if (i >= Tokens.Count)\n {\n for (int j = Tokens.Count; j <= i; j++)\n {\n Tokens.Add(null);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4c2762af757e718ad4940731023ed36c6469912bd1600ed47cda4ad5127ef23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/Rule.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 21, - "charOffset": 1662, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1557, - "charLength": 201, - "snippet": { - "text": " if (Clauses != null && Clauses.Any>())\n {\n bool contains = false;\n foreach (var clause in Clauses)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6d095e1a23ec08f81e0488322f4e174b09c286194f4d8768f0a4cccd07afff3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 18, - "charOffset": 1095, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 982, - "charLength": 191, - "snippet": { - "text": " \n List> newTokens = new List>();\n for (int i = 0; i < tokens.Count; i++)\n {\n if ( i >= 1 &&" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9e3026dcb2878a83d3610cbbc7441fa509f478ef6bb30133a02952b165d067b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 13, - "charOffset": 1302, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1252, - "charLength": 108, - "snippet": { - "text": " var NumIsDouble = false;\n\n int tokenStartIndex = 0;\n int tokenLength = 0;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eed2a6a0a8236604d2b18e6b9c4cfc9d5cb38b41d6ff4db69ab8bfa18e29076b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1013, - "startColumn": 17, - "charOffset": 38552, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1011, - "startColumn": 1, - "charOffset": 38466, - "charLength": 200, - "snippet": { - "text": " for (int i = 0; i < exceptions.Length; i++)\n {\n string exception = exceptions[i];\n for (int j = 0; j < exception.Length - 1; j++)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef75b462a45ab623b864c7072e1a11ec81183565aedd0e61b66875b47730fe4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 22, - "charOffset": 1088, - "charLength": 3, - "snippet": { - "text": "int" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 957, - "charLength": 248, - "snippet": { - "text": " if (other is ClauseSequence sequence && sequence.Clauses.Count == Clauses.Count)\n {\n for (int i = 0; i < Clauses.Count; i++)\n {\n if (!Clauses[i].Equals(sequence.Clauses[i]))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0346c510681b6a4df714ee21e62906033a8595def0215de90cd21d8b6100f20" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 742, - "startColumn": 13, - "charOffset": 26865, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 740, - "startColumn": 1, - "charOffset": 26793, - "charLength": 178, - "snippet": { - "text": " var value = stringValue;\n int i = 1;\n bool substitutionHappened = false;\n bool escaping = false;\n string r = string.Empty;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0a001cbf331a21f7100a1390975011d21106a203c87f1b1370715e3938d50fa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 70, - "charOffset": 5487, - "charLength": 6, - "snippet": { - "text": "string" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 5262, - "charLength": 322, - "snippet": { - "text": " token.Label = token.TokenID.ToString();\n if (labels.TryGetValue(token.TokenID, out var tokenLabels) \n && tokenLabels.TryGetValue(lang, out string label))\n {\n token.Label = label;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1d8350faa1b07d20f8f27983ffd945d79babdf88f96c1160a68ff47352c9f47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 748, - "startColumn": 21, - "charOffset": 26812, - "charLength": 6, - "snippet": { - "text": "double" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 746, - "startColumn": 1, - "charOffset": 26691, - "charLength": 257, - "snippet": { - "text": " double exponent = 0;\n double.TryParse(items[1],out exponent);\n double value = Math.Pow(radix, exponent);\n match.Result.SpanValue = value.ToString().AsMemory();\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f2660e9ed0f8b4d5b16568169f7ba600a84c85ed99e3476b987aeeb91ee7d825" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 743, - "startColumn": 21, - "charOffset": 26517, - "charLength": 8, - "snippet": { - "text": "string[]" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 741, - "startColumn": 1, - "charOffset": 26390, - "charLength": 300, - "snippet": { - "text": " NodeCallback callback = (FSMMatch match) => \n {\n string[] items = match.Result.Value.Split(new[] {'e', 'E'});\n double radix = 0;\n double.TryParse(items[0].Replace(\".\",\",\"), out radix);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5a76c0376302e35ea883fcf94c1e7ceb8acc15716042333c40fafffd535da7c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 13, - "charOffset": 2780, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2688, - "charLength": 202, - "snippet": { - "text": " {\n List> recursions = new List>();\n bool foundRecursion = false;\n foreach (var nonTerminal in configuration.NonTerminals)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "faa0b0311252c8808d6f40b0dfeed0267f69b0e6d12de389239af89db3c4953d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 317, - "startColumn": 13, - "charOffset": 14914, - "charLength": 4, - "snippet": { - "text": "bool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 315, - "startColumn": 1, - "charOffset": 14827, - "charLength": 156, - "snippet": { - "text": " var innerErrors = new List>();\n\n bool hasByPasNodes = false;\n while (stillOk)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fe592bdee82ab5e443c34c0740758bb3a3de1b1e3155e080d5746281f5c747d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_BuiltInTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (built-in types)", - "markdown": "Use 'var' (built-in types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1354, - "startColumn": 13, - "charOffset": 46723, - "charLength": 4, - "snippet": { - "text": "char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1352, - "startColumn": 1, - "charOffset": 46662, - "charLength": 158, - "snippet": { - "text": " private static void EscapeIt()\n {\n char escape = '\\\\';\n char delim = '\"';\n var value = \"\\\\\\\"te\\\\\\\\\\\\\\\\st\\\\\\\"\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff14be46ddf415bf99cbc813df9591659fb7e6251d8563d446b51ebd87660e00" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 25, - "charOffset": 827, - "charLength": 11, - "snippet": { - "text": "IClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 718, - "charLength": 187, - "snippet": { - "text": " while (i < rule.Clauses.Count && optional)\n {\n IClause clause = rule.Clauses[i];\n\n switch (clause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08012c3cc7b966889eedc45e49e08aed3a330f8e29230ccfbb0dd981c98d8ce0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 986, - "startColumn": 17, - "charOffset": 34135, - "charLength": 48, - "snippet": { - "text": "GraphVizEBNFSyntaxTreeVisitor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 984, - "startColumn": 1, - "charOffset": 34056, - "charLength": 265, - "snippet": { - "text": " parser.SyntaxParseCallback = node =>\n {\n GraphVizEBNFSyntaxTreeVisitor grapher =\n new GraphVizEBNFSyntaxTreeVisitor();\n var root = grapher.VisitTree(node);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "119c6e37e29d59260da6990e952e392b98271e74e9b27f6d686086e43b7e4edb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 393, - "startColumn": 17, - "charOffset": 15710, - "charLength": 36, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 391, - "startColumn": 1, - "charOffset": 15640, - "charLength": 232, - "snippet": { - "text": " if (rulesResults.Count > 0)\n {\n List> terr = new List>();\n foreach (var ruleResult in rulesResults)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1318468123d92dc96b7162627c18a5667d78cde29036ac0e2af654e3e0eb2cab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 21, - "charOffset": 2375, - "charLength": 27, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 2294, - "charLength": 321, - "snippet": { - "text": " {\n int lastPosition = -1;\n List> furtherResults = new List>();\n //List> furtherErrors = new List>();\n foreach (var r in rs)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1566a2f7796ed38a4368e59b40727ec7d760b4f03165d9daac0064aad0a02f40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 13, - "charOffset": 800, - "charLength": 24, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 709, - "charLength": 232, - "snippet": { - "text": " public List> GetAllExplicitTokenClauses()\n {\n List> clauses = new List>();\n foreach (var nonTerminal in NonTerminals.Values)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21636cc5f6c3ef18ff1f0a99bee650591efca13a0a0dfb16b9f38da1d23c0ab4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1227, - "startColumn": 13, - "charOffset": 42465, - "charLength": 38, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1225, - "startColumn": 1, - "charOffset": 42399, - "charLength": 308, - "snippet": { - "text": " private static void TestXmlParser()\n {\n ParserBuilder builder = new ParserBuilder();\n var parser = new MinimalXmlParser();\n var r = builder.BuildParser(parser, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"document\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22656f788f15fb6a8ade601f729c94cb7241e6cc8635acfa514a8909d90c1e3f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 17, - "charOffset": 1694, - "charLength": 29, - "snippet": { - "text": "LeftRecursionChecker" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1559, - "charLength": 262, - "snippet": { - "text": " {\n configuration = ExtractEbnfParserConfiguration(parserInstance.GetType(), grammarParser);\n LeftRecursionChecker recursionChecker = new LeftRecursionChecker();\n\n // check left recursion." - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "23a39dbe1ed1f4aaf5a218e161ca65e81d9983447b3a7ad866ec0c48e12adb8f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 450, - "startColumn": 13, - "charOffset": 15614, - "charLength": 14, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 448, - "startColumn": 1, - "charOffset": 15555, - "charLength": 213, - "snippet": { - "text": " {\n bool eolReached = false;\n List> ignoredTokens = new List>();\n while (position.Index < source.Length && !(eolReached && IndentationAware))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "255881bb8c6b49c78fd9728f33ea467c5e85662e4929bd9f8f7a0775b60c78bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 22, - "charOffset": 2305, - "charLength": 15, - "snippet": { - "text": "NonTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 2220, - "charLength": 203, - "snippet": { - "text": " {\n StringBuilder dump = new StringBuilder();\n foreach (NonTerminal nonTerminal in NonTerminals.Values)\n {\n dump.AppendLine(nonTerminal.Dump());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2cde8178048082b56bd5566d5dc6cfc6e1fe810033e280b336fb5484b32a0538" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 33, - "charOffset": 3876, - "charLength": 15, - "snippet": { - "text": "NonTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 3702, - "charLength": 391, - "snippet": { - "text": " {\n InitStartingTokensForNonTerminal(nonTerminals, terminalClause.NonTerminalName);\n NonTerminal nonTerminal = nonTerminals[terminalClause.NonTerminalName];\n {\n rule.PossibleLeadingTokens.AddRange(nonTerminal.PossibleLeadingTokens);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3025d473cdc6d2ec8f0f4b76c5b36f9fe0006da19b8043d4d41d275a1492f0eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 25, - "charOffset": 3265, - "charLength": 11, - "snippet": { - "text": "IClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 3156, - "charLength": 187, - "snippet": { - "text": " while (i < rule.Clauses.Count && optional)\n {\n IClause clause = rule.Clauses[i];\n\n switch (clause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ae695e3f3f138dcaa771bd2a2cf7afc6eed63d34e9cef594ab1579cef82e492" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 13, - "charOffset": 1007, - "charLength": 25, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 965, - "charLength": 177, - "snippet": { - "text": " \n \n List> newTokens = new List>();\n for (int i = 0; i < tokens.Count; i++)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "419f94ddb10a18fa0d9f6cbac8d013c1dd167e31a46f151b086810b8b48dd928" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 944, - "startColumn": 13, - "charOffset": 32690, - "charLength": 38, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 942, - "startColumn": 1, - "charOffset": 32663, - "charLength": 276, - "snippet": { - "text": " }\n\n ParserBuilder builder = new ParserBuilder();\n var instance = new IndentedParser2();\n var parserRes = builder.BuildParser(instance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a6fb483a988f55ef861bc5231696d2e99ad05f5b95d43c629f17456e56c53c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 180, - "startColumn": 13, - "charOffset": 5120, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 178, - "startColumn": 1, - "charOffset": 5016, - "charLength": 210, - "snippet": { - "text": " public List GetIndentations(ReadOnlyMemory source, int index)\n {\n List indentations = new List();\n int i = 0;\n if (index >= source.Length)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a70e5fa81543141623439ad1a6bcaa102cb2bfa95d0075f6d5fdf531e6508f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 13, - "charOffset": 856, - "charLength": 14, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 780, - "charLength": 168, - "snippet": { - "text": " public LexerResult Tokenize(string source)\n {\n List> tokens = new List>();\n \n var currentIndex = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d06dfd658bf6238c699cc8d9e0a29dbff1a6b054e3e1d4be0ff638ff7f3c31f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 13, - "charOffset": 5423, - "charLength": 22, - "snippet": { - "text": "FSMLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 5317, - "charLength": 283, - "snippet": { - "text": " Stack> lexersStack = new Stack>();\n\n FSMLexer LexerFsm = SubLexersFsm[ModeAttribute.DefaultLexerMode];\n lexersStack.Push(LexerFsm);\n LexerPosition position = new LexerPosition();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4dfeb25e7eadc9e9db18744d08e922c2aa1a499a0d1706aeb3b2f4feac03262b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1407, - "startColumn": 13, - "charOffset": 48371, - "charLength": 26, - "snippet": { - "text": "Func" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1405, - "startColumn": 1, - "charOffset": 48235, - "charLength": 266, - "snippet": { - "text": " Func mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "534a30b0831a7881080f279ee0ba4a63f5ee9ea1b4836d6718f6a3bbcb3e8e80" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 13, - "charOffset": 2710, - "charLength": 18, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2550, - "charLength": 326, - "snippet": { - "text": " public static (bool foundRecursion, List> recursions) CheckLeftRecursion(ParserConfiguration configuration)\n {\n List> recursions = new List>();\n bool foundRecursion = false;\n foreach (var nonTerminal in configuration.NonTerminals)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "598d408954165c2d4f1b32eeb725844cd14b6c5c1268fbfce95d4e1dc0572b68" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 241, - "startColumn": 17, - "charOffset": 6458, - "charLength": 28, - "snippet": { - "text": "List<(char start, char end)>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 239, - "startColumn": 1, - "charOffset": 6389, - "charLength": 276, - "snippet": { - "text": " {\n bool isPattern = true;\n List<(char start, char end)> ranges = new List<(char start, char end)>();\n toParse = toParse.Substring(1, toParse.Length - 2);\n var rangesItems = toParse.Split(new char[]{','});" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6409a9dc824cb9d8736904a255df1aa7497c3db6b5020ebd97ac135922d2d16b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 26, - "charOffset": 1082, - "charLength": 11, - "snippet": { - "text": "IClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 951, - "charLength": 244, - "snippet": { - "text": " {\n dump.Append(Name).Append(rule.IsExpressionRule ? \" (R) \":\"\").Append(\" : \");\n foreach (IClause clause in rule.Clauses)\n {\n dump.Append(clause.Dump()).Append(\" \");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "676c8c9dca2c4727355b939fc65ccbc901884a911d1ae0072e7296a4ccfba584" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1405, - "startColumn": 13, - "charOffset": 48247, - "charLength": 26, - "snippet": { - "text": "Func" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1403, - "startColumn": 1, - "charOffset": 48207, - "charLength": 264, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (ExpressionToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (ExpressionToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f28d7c41e8d11d93d0576691b67d99336cffd0d0822d895e7380bb1e501df1d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 904, - "startColumn": 17, - "charOffset": 31470, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 902, - "startColumn": 1, - "charOffset": 31346, - "charLength": 200, - "snippet": { - "text": " var width = tokens.Tokens.GetChannels().Select(x => x.Tokens.Count).Max();\n \n List headers = new List();\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "798d4e2863392d9c81dd13781dac1a14b780d3817e73f28d1cd30d3359810680" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 278, - "startColumn": 13, - "charOffset": 12186, - "charLength": 58, - "snippet": { - "text": "Dictionary>>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 276, - "startColumn": 1, - "charOffset": 12039, - "charLength": 349, - "snippet": { - "text": " IDictionary lexemes,List labels)> attributes) where IN : struct\n {\n Dictionary>> subLexers =\n new Dictionary>>();\n foreach (var attribute in attributes)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81a032102b6812a3ba28cfaee9c2b44cd532b9481bab60ac45a97e109affbf7e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/AbstractTransitionCheck.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 13, - "charOffset": 274, - "charLength": 10, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 200, - "charLength": 177, - "snippet": { - "text": " public static string ToEscaped(this char c)\n {\n List ToEscape = new List { '\"', '\\\\' };\n if (ToEscape.Contains(c))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d89e541bf65aef41007a11b3304a44160d3fb889b0e962986ab025cf8443f40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 13, - "charOffset": 3538, - "charLength": 18, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 3476, - "charLength": 191, - "snippet": { - "text": " {\n var foundRecursion = false;\n List> recursions = new List>();\n \n var (found,path) = FindRecursion(currentPath);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "918934ec275276fc042ba892abc6c39a73deeabf5f237da8f3751827ff4d8543" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 725, - "charLength": 36, - "snippet": { - "text": "ConcreteSyntaxTreeWalker" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 646, - "charLength": 239, - "snippet": { - "text": " Graph = new DotGraph(\"syntaxtree\", true);\n \n ConcreteSyntaxTreeWalker walker = new ConcreteSyntaxTreeWalker(this);\n var dot = walker.Visit(root);\n return dot;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b60f3f15fc5406a95db318e025b259a13da1049b48279155f4ad6a16aa2ace1c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 13, - "charOffset": 752, - "charLength": 23, - "snippet": { - "text": "Func" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 712, - "charLength": 252, - "snippet": { - "text": " };\n \n Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9112a4c856827e4a8d3d86e4e1c6d698ae9cd120c2064d1c79f0ac5b1e93e50" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 564, - "startColumn": 13, - "charOffset": 25994, - "charLength": 21, - "snippet": { - "text": "SyntaxParseResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 562, - "startColumn": 1, - "charOffset": 25937, - "charLength": 159, - "snippet": { - "text": " var currentPosition = position;\n\n SyntaxParseResult result = new SyntaxParseResult\n {\n IsError = true," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb9db86d50a448cd85b243cf958e701f479b87d903dcd4f55a994ce3db883655" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 33, - "charOffset": 1444, - "charLength": 15, - "snippet": { - "text": "NonTerminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 1267, - "charLength": 397, - "snippet": { - "text": " {\n InitStartingTokensForNonTerminal(nonTerminals, nonTerminalClause.NonTerminalName);\n NonTerminal nonTerminal = nonTerminals[nonTerminalClause.NonTerminalName];\n {\n rule.PossibleLeadingTokens.AddRange(nonTerminal.PossibleLeadingTokens);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c388cd2f5968560e4bb9baf7f64b5c8fa46ce051a3af34e48495e83f280dd5d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1410, - "startColumn": 13, - "charOffset": 48514, - "charLength": 28, - "snippet": { - "text": "List>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1408, - "startColumn": 1, - "charOffset": 48472, - "charLength": 183, - "snippet": { - "text": " \n \n List> newTokens = new List>();\n for (int i = 0; i < tokens.Count; i++)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5398f98671a5c0b1f89aaa3264335cf55f3781fc457b45f66fca4234289e538" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 263, - "startColumn": 13, - "charOffset": 9780, - "charLength": 22, - "snippet": { - "text": "FSMLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 261, - "startColumn": 1, - "charOffset": 9637, - "charLength": 223, - "snippet": { - "text": " private FSMLexer SetLexerMode(FSMMatch r, Stack> lexersStack)\n {\n FSMLexer LexerFsm = lexersStack.Peek();\n\n if (!r.IsEOS)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cbfa865d39463ab39cf6768be3fcef91348a6da8560be0f3e4539c72ae3b5e92" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 13, - "charOffset": 5329, - "charLength": 29, - "snippet": { - "text": "Stack>" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 5238, - "charLength": 264, - "snippet": { - "text": " public LexerResult Tokenize(ReadOnlyMemory source)\n {\n Stack> lexersStack = new Stack>();\n\n FSMLexer LexerFsm = SubLexersFsm[ModeAttribute.DefaultLexerMode];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cca9d7587f3cdcc03dc0965c44ab0267868a38c2bbeabe2cb26b0e1eafc20e86" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 866, - "startColumn": 13, - "charOffset": 30210, - "charLength": 37, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 864, - "startColumn": 1, - "charOffset": 30183, - "charLength": 273, - "snippet": { - "text": " }\n\n ParserBuilder builder = new ParserBuilder();\n var instance = new IndentedParser();\n var parserRes = builder.BuildParser(instance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0cb4853e25bc965e3dfde9e64c058cae446c4406ad0bc3715ed65c083906540" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 13, - "charOffset": 1719, - "charLength": 11, - "snippet": { - "text": "IClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1683, - "charLength": 183, - "snippet": { - "text": "\n int i = 0;\n IClause current = rule.Clauses[0] as IClause;\n var currentLefts = GetLeftClausesName(current);\n bool stopped = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5d371c6501eee40835bf0f58c9fc0bdce9f42d49a8d3721f825d11dbb57710e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 13, - "charOffset": 1642, - "charLength": 12, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1507, - "charLength": 199, - "snippet": { - "text": " public static List GetLeftClausesName(Rule rule, ParserConfiguration configuration)\n {\n List lefts = new List();\n\n int i = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7fa5373dd76eaf3eb997f2770fac0c24d04da276854f17edcb24c8f48d19fa8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 13, - "charOffset": 2671, - "charLength": 16, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2591, - "charLength": 233, - "snippet": { - "text": " List> others)\n {\n List parameters = new List();\n parameters.Add(first);\n parameters.AddRange(others.Select(x => x.Value(0)));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e14410b9e767c8a30291b612e384116349c8eed477b6f44835f94b7df9e183fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 978, - "startColumn": 13, - "charOffset": 33689, - "charLength": 37, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 976, - "startColumn": 1, - "charOffset": 33673, - "charLength": 262, - "snippet": { - "text": "\n\";\n ParserBuilder builder = new ParserBuilder();\n var instance = new IndentedParser();\n var parserRes = builder.BuildParser(instance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e93fb081368df7db14eb8079da317ed06370525d8a78d5d36f2c088813d7ec4e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1341, - "startColumn": 13, - "charOffset": 46235, - "charLength": 36, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1339, - "startColumn": 1, - "charOffset": 46170, - "charLength": 299, - "snippet": { - "text": " private static void TestIssue332()\n {\n ParserBuilder Parser = new ParserBuilder();\n Issue332Parser oparser = new Issue332Parser();\n var r = Parser.BuildParser(oparser,ParserType.EBNF_LL_RECURSIVE_DESCENT);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f69a0dd65d97f5ec072fed0fedf8e2006498734ea29e68eb65ca9262f4ccd294" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_Elsewhere", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (elsewhere)", - "markdown": "Use 'var' (elsewhere)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/PostProcessedLexerParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 870, - "charLength": 23, - "snippet": { - "text": "Func" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 740, - "charLength": 254, - "snippet": { - "text": " Func mayOmmitLeft = (FormulaToken tokenid) => mayLeft.Contains(tokenid);\n \n Func mayOmmitRight = (FormulaToken tokenid) => mayRight.Contains(tokenid);\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa0b692f1edea2cde2b60bb8541c0ab1d4a93c041f39b7481109de1f42b3f500" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1342, - "startColumn": 13, - "charOffset": 46337, - "charLength": 14, - "snippet": { - "text": "Issue332Parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1340, - "startColumn": 1, - "charOffset": 46213, - "charLength": 294, - "snippet": { - "text": " {\n ParserBuilder Parser = new ParserBuilder();\n Issue332Parser oparser = new Issue332Parser();\n var r = Parser.BuildParser(oparser,ParserType.EBNF_LL_RECURSIVE_DESCENT);\n Check.That(r).Not.IsOk();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b18ec361ae0a0ef27c7adfbd02a3f54b4e7b48159e06b1aa71d851338078274" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 13, - "charOffset": 2646, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2585, - "charLength": 204, - "snippet": { - "text": " public string Dump(string tab)\n {\n StringBuilder builder = new StringBuilder();\n string expressionSuffix = \"\";\n if (Operation != null && Operation.IsBinary)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15c3742764b708ae225302da3fce540b54c7a3d29972b652ccded106e58b5392" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 13, - "charOffset": 3540, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 3474, - "charLength": 112, - "snippet": { - "text": " public string ToJson(int index = 0)\n {\n StringBuilder builder = new StringBuilder();\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24dfe475bd8c69d03a83dafc505189d786df8a96f4c3677874bce43d663b8e0b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 782, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 728, - "charLength": 210, - "snippet": { - "text": " public string Compile()\n {\n StringBuilder builder = new StringBuilder();\n builder.Append(Directed ? \"digraph\" : \"graph\");\n builder.AppendLine($\" {GraphName} {{\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "261c9493dc8d52029ae318ecb2af4deaa3c731122f0573f387b5c5e301ebcd94" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 13, - "charOffset": 391, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 330, - "charLength": 195, - "snippet": { - "text": " public string Dump(string tab)\n {\n StringBuilder builder = new StringBuilder();\n string newTab = tab + \"\\t\";\n foreach (var statement in Statements)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2623fa2cdbbd466abb733efe914eb96c4859bf0a7772f60f8fd00fbe30521558" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 17, - "charOffset": 2397, - "charLength": 11, - "snippet": { - "text": "I18NMessage" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2351, - "charLength": 161, - "snippet": { - "text": " get\n {\n I18NMessage i18NMessage = I18NMessage.UnexpectedToken;\n if (UnexpectedToken.IsEOS)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "282e4a75146ad81979d281fe8493cea9e476cbd2ed83bae2cf8cdea9164d66b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/buildresult/BuildResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 17, - "charOffset": 1326, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1279, - "charLength": 199, - "snippet": { - "text": " else\n {\n StringBuilder error = new StringBuilder();\n error.AppendLine(\"parser is KO\");\n foreach (var initializationError in Errors)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b6ef8fd95a97bc48aa2bfc3bec3b6e9457e74342f958071fb9c5a329e53545b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GroupClause.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 13, - "charOffset": 923, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 872, - "charLength": 244, - "snippet": { - "text": " public string Dump()\n {\n StringBuilder dump = new StringBuilder();\n dump.Append(\"( \");\n dump.Append(Clauses.Select, string>(c => c.Dump()).Aggregate((d1, d2) => d1 + \" \" + d2));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3492736017794ff00f35d377398a4e2d763bc1d5a7db3d93ac9e23481e6e1bfe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForI.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 651, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 562, - "charLength": 176, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n StringBuilder builder = new StringBuilder();\n if (Start < End)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a43275547e25b073c8750376b0620d69075c5142652c7090e7a19aba1d827e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 995, - "startColumn": 13, - "charOffset": 34605, - "charLength": 14, - "snippet": { - "text": "indented.Block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 993, - "startColumn": 1, - "charOffset": 34508, - "charLength": 268, - "snippet": { - "text": " Assert.True(parseResult.IsOk);\n var ast = parseResult.Result;\n indented.Block root = ast as indented.Block;\n Assert.Single(root.Statements);\n Assert.IsAssignableFrom(root.Statements.First());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46b14f47fb31ec6b973d8b6fc1a518c080af6b34497d48ea38aff5d42ce1330a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 13, - "charOffset": 1604, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1540, - "charLength": 213, - "snippet": { - "text": " public override string ToString()\n {\n StringBuilder builder = new StringBuilder();\n builder.Append(\"#\").Append(ChannelId).Append(\" \");\n foreach (var token in Tokens)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "49011df7c4d2232c61e27066706f845c099e138afe7d1769099c933c4581012e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 13, - "charOffset": 1992, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1939, - "charLength": 170, - "snippet": { - "text": " return \"\";\n }\n StringBuilder builder = new StringBuilder();\n builder.Append(tab)\n .AppendLine(node.Label);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c8cc760415b98b226661ac4a02be9ef179f0e77eef5ac20bd71f596d38441bd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 28, - "charOffset": 1758, - "charLength": 12, - "snippet": { - "text": "StreamReader" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1677, - "charLength": 207, - "snippet": { - "text": " if (stream != null)\n {\n using (StreamReader reader = new StreamReader(stream))\n {\n string line = reader.ReadLine();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52c5a4dc5421ae031c50bf92eb9ba10b7c8458aeb0b640a4319b20d835b01bd8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 589, - "startColumn": 29, - "charOffset": 23599, - "charLength": 4, - "snippet": { - "text": "Type" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 587, - "startColumn": 1, - "charOffset": 23493, - "charLength": 294, - "snippet": { - "text": " case GroupClause group:\n {\n Type expected = typeof(Group);\n Type found = arg.ParameterType;\n result = CheckArgType(result, rule, expected, visitor, arg);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b34dc982e952470086f65445cc3321e2efd93387d989c8821d33da0fd9db52c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1287, - "startColumn": 13, - "charOffset": 44369, - "charLength": 17, - "snippet": { - "text": "GenericLexerTests" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1285, - "startColumn": 1, - "charOffset": 44309, - "charLength": 154, - "snippet": { - "text": " private static void Test177()\n {\n GenericLexerTests tests = new GenericLexerTests();\n tests.TestIssue177();\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61cc6013bfa578f1828c68f39a5dc1f15d38e349c8e6fca050cb6c08d00eeb13" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 518, - "startColumn": 17, - "charOffset": 19007, - "charLength": 2, - "snippet": { - "text": "IN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 516, - "startColumn": 1, - "charOffset": 18918, - "charLength": 115, - "snippet": { - "text": " NodeCallback callback = match =>\n {\n IN derivedToken = token;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65838fb438cbf3d4569d61b8c6572d2cb9f96847130a3be51de3505cca478954" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1159, - "startColumn": 13, - "charOffset": 40316, - "charLength": 9, - "snippet": { - "text": "Stopwatch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1157, - "startColumn": 1, - "charOffset": 40208, - "charLength": 218, - "snippet": { - "text": " var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();\n var result = parser.Parse(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68c638eff3e30faa11581e2172c5dbbc92118c82dcfbafb9eb608fc8604ec433" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 13, - "charOffset": 373, - "charLength": 4, - "snippet": { - "text": "Type" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 227, - "charLength": 252, - "snippet": { - "text": " var attributes =\n (CallBacksAttribute[]) typeof(IN).GetCustomAttributes(typeof(CallBacksAttribute), true);\n Type callbackClass = attributes[0].CallBacksClass;\n ExtractCallBacks(callbackClass,lexer);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6eca34032979ffd53b2939a701e51625fc1d77bc9fa905873e94cb9e6dce15aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 29, - "charOffset": 21464, - "charLength": 4, - "snippet": { - "text": "Type" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 21360, - "charLength": 243, - "snippet": { - "text": " {\n Type expected = null;\n Type found = arg.ParameterType;\n var innerClause = many.Clause;\n switch (innerClause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7685c568c447f8f516b030e2da0d4e7ee3438a481a0ff27159f2260027ce12c7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 13, - "charOffset": 856, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 805, - "charLength": 145, - "snippet": { - "text": " public string Dump()\n {\n StringBuilder dump = new StringBuilder();\n \n foreach (var rule in Rules)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8efa7472a2ba2ff3c6d69ebf20492f46ee33ee9fecbcbf60b1bf5103a03710a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 553, - "startColumn": 29, - "charOffset": 23483, - "charLength": 10, - "snippet": { - "text": "DateFormat" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 551, - "startColumn": 1, - "charOffset": 23386, - "charLength": 353, - "snippet": { - "text": " if (lexeme.IsDate)\n {\n DateFormat format = DateFormat.DDMMYYYY;\n if (lexeme.GenericTokenParameters != null && lexeme.GenericTokenParameters.Any() && !Enum.TryParse(lexeme.GenericTokenParameters[0], out format))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8efbd5258ebd2ed9e9c49b1bf0af3e4787f515808d9d4307005d2caf51d1ee0a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 765, - "charLength": 2, - "snippet": { - "text": "IN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 662, - "charLength": 193, - "snippet": { - "text": " public static IN ConvertStringToEnum(string name) where IN : struct\n {\n IN token = default(IN);\n if (!Enum.TryParse(name, out token))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9735f1c5a7eb9dcd86b2e1f4d242dceb231a0c7cba716b0adcc268feb19ee58c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IfThenElse.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 13, - "charOffset": 626, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 565, - "charLength": 188, - "snippet": { - "text": " public string Dump(string tab)\n {\n StringBuilder builder = new StringBuilder();\n builder.Append($\"{tab}IF\")\n .AppendLine(Cond.Dump(tab))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a073136b4866080c2bb2a6cdb14f4755efbe5f758ae1a2b457a803796053a2c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 590, - "startColumn": 29, - "charOffset": 23667, - "charLength": 4, - "snippet": { - "text": "Type" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 588, - "startColumn": 1, - "charOffset": 23545, - "charLength": 277, - "snippet": { - "text": " {\n Type expected = typeof(Group);\n Type found = arg.ParameterType;\n result = CheckArgType(result, rule, expected, visitor, arg);\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9fa6000cb90b11ea8a609d30b1a971867606e46bd7dffa4f124d2e89eb59cf8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 589, - "startColumn": 13, - "charOffset": 19896, - "charLength": 16, - "snippet": { - "text": "ErroneousGrammar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 587, - "startColumn": 1, - "charOffset": 19828, - "charLength": 173, - "snippet": { - "text": " \n Console.WriteLine(\"starting\");\n ErroneousGrammar parserInstance = new ErroneousGrammar();\n Console.WriteLine(\"new instance\");\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "adc805f7fd653df8c0f90640ade7dd73f65f17874ebfb8dba811bac98e90aeef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 13, - "charOffset": 2242, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 2191, - "charLength": 179, - "snippet": { - "text": " public string Dump()\n {\n StringBuilder dump = new StringBuilder();\n foreach (NonTerminal nonTerminal in NonTerminals.Values)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b18c8b0521294adbdf22062d588cdfce9aecccac918e8b94e2e5620bd156d6bc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 13, - "charOffset": 1459, - "charLength": 8, - "snippet": { - "text": "Assembly" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1368, - "charLength": 294, - "snippet": { - "text": " {\n var translation = new Dictionary();\n Assembly assembly = GetType().Assembly;\n var res = assembly.GetManifestResourceNames();\n using (var stream = assembly.GetManifestResourceStream($\"sly.i18n.translations.{lang}.txt\"))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b263250112384a7cc5877a4347717a0df6285b15d9c0ca04b535aef72ba434ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1088, - "startColumn": 13, - "charOffset": 37567, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1086, - "startColumn": 1, - "charOffset": 37486, - "charLength": 179, - "snippet": { - "text": " \n var channels = tokens.Tokens.GetChannels();\n StringBuilder b = new StringBuilder();\n foreach (var channel in channels)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b753b7fb4667f835a825312841adde6977ded79cca22b344ceb68279929bacb4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1145, - "startColumn": 13, - "charOffset": 39629, - "charLength": 9, - "snippet": { - "text": "Stopwatch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1143, - "startColumn": 1, - "charOffset": 39521, - "charLength": 218, - "snippet": { - "text": " var parser = buildResult.Result;\n string source = \"funcA(funcC(B==2));\";\n Stopwatch chrono = new Stopwatch();\n chrono.Start();\n var result = parser.Parse(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b83336cccac0fb063913ad3ca2681d8196fff765bfb5d526256fa5c68d3aff56" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/ForEach.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 13, - "charOffset": 623, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 534, - "charLength": 256, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n StringBuilder builder = new StringBuilder();\n object list = null;\n if (context.TryGetValue(ListName, out list) && list is IEnumerable enumerable)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9025e8955dc057a7ba15708358daccc2c16b213575febda920fc675e61997ed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 13, - "charOffset": 1556, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1450, - "charLength": 225, - "snippet": { - "text": " public string CompoundElement(string open, List subs, string close)\n {\n StringBuilder b = new StringBuilder();\n return $@\"tag({open}, {string.Join(\",\", subs)}, {close})\";\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd49cb4e84c64f8903a8b814d79fee75edaaedc1f55604592dedec281a79366d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 684, - "startColumn": 33, - "charOffset": 24963, - "charLength": 50, - "snippet": { - "text": "(IN tokenId, bool isPop, bool isPush, string mode)" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 682, - "startColumn": 1, - "charOffset": 24849, - "charLength": 254, - "snippet": { - "text": " {\n if (derived.TryGetValue(match.Result.Value,\n out (IN tokenId, bool isPop, bool isPush, string mode) derived2))\n {\n derivedToken = derived2.tokenId;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7e7ac72805af5b9b1455a452c0f71408d698d755efdb2efc8e99109e9a2acab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/transitioncheck/TransitionMultiRange.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 13, - "charOffset": 731, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 665, - "charLength": 149, - "snippet": { - "text": " public override string ToGraphViz()\n {\n StringBuilder builder = new StringBuilder();\n\n if (Precondition != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d615b995036a33a3ae5a5b8082588f6c73f15b170e83de7d0a1cdffe94ddb0bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 155, - "startColumn": 13, - "charOffset": 5555, - "charLength": 13, - "snippet": { - "text": "LexerPosition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 153, - "startColumn": 1, - "charOffset": 5411, - "charLength": 238, - "snippet": { - "text": " FSMLexer LexerFsm = SubLexersFsm[ModeAttribute.DefaultLexerMode];\n lexersStack.Push(LexerFsm);\n LexerPosition position = new LexerPosition();\n\n var tokens = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e48b1eb998642c00fc9e004331a517be3d6239c96d585d7da62b614f5f6c580a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 21, - "charOffset": 2152, - "charLength": 4, - "snippet": { - "text": "Enum" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 2071, - "charLength": 241, - "snippet": { - "text": " if (group.Count() > 1)\n {\n Enum enumValue = Enum.Parse(typeof(IN), v.ToString()) as Enum;\n int intValue = Convert.ToInt32(enumValue); // x is the integer value of enum\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8fda4156af02cec100d05a3cf86ef07239230759f978d8d470c02f20ba4dafd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 48, - "charOffset": 1166, - "charLength": 2, - "snippet": { - "text": "IN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1096, - "charLength": 96, - "snippet": { - "text": " {\n \n return Enum.TryParse(name, out IN token);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9f9f894bf6e38aa8c205f56eff9baf1accad793cd7dcf33689f3426033bcfc4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 479, - "startColumn": 13, - "charOffset": 15307, - "charLength": 9, - "snippet": { - "text": "EBNFTests" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 477, - "startColumn": 1, - "charOffset": 15248, - "charLength": 143, - "snippet": { - "text": " public static void test104()\n {\n EBNFTests tests = new EBNFTests();\n tests.TestGroupSyntaxOptionIsNone();\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea1fdff1e59f93a360cc65e740de6e6e19c1743ed63a5eade81ad27ee7f927bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 597, - "startColumn": 29, - "charOffset": 24007, - "charLength": 4, - "snippet": { - "text": "Type" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 595, - "startColumn": 1, - "charOffset": 23903, - "charLength": 245, - "snippet": { - "text": " {\n Type expected = null;\n Type found = arg.ParameterType;\n var innerClause = option.Clause;\n switch (innerClause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec6d5d19b98aa8ce32dd80dcdc3d858955068b5ea05f6df4346815b209db73b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/Block.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 13, - "charOffset": 465, - "charLength": 13, - "snippet": { - "text": "StringBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 376, - "charLength": 187, - "snippet": { - "text": " public string GetValue(Dictionary context)\n {\n StringBuilder builder = new StringBuilder();\n foreach (var item in Items)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f60d28586fec915fcc5aca7f21c5d721a3a1fec9d20ac5dd3ec138bf0f880cbf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SuggestVarOrType_SimpleTypes", - "kind": "fail", - "level": "note", - "message": { - "text": "Use 'var' (simple types)", - "markdown": "Use 'var' (simple types)" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 998, - "startColumn": 13, - "charOffset": 34789, - "charLength": 10, - "snippet": { - "text": "IfThenElse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 996, - "startColumn": 1, - "charOffset": 34650, - "charLength": 300, - "snippet": { - "text": " Assert.Single(root.Statements);\n Assert.IsAssignableFrom(root.Statements.First());\n IfThenElse ifthenelse = root.Statements.First() as indented.IfThenElse;\n Assert.NotNull(ifthenelse.Cond);\n Assert.NotNull(ifthenelse.Then);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fcb7b6280896b7248ac22735c0b2c74128605508716a0fc29e8ae07275cd08fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some values of the enum are not processed inside switch: Default, Date, KeyWord...", - "markdown": "Some values of the enum are not processed inside switch: Default, Date, KeyWord..." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 430, - "startColumn": 17, - "charOffset": 15731, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 428, - "startColumn": 1, - "charOffset": 15642, - "charLength": 186, - "snippet": { - "text": " NodeCallback callback = match =>\n {\n switch (match.Result.TokenID)\n {\n case GenericToken.Identifier:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0767151af6d0bbfa5f4a7acfb5f48e0d19ca1fc8bbb4f19595cff4925932a61c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some cases are not processed: default", - "markdown": "Some cases are not processed: default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 596, - "startColumn": 13, - "charOffset": 21848, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 594, - "startColumn": 1, - "charOffset": 21763, - "charLength": 156, - "snippet": { - "text": " .Transition(separator);\n var repetitions = 2;\n switch (format)\n {\n case DateFormat.DDMMYYYY:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d7a26ab032ee46ba1056317cf8b87de13bf080e8178ece9c8ade9a4cd4c0ad6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some cases are not processed: default", - "markdown": "Some cases are not processed: default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 13, - "charOffset": 2155, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 2039, - "charLength": 203, - "snippet": { - "text": " Parser parser = null;\n var result = new BuildResult>();\n switch (parserType)\n {\n case ParserType.LL_RECURSIVE_DESCENT:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "45af28d364f5be0309ffea4b057335e1552dc3d078336aef4180eb8a517b8a1f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some values of the enum are not processed inside switch: EBNF_LL_RECURSIVE_DESCENT", - "markdown": "Some values of the enum are not processed inside switch: EBNF_LL_RECURSIVE_DESCENT" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 13, - "charOffset": 5581, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 5509, - "charLength": 159, - "snippet": { - "text": " {\n ISyntaxParser parser = null;\n switch (parserType)\n {\n case ParserType.LL_RECURSIVE_DESCENT:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fbdb087404b39cadae5b332a3bf5066f989bea19e98acae8d241464a7668b71" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some cases are not processed: default", - "markdown": "Some cases are not processed: default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 655, - "startColumn": 13, - "charOffset": 23968, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 653, - "startColumn": 1, - "charOffset": 23866, - "charLength": 173, - "snippet": { - "text": " FSMBuilder.Transition(separator, checkDate);\n var repetitions = 2;\n switch (format)\n {\n case DateFormat.DDMMYYYY:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89a8ef152e538a9fb950c6eb04d8b06ec344529f8bba969fef5beac545ba59d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some values of the enum are not processed inside switch: CONCAT, default", - "markdown": "Some values of the enum are not processed inside switch: CONCAT, default" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 85, - "startColumn": 13, - "charOffset": 2576, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 83, - "startColumn": 1, - "charOffset": 2449, - "charLength": 199, - "snippet": { - "text": " emiter = Left.EmitByteCode(context, emiter);\n emiter = Right.EmitByteCode(context, emiter);\n switch (Operator)\n {\n case BinaryOperator.ADD:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b239f4b1f058ba33f65f700a153a8da7e6d9d97a839792489382bd4328fcb85" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", - "kind": "fail", - "level": "note", - "message": { - "text": "Some values of the enum are not processed inside switch: Default, Double, Date...", - "markdown": "Some values of the enum are not processed inside switch: Default, Double, Date..." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 469, - "startColumn": 13, - "charOffset": 17238, - "charLength": 6, - "snippet": { - "text": "switch" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 467, - "startColumn": 1, - "charOffset": 17210, - "charLength": 97, - "snippet": { - "text": " };\n\n switch (generic)\n {\n case GenericToken.Int:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b06207b749a3fd353a8bd9a56788a4445088ee0fb71d0b336b3ce466d3885518" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TailRecursiveCall", - "kind": "fail", - "level": "note", - "message": { - "text": "Tail recursive call can be replaced with loop", - "markdown": "Tail recursive call can be replaced with loop" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 28, - "charOffset": 944, - "charLength": 18, - "snippet": { - "text": "GetLeftClausesName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 814, - "charLength": 270, - "snippet": { - "text": " return Lst(nonTerminal.NonTerminalName);\n case ManyClause many:\n return GetLeftClausesName(many.Clause);\n case OptionClause option:\n return GetLeftClausesName(option.Clause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c6ad4d8b299a447ae113eb3720a8afa3343aae9e7e6b9f8435ee533e5566493" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TailRecursiveCall", - "kind": "fail", - "level": "note", - "message": { - "text": "Tail recursive call can be replaced with loop", - "markdown": "Tail recursive call can be replaced with loop" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 28, - "charOffset": 1050, - "charLength": 18, - "snippet": { - "text": "GetLeftClausesName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 917, - "charLength": 365, - "snippet": { - "text": " return GetLeftClausesName(many.Clause);\n case OptionClause option:\n return GetLeftClausesName(option.Clause);\n case ChoiceClause choice when choice.IsNonTerminalChoice:\n return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "80528c8664fb25d9277a31ea1a53ab6e6cd28955223a29c71bb4226447ca2c76" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TailRecursiveCall", - "kind": "fail", - "level": "note", - "message": { - "text": "Tail recursive call can be replaced with loop", - "markdown": "Tail recursive call can be replaced with loop" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 28, - "charOffset": 1354, - "charLength": 18, - "snippet": { - "text": "GetLeftClausesName" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 1163, - "charLength": 318, - "snippet": { - "text": " return choice.Choices.SelectMany, string>(x => GetLeftClausesName(x)).ToList();\n case GroupClause group:\n return GetLeftClausesName(group.Clauses.First>());\n default:\n return new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "922c8c467c3246a2fea1c6a34cf7e8b607c257a0914ceed08cd4bbe9ef91c1d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'currentColumn' can be declared in inner scope", - "markdown": "Local variable 'currentColumn' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 17, - "charOffset": 1058, - "charLength": 13, - "snippet": { - "text": "currentColumn" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 949, - "charLength": 213, - "snippet": { - "text": " //List> tokens = new List>();\n var currentLine = 1;\n var currentColumn = 0;\n var currentLineStartIndex = 0;\n Token previousToken = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0829998324e888b72f0cd64cc3d73d6c1ebcedb1869e98afc0c2ad9c2c0f1a17" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'expressionSuffix' can be declared in inner scope", - "markdown": "Local variable 'expressionSuffix' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/SyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 20, - "charOffset": 2710, - "charLength": 16, - "snippet": { - "text": "expressionSuffix" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2624, - "charLength": 179, - "snippet": { - "text": " {\n StringBuilder builder = new StringBuilder();\n string expressionSuffix = \"\";\n if (Operation != null && Operation.IsBinary)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "240adea8a5bb7860767ad0e013cc4b5e561cd3f33564437ccfebf624a424294e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'BenchedLexer' can be declared in inner scope", - "markdown": "Local variable 'BenchedLexer' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 541, - "startColumn": 38, - "charOffset": 17751, - "charLength": 12, - "snippet": { - "text": "BenchedLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 539, - "startColumn": 1, - "charOffset": 17616, - "charLength": 203, - "snippet": { - "text": "\n var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());\n ILexer BenchedLexer = null;\n if (lexerRes != null)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3327a493572ff3db442740b25cd25dc1e0397d6617da6ec4a36107685f432b47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'uIndentCount' can be declared in inner scope", - "markdown": "Local variable 'uIndentCount' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 300, - "startColumn": 21, - "charOffset": 9281, - "charLength": 12, - "snippet": { - "text": "uIndentCount" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 298, - "startColumn": 1, - "charOffset": 9173, - "charLength": 166, - "snippet": { - "text": " var currentIndentations = lexerPosition.Indentations.ToList();\n\n int uIndentCount = 0;\n\n int indentPosition = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3756cdfae5225e94fa68b30afa361bb2b2efae015c5f5e24e136baac2adad271" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'thirdResult' can be declared in inner scope", - "markdown": "Local variable 'thirdResult' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 235, - "startColumn": 47, - "charOffset": 11101, - "charLength": 11, - "snippet": { - "text": "thirdResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 233, - "startColumn": 1, - "charOffset": 10931, - "charLength": 285, - "snippet": { - "text": " currentPosition = secondResult.EndingPosition;\n var third = rule.Clauses[2];\n SyntaxParseResult thirdResult;\n if (third is NonTerminalClause thirdNonTerminal)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "48c005c1fede7b87519a650c23e429af7a0de234540e78040dcbb0e430769d5a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'rule' can be declared in inner scope", - "markdown": "Local variable 'rule' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 21, - "charOffset": 6286, - "charLength": 4, - "snippet": { - "text": "rule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 6223, - "charLength": 149, - "snippet": { - "text": " {\n var nt = \"\";\n var rule = \"\";\n var i = ruleString.IndexOf(\":\");\n if (i > 0)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74cd1d1fb4fb776731db85ea1122ebe96a43565c8ea46b29e4e715a8b369bc2c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'method' can be declared in inner scope", - "markdown": "Local variable 'method' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 202, - "startColumn": 32, - "charOffset": 6233, - "charLength": 6, - "snippet": { - "text": "method" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 200, - "startColumn": 1, - "charOffset": 6163, - "charLength": 130, - "snippet": { - "text": " else\n {\n MethodInfo method = null;\n try\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5d7fbb870b41521194d1cfc8bc2c1dca5e1f6fb89d4d153b38e25338ea19004" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "TooWideLocalVariableScope", - "kind": "fail", - "level": "note", - "message": { - "text": "Local variable 'nt' can be declared in inner scope", - "markdown": "Local variable 'nt' can be declared in inner scope" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 172, - "startColumn": 21, - "charOffset": 6257, - "charLength": 2, - "snippet": { - "text": "nt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 170, - "startColumn": 1, - "charOffset": 6187, - "charLength": 158, - "snippet": { - "text": " if (ruleString != null)\n {\n var nt = \"\";\n var rule = \"\";\n var i = ruleString.IndexOf(\":\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f46a26e511a404f00ffd84aa99968a34ad11e9d57030baf073e4562dbde9bc44" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnassignedField.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Field 'doubleDerivedToken' is never assigned", - "markdown": "Field 'doubleDerivedToken' is never assigned" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 85, - "startColumn": 22, - "charOffset": 2993, - "charLength": 18, - "snippet": { - "text": "doubleDerivedToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 83, - "startColumn": 1, - "charOffset": 2944, - "charLength": 119, - "snippet": { - "text": " derivedTokens;\n\n protected IN doubleDerivedToken;\n protected char EscapeStringDelimiterChar;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3831fa8b7acb918db5dcd0416c8d52a6cceaa8e1796ef72131fb64fc7e771119" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'PositionInTokenVisibleFlow.get' is never used", - "markdown": "Auto-property accessor 'PositionInTokenVisibleFlow.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 169, - "startColumn": 49, - "charOffset": 5098, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 167, - "startColumn": 1, - "charOffset": 4997, - "charLength": 174, - "snippet": { - "text": " public LexerPosition Position { get; set; }\n\n public int PositionInTokenVisibleFlow { get; set; }\n \n public int PositionInTokenFlow { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1281b5c3f36bfeddb07d1fb6b8c1a88dbd0f4b2f9d06d249809586b0289f9954" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsStart.get' is never used", - "markdown": "Auto-property accessor 'IsStart.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 33, - "charOffset": 310, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 226, - "charLength": 201, - "snippet": { - "text": " internal bool IsEnd { get; set; } = false;\n\n internal bool IsStart { get; set; } = false;\n public string Mark { get; internal set; }\n public bool IsLineEnding { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a7ceed180e557809d55812ca1f5e743d0612530d762953b4b0f8bcdd1c8ff95" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'DateTimeValue.get' is never used", - "markdown": "Auto-property accessor 'DateTimeValue.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 234, - "startColumn": 41, - "charOffset": 6846, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 232, - "startColumn": 1, - "charOffset": 6784, - "charLength": 103, - "snippet": { - "text": "\n [JsonIgnore]\n public DateTime DateTimeValue { get; set; }\n \n [JsonIgnore]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ab9a50d734cadfedec417f8e6fc4cc9b15bca1bb82db3da8182c21cb94d1a57" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsObject.set' is never used", - "markdown": "Auto-property accessor 'IsObject.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 45, - "charOffset": 165, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 84, - "charLength": 186, - "snippet": { - "text": " public abstract class JSon\n {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e367ddcdd0b918f46983feb234c60a19ea8ec6813e3a2782d10c36d5a83faf3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsSubRule.get' is never used", - "markdown": "Auto-property accessor 'IsSubRule.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/NonTerminal.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 33, - "charOffset": 591, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 508, - "charLength": 261, - "snippet": { - "text": " public List> Rules { get; set; }\n\n public bool IsSubRule { get; set; }\n\n public List> PossibleLeadingTokens => Rules.SelectMany, LeadingToken>(r => r.PossibleLeadingTokens).ToList>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c7f6acbda2cd681263c77abe2205cabe0d89d43d91c08d5789901e413af88b7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'SyntaxTree.get' is never used", - "markdown": "Auto-property accessor 'SyntaxTree.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseResult.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 45, - "charOffset": 301, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 208, - "charLength": 147, - "snippet": { - "text": " public OUT Result { get; set; }\n \n public ISyntaxNode SyntaxTree { get; set; }\n\n public bool IsError { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f03d123ffb843dd4ea651740f3c2f0c737869463032ebc09a86408c90134236" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'SyntaxParseCallback.set' is never used", - "markdown": "Auto-property accessor 'SyntaxParseCallback.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 67, - "charOffset": 410, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 284, - "charLength": 227, - "snippet": { - "text": " public class Parser where IN : struct\n { \n public Action> SyntaxParseCallback { get; set; }\n\n public Dictionary> LexemeLabels => Lexer.LexemeLabels;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36070a6bb27d35c28110e3370f7934237e858aa30996938fe33cafcb025b1bd1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Position.get' is never used", - "markdown": "Auto-property accessor 'Position.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Not.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 41, - "charOffset": 380, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 293, - "charLength": 175, - "snippet": { - "text": " public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }\n public string GetValue(Dictionary context)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "377b9a83ea61d082a535af7588a3798a06fa5ce419addff0e6db9c1e9111f94c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'MultiLineCommentStart.get' is never used", - "markdown": "Auto-property accessor 'MultiLineCommentStart.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 129, - "startColumn": 47, - "charOffset": 4736, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 127, - "startColumn": 1, - "charOffset": 4635, - "charLength": 169, - "snippet": { - "text": " public string SingleLineComment { get; set; }\n\n public string MultiLineCommentStart { get; set; }\n\n public string MultiLineCommentEnd { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4db4018b2af8729f9875335e846a0569b321b2c2dfe5cdb79a7a06447036686a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Position.get' is never used", - "markdown": "Auto-property accessor 'Position.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/StringConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 41, - "charOffset": 395, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 353, - "charLength": 55, - "snippet": { - "text": "\n\n public LexerPosition Position { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5918e5afee6b70e615ee7e98a2d0a6d33ef444de1ae3acc380b7f8a15d5168c6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'SingleLineComment.get' is never used", - "markdown": "Auto-property accessor 'SingleLineComment.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 127, - "startColumn": 43, - "charOffset": 4677, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 125, - "startColumn": 1, - "charOffset": 4624, - "charLength": 123, - "snippet": { - "text": " }\n\n public string SingleLineComment { get; set; }\n\n public string MultiLineCommentStart { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65ca61c5d88b246c2fc984a56eda43d495ab9b3a8983233f032d82713ed494b9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsString.get' is never used", - "markdown": "Auto-property accessor 'IsString.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMMatch.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 32, - "charOffset": 222, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 128, - "charLength": 168, - "snippet": { - "text": " public Dictionary Properties { get; }\n\n public bool IsString { get; set; }\n \n public char StringDelimiterChar { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "683bbce111102117bc17656ae9889a516de49c9aaf2fb4e75524e91093376164" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsList.set' is never used", - "markdown": "Auto-property accessor 'IsList.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 43, - "charOffset": 214, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 115, - "charLength": 204, - "snippet": { - "text": " {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8950d13f3fbe49f20a70b0491cf213f548649347436392f21c74797a7a3af4b1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsValue.set' is never used", - "markdown": "Auto-property accessor 'IsValue.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 44, - "charOffset": 264, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 121, - "charLength": 207, - "snippet": { - "text": " public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3062011f07a014e1c5c692857d957138cac4a92c7dd028748e31803c054493d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'ErrorType.get' is never used", - "markdown": "Auto-property accessor 'ErrorType.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 46, - "charOffset": 243, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 164, - "charLength": 225, - "snippet": { - "text": " public class ParseError\n {\n public virtual ErrorType ErrorType { get; protected set; }\n public virtual int Column { get; protected set; }\n public virtual string ErrorMessage { get; protected set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7236127e1156006a00f7abe723f3f10095362e0fc87427c877668e2aae1fb2d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'AggregateEOL.get' is never used", - "markdown": "Auto-property accessor 'AggregateEOL.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 36, - "charOffset": 1435, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1355, - "charLength": 143, - "snippet": { - "text": " public bool IgnoreEOL { get; set; }\n\n public bool AggregateEOL { get; set; }\n\n public bool IndentationAware { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b19631dc44a1d6065226d03691abe9d3c68cb6cd43a9c2d4c4798659d6370eec" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'End.get' is never used", - "markdown": "Auto-property accessor 'End.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 270, - "startColumn": 27, - "charOffset": 7917, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 268, - "startColumn": 1, - "charOffset": 7889, - "charLength": 95, - "snippet": { - "text": "\n\n public bool End { get; set; }\n \n public bool IsLineEnding { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b529726e64537759b45e6e6394ff0f9983fe3a6e791bf8bef6600e16f06c4b0b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Modes.get' is never used", - "markdown": "Auto-property accessor 'Modes.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 42, - "charOffset": 1360, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1241, - "charLength": 141, - "snippet": { - "text": " KeyWordIgnoreCase ? StringComparer.OrdinalIgnoreCase : null;\n\n public IList Modes { get; set; }\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9c5283b2135aad08215f3ad13695336e54595fe5c67fadd725f449a1dec41fa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Configuration.get' is never used", - "markdown": "Auto-property accessor 'Configuration.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 61, - "charOffset": 4640, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 4520, - "charLength": 212, - "snippet": { - "text": " public object ParserVsisitorInstance { get; set; }\n\n public ParserConfiguration Configuration { get; set; }\n\n public OUT VisitSyntaxTree(ISyntaxNode root, object context = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c281fd3f6236c860c8f2c9598a13c4814895915e36145a3d29c695b3b2c566fa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsEOL.set' is never used", - "markdown": "Auto-property accessor 'IsEOL.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 192, - "startColumn": 34, - "charOffset": 5719, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 190, - "startColumn": 1, - "charOffset": 5630, - "charLength": 149, - "snippet": { - "text": " public bool IsWhiteSpace { get; set; }\n \n public bool IsEOL { get; set; }\n \n public bool IsExplicit { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d47267c0402b275b31c6d83a4f349c5331243be924a8f29505017262fb56a067" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Position.get' is never used", - "markdown": "Auto-property accessor 'Position.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 41, - "charOffset": 390, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 310, - "charLength": 93, - "snippet": { - "text": " public int Value { get; set; }\n\n public LexerPosition Position { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4f3c883b33fae4cb393c0aaec31c0f2edbef744594b24c467f4e3e56ab46d56" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsNull.set' is never used", - "markdown": "Auto-property accessor 'IsNull.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 43, - "charOffset": 313, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 172, - "charLength": 162, - "snippet": { - "text": " public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n \n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eba7abeaf2d88691b1fe5cadc1da09208786707e75de855d7e8a2b882d31b2aa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Position.set' is never used", - "markdown": "Auto-property accessor 'Position.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Variable.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 46, - "charOffset": 321, - "charLength": 4, - "snippet": { - "text": "set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 239, - "charLength": 90, - "snippet": { - "text": " public string Name { get; }\n\n public LexerPosition Position { get; set; }\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed2ab5f9030ca1526d626568a0fd35658ab23f1457561a95314fec748b38635a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'ErrorMessage.set' is never used", - "markdown": "Auto-property accessor 'ErrorMessage.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 51, - "charOffset": 373, - "charLength": 14, - "snippet": { - "text": "protected set;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 198, - "charLength": 248, - "snippet": { - "text": " public virtual ErrorType ErrorType { get; protected set; }\n public virtual int Column { get; protected set; }\n public virtual string ErrorMessage { get; protected set; }\n public virtual int Line { get; protected set; }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0dc84407338be41e3daff82fd4392447b3fdf2406c0cb2925c2b76a39f2cae5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'TargetMode.get' is never used", - "markdown": "Auto-property accessor 'TargetMode.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/PopAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 36, - "charOffset": 165, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 82, - "charLength": 138, - "snippet": { - "text": " public class PopAttribute : Attribute\n {\n public string TargetMode { get; }\n\n public PopAttribute(string mode = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f44d8a59974f18d43edc40e3d1567df6802ea8e4bf32d071f1d0251ae2f2efdd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Global", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'Position.get' is never used", - "markdown": "Auto-property accessor 'Position.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/Neg.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 41, - "charOffset": 366, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 279, - "charLength": 108, - "snippet": { - "text": " public Expression Value { get; set; }\n\n public LexerPosition Position { get; set; }\n\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "feb59b056c98621315457fe6569aaf56d9707054bde6a187b29dd3f51664946d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedAutoPropertyAccessor.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Auto-property accessor 'IsQuiet.get' is never used", - "markdown": "Auto-property accessor 'IsQuiet.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 296, - "startColumn": 32, - "charOffset": 9402, - "charLength": 4, - "snippet": { - "text": "get;" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 294, - "startColumn": 1, - "charOffset": 9360, - "charLength": 155, - "snippet": { - "text": " }\n\n private bool IsQuiet { get; }\n\n public WhileType CheckBinaryOperationTyping(BinaryOperator oper, WhileType left, WhileType right)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dce5705af19461daf9885b3f38e5faee03101d6145769b55d8e2e76a564131e1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 229, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 151, - "charLength": 139, - "snippet": { - "text": " {\n [Lexeme(GenericToken.Identifier, IdentifierType.Alpha)]\n ID = 1,\n\n [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "003112dc678fbd15dcea965fba1b77265497d99741390ff34c007e4116f31875" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 679, - "charLength": 3, - "snippet": { - "text": "Add" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 648, - "charLength": 84, - "snippet": { - "text": " }\n\n public void Add(JSon item)\n {\n Items.Add(item);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0079b23ee90a8aabf584f9aed70f076142a70529c9a497aac929ed29220915d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Indexer 'this' is never used", - "markdown": "Indexer 'this' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 26, - "charOffset": 1260, - "charLength": 4, - "snippet": { - "text": "this" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1224, - "charLength": 97, - "snippet": { - "text": " }\n\n public Token this[int index]\n {\n get => GetToken(index);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "00b9c9bbdc863c33e502941a83bdc998dfaca5832cd27fac35fb2cf892bfb511" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 125, - "startColumn": 9, - "charOffset": 2804, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 123, - "startColumn": 1, - "charOffset": 2747, - "charLength": 111, - "snippet": { - "text": "\n [Keyword( \"FALSE\")] [Keyword( \"false\")]\n FALSE = 8,\n\n [Keyword( \"NOT\")] [Keyword(\"not\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "00cdec0dbb8c6b7fc7b6b01664ad1238a4c05eba5aecbaaeca0096c72d7a6178" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryIdentifier' is never used", - "markdown": "Method 'PrimaryIdentifier' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 27, - "charOffset": 404, - "charLength": 17, - "snippet": { - "text": "PrimaryIdentifier" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 333, - "charLength": 192, - "snippet": { - "text": "\n [Production(\"primary: IDENTIFIER\")]\n public Expression PrimaryIdentifier(Token idToken)\n {\n return new Variable(idToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01a5ec86898704dda84e021407f629d3945d1223b09ef58c8b72b27431525b9d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 21, - "charOffset": 2180, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2111, - "charLength": 131, - "snippet": { - "text": "\n [Production(\"object: ACCG[d] ACCD[d]\")]\n public JSon EmptyObjectValue()\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01ef5cb25e6937f0db2826b9d7aaf79d7ab33e3ebd424f75933e6dad214c4c98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsMany' is never used", - "markdown": "Method 'ListElementsMany' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 21, - "charOffset": 3097, - "charLength": 16, - "snippet": { - "text": "ListElementsMany" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3013, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "022af1ff547332aaa0a354979a097e725332b031ce7fd25a172a76d4d400f7e7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 36, - "charOffset": 1040, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 953, - "charLength": 97, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "025caa411a8e12321ef23343f8161034b83a299feac7f87e0a9ddd50589b72a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 23, - "charOffset": 821, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 759, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02a4d5ffb5f2f7b68b53ba2ae565b754571c488bcfb4dd3a6cd742597a3b3ee3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 23, - "charOffset": 3771, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3688, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "02dd59b5adaf2a2bc28d9003ef2a29edec250c3ae5576a2cdfee4d1dccbcb87b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NOT_A_TOKEN' is never used", - "markdown": "Enum member 'NOT_A_TOKEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 140, - "charLength": 11, - "snippet": { - "text": "NOT_A_TOKEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 125, - "charLength": 64, - "snippet": { - "text": " {\n\n NOT_A_TOKEN = 0,\n \n [Sugar(\" \",28)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "037b3b2cc468d356f5083dc074ccb3dc96b657cd4f33db1a829f0384d6e132d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 21, - "charOffset": 2646, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2566, - "charLength": 139, - "snippet": { - "text": "\n [Production(\"list: CROG[d] listElements CROD[d]\")]\n public JSon List(JList elements)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "03e2074ff67db3c8dca7c4bd290f86046cc829484028a5a0dfbcb3dd179ae294" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsInt' is never used", - "markdown": "Property 'IsInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 303, - "charLength": 5, - "snippet": { - "text": "IsInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 233, - "charLength": 142, - "snippet": { - "text": " public bool IsString => value is string;\n\n public bool IsInt => value is int;\n\n public bool IsDouble => value is double;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "040904a789693d4ffb2df5e143e783f8e0cfb833a42d29af3bc6fa88643349df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPTION' is never used", - "markdown": "Enum member 'OPTION' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 9, - "charOffset": 946, - "charLength": 6, - "snippet": { - "text": "OPTION" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 883, - "charLength": 131, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"?\")]\n OPTION = 6,\n \n [Lexeme(GenericToken.SugarToken,\"[d]\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "041f9a63a8f53e51019cd55a7c2de809fcc9c1a7a968d6e47b9878d17df534c0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ifthenelse' is never used", - "markdown": "Method 'ifthenelse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 20, - "charOffset": 1193, - "charLength": 10, - "snippet": { - "text": "ifthenelse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1098, - "charLength": 234, - "snippet": { - "text": " \n [Production(\"ifthenelse: IF cond block (ELSE[d] block)?\")]\n public Ast ifthenelse(Token si, Cond cond, Block thenblk, ValueOption> elseblk)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0425b1621021f6b36e36e58ca32a5025b64ad9f0ce8eb74913183eed30bb2616" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 668, - "charLength": 3, - "snippet": { - "text": "Add" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 637, - "charLength": 84, - "snippet": { - "text": " }\n\n public void Add(JSon item)\n {\n Items.Add(item);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0498a2688b7769ba0a509ab539263b49e666062b36ef826de9bb0393770afd42" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 39, - "charOffset": 1572, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1474, - "charLength": 156, - "snippet": { - "text": " [Lexeme(GenericToken.Identifier)] IDENTIFIER = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0514e21bd3564c5818fec7658cb649e11053d196f0b9670ba3fc3292a0e08472" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 28, - "charOffset": 205, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 73, - "charLength": 218, - "snippet": { - "text": " [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "053a981ef776cdb0dabda6524a7ecf3addcb93c36026ddc30b92aee5ed40d099" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 21, - "charOffset": 2014, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1957, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05656909fac5ab9574ad87b209a653a0e13f83c0bc1ed6aad03e226573d9be05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 21, - "charOffset": 2069, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2009, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0584be14938fd543e9bb407ed54a7fa112cdfd6becb98a4a615f6ee16df6b7c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LBEG' is never used", - "markdown": "Enum member 'LBEG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 496, - "charLength": 4, - "snippet": { - "text": "LBEG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 424, - "charLength": 147, - "snippet": { - "text": " ID = 5,\n [Lexeme(GenericToken.SugarToken,\"|B|\")]\n LBEG = 6,\n [Lexeme(GenericToken.SugarToken,\"|E|\")]\n LEND = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05c9b0d263b7622b3c6d2330cd14182811ffcda6f7903b87fd17bdc1c960555b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SEMICOLON' is never used", - "markdown": "Enum member 'SEMICOLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 48, - "charOffset": 2544, - "charLength": 9, - "snippet": { - "text": "SEMICOLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2436, - "charLength": 125, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 51,\n\n [Lexeme(GenericToken.SugarToken, \";\")] SEMICOLON = 52,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05ef30863d3861295a774176d5d471a58d247404aa9db6fa682f48ea5afc8dd8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PRINT' is never used", - "markdown": "Enum member 'PRINT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 9, - "charOffset": 1406, - "charLength": 5, - "snippet": { - "text": "PRINT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1309, - "charLength": 128, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"PRINT\")] [Lexeme(GenericToken.KeyWord, \"print\")]\n PRINT = 12,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0624a213133c3819f6bd857e81e76548b0c9e49324f44df78983fcd1c613fff3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Operand' is never used", - "markdown": "Method 'Operand' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 142, - "startColumn": 27, - "charOffset": 4897, - "charLength": 7, - "snippet": { - "text": "Operand" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 140, - "startColumn": 1, - "charOffset": 4812, - "charLength": 144, - "snippet": { - "text": " [Operand]\n [Production(\"operand: primary\")]\n public Expression Operand(Expression prim)\n {\n return prim;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "068e5bfa41ebdc4a9465c35e0c305a164719f9721dcb8a241638773cf7208011" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Rec' is never used", - "markdown": "Method 'Rec' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 122, - "startColumn": 30, - "charOffset": 2909, - "charLength": 3, - "snippet": { - "text": "Rec" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 120, - "startColumn": 1, - "charOffset": 2811, - "charLength": 163, - "snippet": { - "text": " [Production(\"Rec : r Rec \")]\n [Production(\"Rec : \")]\n public static object Rec(List args)\n {\n if (args.Count == 2)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "06917deeb8c1cab330623df091e7bba2a695b5c9841e21fb270925d0c4fecfd5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 131, - "startColumn": 21, - "charOffset": 3452, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 129, - "startColumn": 1, - "charOffset": 3387, - "charLength": 143, - "snippet": { - "text": "\n [Production(\"listElements: value\")]\n public JSon ListElementsOne(JSon element)\n {\n return new JList(element);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "077b03c04a23af8227d67744e7358fe08a6f4b01d46ac33e4a3e4a4de0934b4c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'NotNullTokens' is never used", - "markdown": "Property 'NotNullTokens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 32, - "charOffset": 273, - "charLength": 13, - "snippet": { - "text": "NotNullTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 193, - "charLength": 249, - "snippet": { - "text": " public readonly List> Tokens;\n\n public List> NotNullTokens => Tokens.Where(x => x != null).ToList();\n \n public List> NotNullOrEosTokens => Tokens.Where(x => x != null && !x.IsEOS).ToList(); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "078a4df7e419e4103fa77ac56fd4a13bb515a5157b2166eba2b8772329b163c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryAndExpression' is never used", - "markdown": "Method 'binaryAndExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 247, - "startColumn": 25, - "charOffset": 8422, - "charLength": 19, - "snippet": { - "text": "binaryAndExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 245, - "startColumn": 1, - "charOffset": 8302, - "charLength": 271, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07bfb1b7c219d0ae33da4372d32fd6cc45a256dcd1fc7583138be3952f797f1d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'MINUS' is never used", - "markdown": "Enum member 'MINUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 23, - "charOffset": 3572, - "charLength": 5, - "snippet": { - "text": "MINUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 3516, - "charLength": 69, - "snippet": { - "text": " [Sugar( \"+\")] PLUS = 36,\n\n [Sugar( \"-\")] MINUS = 37,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07c5452f87cfed094780b4e617228b24cc9d050483c8ada0273b81d248f232ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 25, - "charOffset": 389, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 299, - "charLength": 166, - "snippet": { - "text": " [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07ca57978c674e055026b64859ea4ed4972150b07fe9be599f990c0b8dd0ddd9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JList' is never used", - "markdown": "Constructor 'JList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 198, - "charLength": 5, - "snippet": { - "text": "JList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 172, - "charLength": 82, - "snippet": { - "text": " }\n\n public JList(List lst)\n {\n Items = lst;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08467470f8ae8e858c5c5608c10e80b5d245786b7c3c8fce0ce949c05e20e981" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 715, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 652, - "charLength": 128, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\":\")]\n COLON = 2,\n \n [Lexeme(GenericToken.SugarToken,\"*\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "087df167c26d5b03b5e53cc04fa2b7481aed326a7491215410f4894b57803736" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FirstRecurse2' is never used", - "markdown": "Method 'FirstRecurse2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1605, - "startColumn": 23, - "charOffset": 54558, - "charLength": 13, - "snippet": { - "text": "FirstRecurse2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1603, - "startColumn": 1, - "charOffset": 54472, - "charLength": 179, - "snippet": { - "text": " \n [Production(\"first : second? third COMMA[d]\")]\n public object FirstRecurse2(ValueOption optSecond, object third)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08a17a458fac9f0b1b9b91d4b6633f723a865f35130708e4d9cfd1d9c9f23f22" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 21, - "charOffset": 1887, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1827, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0986fb99bb6fb65ae37585ce7d01f0d13b7893544fc11601d96aef0f3a8c545b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SKIP' is never used", - "markdown": "Enum member 'SKIP' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 9, - "charOffset": 789, - "charLength": 4, - "snippet": { - "text": "SKIP" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 694, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"SKIP\")] [Lexeme(GenericToken.KeyWord, \"skip\")]\n SKIP = 6,\n\n [Lexeme(GenericToken.KeyWord, \"TRUE\")] [Lexeme(GenericToken.KeyWord, \"true\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a408609e86d369ddf759c933a64df83a334e980f2d25d1fc593accf02751509" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 23, - "charOffset": 3929, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3853, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0a9490ba78c76651c77b4a59554331873fdfc3ce8a3ecdac1bcff98eecb93960" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPEN_CODE' is never used", - "markdown": "Enum member 'OPEN_CODE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 38, - "charOffset": 533, - "charLength": 9, - "snippet": { - "text": "OPEN_CODE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 473, - "charLength": 129, - "snippet": { - "text": " TEXT,\n \n [Sugar(\"{%\")] [Push(\"code\")] OPEN_CODE,\n \n [Sugar(\"{=\")] [Push(\"value\")] OPEN_VALUE," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ab3fb353f1641bb8531256192facc58bb1dff3b8e5a52930cac0ef1a45554e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryComparisonExpression' is never used", - "markdown": "Method 'binaryComparisonExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 25, - "charOffset": 660, - "charLength": 26, - "snippet": { - "text": "binaryComparisonExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 453, - "charLength": 326, - "snippet": { - "text": " [Operation((int) WhileTokenGeneric.EQUALS, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) WhileTokenGeneric.DIFFERENT, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryComparisonExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ab61f22c8251bf27680d16fd672692f424c762feedc3a392a6f448b7aef2f52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 39, - "charOffset": 1527, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1429, - "charLength": 156, - "snippet": { - "text": " [Lexeme(GenericToken.Identifier)] IDENTIFIER = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0afe8e60033498a80850a8a14141c384e5d000cfc711e6434fe2c6aa1c15a2c4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryInt' is never used", - "markdown": "Method 'PrimaryInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 25, - "charOffset": 4836, - "charLength": 10, - "snippet": { - "text": "PrimaryInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 4774, - "charLength": 176, - "snippet": { - "text": "\n [Production(\"primary: INT\")]\n public WhileAST PrimaryInt(Token intToken)\n {\n return new IntegerConstant(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b0ccbef452a41753ebcb7f3f8b0a975c6054742731ad89a77695441d1ae48cc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 21, - "charOffset": 1749, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1688, - "charLength": 114, - "snippet": { - "text": "\n [Production(\"value : NULL[d]\")]\n public JSon NullValue()\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b25e7298c9e08284fb1b0b6d0305389a59955348e79dc281ce857cf66eca638" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 21, - "charOffset": 2590, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2529, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b347e1fad5fefcebbc0142b3f43b0a5eab9301e112ea523e0508e351160781d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SecondRecurse' is never used", - "markdown": "Method 'SecondRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1584, - "startColumn": 23, - "charOffset": 54038, - "charLength": 13, - "snippet": { - "text": "SecondRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1582, - "startColumn": 1, - "charOffset": 53959, - "charLength": 134, - "snippet": { - "text": " \n [Production(\"second : third COMMA[d]\")]\n public object SecondRecurse(object o)\n {\n return o;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b8762115f26719f16432cc9cd06c6c8695ff83ff4c13ba7c19d30545c75d888" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'integer' is never used", - "markdown": "Method 'integer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 20, - "charOffset": 377, - "charLength": 7, - "snippet": { - "text": "integer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 323, - "charLength": 147, - "snippet": { - "text": "\n [Production(\"int : INT\")]\n public Ast integer(Token tok)\n {\n return new Integer(tok.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b91aec9ee4a556fa5ad2a6c924ec922851b2374b802956d4baee9576eef619d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'HasExplicitTokens' is never used", - "markdown": "Method 'HasExplicitTokens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 649, - "charLength": 17, - "snippet": { - "text": "HasExplicitTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 618, - "charLength": 159, - "snippet": { - "text": " }\n\n public bool HasExplicitTokens() => GetAllExplicitTokenClauses().Any();\n\n public List> GetAllExplicitTokenClauses()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c29251efc9a2ed820115fd24872ce77e5f6a11d3b7e5fb9cd38fa91f779aab8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 23, - "charOffset": 641, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 582, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d1330f9101c9af988984368e2033c0afdc9b29a9604fd2e9b50d0f9d1d2da05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OR' is never used", - "markdown": "Enum member 'OR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 9, - "charOffset": 1300, - "charLength": 2, - "snippet": { - "text": "OR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1209, - "charLength": 188, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"OR\")] [Lexeme(GenericToken.KeyWord, \"or\")]\n OR = 11,\n\n [Lexeme(GenericToken.KeyWord, \"PRINT\")] [Lexeme(GenericToken.KeyWord, \"print\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d1349635953160cc05bfe57ab294299d5f16f055dc0d60f2578eb6b9e4f1f4d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 36, - "charOffset": 215, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 80, - "charLength": 200, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d151647b4c76953e9d626dd91822a1facbc98fba21c76070fba458e01e36e51" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 1001, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 904, - "charLength": 192, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]\n FALSE = 8,\n\n [Lexeme(GenericToken.KeyWord, \"NOT\")] [Lexeme(GenericToken.KeyWord, \"not\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d1c5912dfcb3cfc1330b347a9b30b6ed8c6a1908166440430da9ed81f9a5ff3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 296, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 231, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d2f34918891a8fa81fbe0397cbc392e49b93dc45a4016ec99e21d312f31c7e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 21, - "charOffset": 2502, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2435, - "charLength": 120, - "snippet": { - "text": "\n [Production(\"list: CROG[d] CROD[d]\")]\n public JSon EmptyList()\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d6ad929ad3008b3d71ab85249a9a0aa26f4895edb61e2a5ea55a135f6a83f48" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 269, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 178, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"IF\")] [Lexeme(GenericToken.KeyWord, \"if\")]\n IF = 1,\n\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d77e0145997e43315f897d22d7e4a8232000671c983fa46807db2ded2e05b26" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 43, - "charOffset": 287, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 200, - "charLength": 129, - "snippet": { - "text": " [Lexeme(GenericToken.Int)] INT = 3,\n\n [Lexeme(GenericToken.Identifier)] IDENTIFIER = 4,\n\n // the + operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d9c6dc847e2960451a821868a6eddc75152e44cb1965a29999b19dca6154059" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 48, - "charOffset": 520, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 359, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0da66aba7dca70d8ae1bd325c8a3e49b5cba50789d3369efd6dec680d2039d2e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsNull' is never used", - "markdown": "Property 'IsNull' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 29, - "charOffset": 244, - "charLength": 6, - "snippet": { - "text": "IsNull" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 117, - "charLength": 155, - "snippet": { - "text": " public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e183b8e0ccf94a3452d5c5acaf488d4ca63b0ee47c62dff06a409cdab9ca094" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 49, - "charOffset": 188, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 74, - "charLength": 180, - "snippet": { - "text": " {\n [Lexeme(GenericToken.String,channel:0)] STRING = 1,\n [Lexeme(GenericToken.Double,channel:0)] DOUBLE = 2,\n [Lexeme(GenericToken.Int,channel:0)] INT = 3,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e2599895824bb1d817b60836ab580b845ead400b9d93c3e499e1a04dbac68d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestStatement' is never used", - "markdown": "Method 'TestStatement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 23, - "charOffset": 2569, - "charLength": 13, - "snippet": { - "text": "TestStatement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2483, - "charLength": 152, - "snippet": { - "text": " {\n [Production(\"test : LBEG [d] fun_call LEND [d]\")]\n public object TestStatement(object statement)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e3aa099079216ace5853ae63f6232c8aff733410b4e8937e1cd991632f9a7b3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryStringExpression' is never used", - "markdown": "Method 'binaryStringExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 25, - "charOffset": 1761, - "charLength": 22, - "snippet": { - "text": "binaryStringExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1653, - "charLength": 250, - "snippet": { - "text": "\n [Operation((int) WhileToken.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e84b44ed4dc6385ec0beae6c8d4ec9b64c66bf14330bfd44110f18098531965" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 131, - "startColumn": 21, - "charOffset": 3366, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 129, - "startColumn": 1, - "charOffset": 3301, - "charLength": 143, - "snippet": { - "text": "\n [Production(\"listElements: value\")]\n public JSon ListElementsOne(JSon element)\n {\n return new JList(element);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e865309132be6a1b43838a2e38c47b7479bee32f8598d3e6551ffb41b49ceb5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JObject' is never used", - "markdown": "Constructor 'JObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 16, - "charOffset": 370, - "charLength": 7, - "snippet": { - "text": "JObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 344, - "charLength": 99, - "snippet": { - "text": " }\n\n public JObject(Dictionary dic)\n {\n Values = dic;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0edc60409c40e628f415adab6e7ee8b9ba299aa495b34eabd4ff35c8fa913173" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Posobject' is never used", - "markdown": "Method 'Posobject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 23, - "charOffset": 1716, - "charLength": 9, - "snippet": { - "text": "Posobject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1621, - "charLength": 200, - "snippet": { - "text": "\n [Production(\"pos_args : arith_expr ( COMMA [d] arith_expr )*\")]\n public object Posobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0ee6cdfc0e8cf25aa91e31af0bb6e90ddca6c80728b3c5cd4013e629693dcea8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'Environment' is never used", - "markdown": "Enum member 'Environment' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/EOLType.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 104, - "charLength": 11, - "snippet": { - "text": "Environment" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 82, - "charLength": 46, - "snippet": { - "text": "\n Mac,\n Environment,\n\n No" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f032da32ec7cdaa8a658a7fd6b880c2aa3e9986cf2a5ec6b55ceba96df8170e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 58, - "charOffset": 735, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 543, - "charLength": 276, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken,channel:0, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken,channel:0, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken,channel:0, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord,channel:0, \"null\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f5b74e55d581254f37b2addd0ed50a58bbd27a0ddc2000f9d74726bd49e35b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'blockStatement' is never used", - "markdown": "Method 'blockStatement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 25, - "charOffset": 2676, - "charLength": 14, - "snippet": { - "text": "blockStatement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2609, - "charLength": 133, - "snippet": { - "text": "\n [Production(\"statement : block\")]\n public WhileAST blockStatement(WhileAST block)\n {\n return block;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0f9561334aa404553f5b718a475109a81e58164031974592a438d08c95c35201" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JList' is never used", - "markdown": "Constructor 'JList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 202, - "charLength": 5, - "snippet": { - "text": "JList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 176, - "charLength": 82, - "snippet": { - "text": " }\n\n public JList(List lst)\n {\n Items = lst;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0fa29bee204797678224170b9f79659d2b6f6c3fe29162babbf71e815512bcca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOF' is never used", - "markdown": "Enum member 'EOF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 9, - "charOffset": 2200, - "charLength": 3, - "snippet": { - "text": "EOF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2190, - "charLength": 37, - "snippet": { - "text": "\n\n EOF = 0\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "10aba179243bdf2aca93f7c80488a3f7e436ecc08e6d3faef66fbc71af7f6fe1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ThirdRecurse' is never used", - "markdown": "Method 'ThirdRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1590, - "startColumn": 23, - "charOffset": 54182, - "charLength": 12, - "snippet": { - "text": "ThirdRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1588, - "startColumn": 1, - "charOffset": 54104, - "charLength": 132, - "snippet": { - "text": " \n [Production(\"third : first COMMA[d]\")]\n public object ThirdRecurse(object o)\n {\n return o;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "110bb58d6fb92124728d49b11b6fe0d5eb6a6ab3e729edc7b0d1124d1d996e64" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ONEORMORE' is never used", - "markdown": "Enum member 'ONEORMORE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 25, - "charOffset": 239, - "charLength": 9, - "snippet": { - "text": "ONEORMORE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 142, - "charLength": 190, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 2,\n [Lexeme(\"\\\\*\")] ZEROORMORE = 3,\n [Lexeme(\"\\\\+\")] ONEORMORE = 4,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 5,\n [Lexeme(\"^\\\\?\")] OPTION = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "115e047e0af01428ba23360e3f5177276cf61aef105ecb80f5cab5ed162b6f4b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 39, - "charOffset": 244, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 148, - "charLength": 166, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord,\"toto\")] TOTO = 23,\n\n [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int,channel:101)] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "128d557518763e1324bcf97b922e56e8f764ef086cbdb4808e17bf1d21c8a19c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 853, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 796, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13915b71c4aefc6eefe90b0284f37caa5067ea534c6acaa43d05d9f2e0ec9d0d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransition' is never used", - "markdown": "Method 'MultiRangeTransition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 301, - "startColumn": 35, - "charOffset": 8604, - "charLength": 20, - "snippet": { - "text": "MultiRangeTransition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 299, - "startColumn": 1, - "charOffset": 8559, - "charLength": 180, - "snippet": { - "text": " }\n\n public FSMLexerBuilder MultiRangeTransition(params (char start, char end)[] ranges)\n {\n return MultiRangeTransitionTo(Fsm.NewNodeId,ranges);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13a66b0bf19d7778f9a4253cd4a2013ec38baf7733c8f770ea41b89fa98939c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 23, - "charOffset": 3858, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3782, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1472d446e456ef15dd3c015cb7e00683226c760f473d7ced2557c34888ca3bed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ManyMembers' is never used", - "markdown": "Method 'ManyMembers' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 21, - "charOffset": 3893, - "charLength": 11, - "snippet": { - "text": "ManyMembers" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3815, - "charLength": 192, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, Token comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1543ed305cf5b5e82415c6100e6ac7087c999ec0600cdff941233094b1118de5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'optionals' is never used", - "markdown": "Method 'optionals' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 23, - "charOffset": 1547, - "charLength": 9, - "snippet": { - "text": "optionals" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1464, - "charLength": 137, - "snippet": { - "text": "\n [Production(\"optional_kw_args : COMMA[d] kw_args\")]\n public object optionals(object o)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "155a8bf2f5ec67948fa0d3a8802ae1b1cbffe11739550abce71504a1170bbfad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Value' is never used", - "markdown": "Method 'Value' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 26, - "charOffset": 738, - "charLength": 5, - "snippet": { - "text": "Value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 642, - "charLength": 182, - "snippet": { - "text": " \n [Production(\"item :OPEN_VALUE[d] ID CLOSE_VALUE[d]\")]\n public ITemplate Value(Token value)\n {\n return new Value(value.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1587cea2c9f9f389b89190cd5117b42f865b965a39bc5b90a4c73a791d07059e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryInt' is never used", - "markdown": "Method 'PrimaryInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 137, - "startColumn": 25, - "charOffset": 4520, - "charLength": 10, - "snippet": { - "text": "PrimaryInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 135, - "startColumn": 1, - "charOffset": 4458, - "charLength": 169, - "snippet": { - "text": "\n [Production(\"primary: INT\")]\n public WhileAST PrimaryInt(Token intToken)\n {\n return new IntegerConstant(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "159ad2d879d53579f1d08d6674af8c705128248ab11a9794fbc4262d5740f565" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Merge' is never used", - "markdown": "Method 'Merge' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 28, - "charOffset": 211, - "charLength": 5, - "snippet": { - "text": "Merge" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 127, - "charLength": 246, - "snippet": { - "text": " public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)\n {\n foreach (var item in merge) me[item.Key] = item.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15f00bf3dbf4d0096ff577d3e22ba1d5696344a51f457b55a48f17608c53350c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 48, - "charOffset": 470, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 309, - "charLength": 285, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15f18de99ee56fd86c8afcab462232825b8cea6abaac222b3820addef489e5ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 48, - "charOffset": 406, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 281, - "charLength": 248, - "snippet": { - "text": " BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "166dbdab55a7edbd2abda99aa22b83fa81abda6709f18683d27587423dc896d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SEMICOLON' is never used", - "markdown": "Enum member 'SEMICOLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 23, - "charOffset": 1377, - "charLength": 9, - "snippet": { - "text": "SEMICOLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1317, - "charLength": 119, - "snippet": { - "text": " [Lexeme(\"\\\\)\")] RPAREN = 51,\n\n [Lexeme(\";\")] SEMICOLON = 52,\n\n [Lexeme(\"[ \\\\t]+\", true)] WS = 53," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1697a9a56912657f8dc0ccbf7601193e21bda277f11631b0474d5a324cba283c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'arith' is never used", - "markdown": "Method 'arith' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 23, - "charOffset": 1058, - "charLength": 5, - "snippet": { - "text": "arith" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 922, - "charLength": 183, - "snippet": { - "text": " [Production(\"arith_expr : Issue165Parser_expressions\")]\n [Production(\"arith_expr : ternary_expr\")]\n public object arith(object h)\n {\n return h;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "16c503d84e4e4230786c3c85d62ba04e5af587db3cac8d8ec759501238f0542b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Set' is never used", - "markdown": "Method 'Set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 20, - "charOffset": 949, - "charLength": 3, - "snippet": { - "text": "Set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 876, - "charLength": 147, - "snippet": { - "text": " \n [Production(\"set : id SET[d] int \")]\n public Ast Set(Identifier id, Integer i)\n {\n return new Set(id, i);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "170544b2f1b0c9063bae9301b51565af1e8f5caf9ef28232a85e5658f049e40c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 21, - "charOffset": 3038, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 2964, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18abc9e519b57e39377185bacc17e847726413bb2d45a951a6b4e437afa00c5c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NOT' is never used", - "markdown": "Enum member 'NOT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 9, - "charOffset": 2867, - "charLength": 3, - "snippet": { - "text": "NOT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 2815, - "charLength": 104, - "snippet": { - "text": "\n [Keyword( \"NOT\")] [Keyword(\"not\")]\n NOT = 9,\n\n [Keyword( \"AND\")] [Keyword(\"and\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "195730734340ca654c114eb2f18e6f7d71da353672379740778378e1e252cc1d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryAndExpression' is never used", - "markdown": "Method 'binaryAndExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 242, - "startColumn": 25, - "charOffset": 7963, - "charLength": 19, - "snippet": { - "text": "binaryAndExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 240, - "startColumn": 1, - "charOffset": 7858, - "charLength": 241, - "snippet": { - "text": "\n [Operation((int) WhileToken.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1963f5369cfd3a773840890dec01c9a82dca323cb86d8d7ebc1e010b466b766a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClause' is never used", - "markdown": "Method 'GroupClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 197, - "startColumn": 32, - "charOffset": 7595, - "charLength": 11, - "snippet": { - "text": "GroupClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 195, - "startColumn": 1, - "charOffset": 7513, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"groupclause : IDENTIFIER \")]\n public GroupClause GroupClause(Token id)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19abfea0b5acd629670f6884292cbfd608752de4933645b7a0641043c860a87b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NOT' is never used", - "markdown": "Enum member 'NOT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 9, - "charOffset": 1097, - "charLength": 3, - "snippet": { - "text": "NOT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1004, - "charLength": 186, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"NOT\")] [Lexeme(GenericToken.KeyWord, \"not\")]\n NOT = 9,\n\n [Lexeme(GenericToken.KeyWord, \"AND\")] [Lexeme(GenericToken.KeyWord, \"and\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19ac6a83c15ac3f2467682ebc1bb46486fd62f2871600e65338736164efd5862" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 48, - "charOffset": 520, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 359, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19d24d57e8a7a2a271c619d5529da3680b631aa949a01275c684307a3f960133" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 21, - "charOffset": 1936, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1878, - "charLength": 134, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(Token forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19e35f433ebbc4d3643b68ad8277658ca672738f8a97fe899ea0b8ca4cb044fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 28, - "charOffset": 789, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 717, - "charLength": 101, - "snippet": { - "text": " [Lexeme(\"\\\"[^\\\"]*\\\"\")] STRING = 21,\n\n [Lexeme(\"[0-9]+\")] INT = 22,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a5987b2a2103ff653ff227e331eea9a21de38785fdc78c92dd591857c1e81d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Match' is never used", - "markdown": "Method 'Match' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ValueOption.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 18, - "charOffset": 991, - "charLength": 5, - "snippet": { - "text": "Match" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 934, - "charLength": 127, - "snippet": { - "text": " public bool IsSome => !IsNone;\n\n public T Match(Func some, Func none)\n {\n if (IsSome)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a5f2b66b756392b5d6fc90ad974b861f4315c927764e8c301da6f848ec78e36" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandInt' is never used", - "markdown": "Method 'OperandInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 27, - "charOffset": 2009, - "charLength": 10, - "snippet": { - "text": "OperandInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1892, - "charLength": 214, - "snippet": { - "text": " [Production(\"primary_value : DOUBLE\")]\n [Production(\"primary_value : INT\")]\n public Expression OperandInt(Token value)\n {\n return new Number(value.DoubleValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a7d0025cbe3556e57f05c729855545c7f8c6d56c15a99cd9af3831391eeb282" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 261, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 170, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"IF\")] [Lexeme(GenericToken.KeyWord, \"if\")]\n IF = 1,\n\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a8d2a113f91d13016bbfa8bfffffa91c27debfb3a4f7989c7d7b3549850b59a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 21, - "charOffset": 1881, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1821, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1a9908e208d8b7b2d62880533fa4f25ba5a8b1864843ee32abd21659dd6c6980" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PreviousTokens' is never used", - "markdown": "Method 'PreviousTokens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 31, - "charOffset": 3494, - "charLength": 14, - "snippet": { - "text": "PreviousTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 3453, - "charLength": 124, - "snippet": { - "text": " }\n\n public List> PreviousTokens(int channelId)\n {\n TokenChannel channel = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1aca88d5a8691c88c30821bc1b0ffe4a96fa97e8f5377fd570d6e310af4f8522" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 23, - "charOffset": 3453, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 3368, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b005437946bab95a586758613f47ab382e1249479f31cc3b7c2df112725605c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 9, - "charOffset": 886, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 791, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"TRUE\")] [Lexeme(GenericToken.KeyWord, \"true\")]\n TRUE = 7,\n\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b228d80a90c2b87a5fa5512afe5ed893e803488f1a89128075b1daf11bd5247" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2889, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2807, - "charLength": 174, - "snippet": { - "text": "\n [Production(\"listElements: value additionalValue*\")]\n public JSon listElements(JSon head, List tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1b40f8f2e5b62e547458839e5e9bc7679173c0015b3b7096b1d56e84cfdc8748" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryStringExpression' is never used", - "markdown": "Method 'binaryStringExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 25, - "charOffset": 1916, - "charLength": 22, - "snippet": { - "text": "binaryStringExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1793, - "charLength": 280, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ba4aa648b45bed561906b1ce3c4f4a8d0d922f60a35e2396c379e35f1517474" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 21, - "charOffset": 1932, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1874, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1ba8e6b62132395632920070d15ece8c63cd7c50b933afa5eab4bf8279a39e46" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JList' is never used", - "markdown": "Constructor 'JList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 209, - "charLength": 5, - "snippet": { - "text": "JList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 183, - "charLength": 82, - "snippet": { - "text": " }\n\n public JList(List lst)\n {\n Items = lst;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1bd7a2f8d0cf82136965b9a8ec5d6b1742309ae94f7e5aad6950f2fc39056516" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Operand' is never used", - "markdown": "Method 'Operand' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 25, - "charOffset": 5701, - "charLength": 7, - "snippet": { - "text": "Operand" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 5618, - "charLength": 140, - "snippet": { - "text": " [Operand]\n [Production(\"operand: primary\")]\n public WhileAST Operand(WhileAST prim)\n {\n return prim;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1c21fa7b73cd4eb56063afa68e6006e9b3eb600af32f11966258016c0734a6ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsDouble' is never used", - "markdown": "Property 'IsDouble' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 21, - "charOffset": 358, - "charLength": 8, - "snippet": { - "text": "IsDouble" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 294, - "charLength": 138, - "snippet": { - "text": " public bool IsInt => value is int;\n\n public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1cf3b5a81f346970a0ec0066a803e8fde10fd39999ad24bcdbb896f24ce5292e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 25, - "charOffset": 4374, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 4305, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"statementPrim: SKIP\")]\n public WhileAST skipStmt(Token discard)\n {\n return new SkipStatement();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d13184fe340b7ec208496745d6774a44db1d900ceb1abf477314a2c75bf5675" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SEMICOLON' is never used", - "markdown": "Enum member 'SEMICOLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 48, - "charOffset": 2688, - "charLength": 9, - "snippet": { - "text": "SEMICOLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2577, - "charLength": 128, - "snippet": { - "text": " // [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 51,\n\n [Lexeme(GenericToken.SugarToken, \";\")] SEMICOLON = 52,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1dc423224cfb0177867dcadb216acc9810ffcb75a88601772455f74349d005fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 21, - "charOffset": 2083, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2023, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1dcccdc9ae71d470903ffb51bf80c4f5a16a1a3291c5b92379e488da0ea737f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 253, - "startColumn": 25, - "charOffset": 8832, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 251, - "startColumn": 1, - "charOffset": 8718, - "charLength": 247, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e26a2343acb11eaefdde8b937fac9f25eaadf18d1e6f088de96544a7bfba2cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 2915, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2831, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e4566edda6e379b82c796ae18bab49454562e97286e12fe1c45fff5f2eb6be0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'r' is never used", - "markdown": "Enum member 'r' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 23, - "charOffset": 1702, - "charLength": 1, - "snippet": { - "text": "r" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 1621, - "charLength": 184, - "snippet": { - "text": " [Lexeme(\"c\")] c = 3,\n [Lexeme(\"z\")] z = 26,\n [Lexeme(\"r\")] r = 21,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 100,\n [Lexeme(\"[\\\\r\\\\n]+\", true, true)] EOL = 101" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e8548f31e3fae03aeb641eff2322c6bd9bc31c712f7fe9ed3b29b999022a563" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 21, - "charOffset": 2772, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2711, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f2b7849a4eff42ad9f4470026cfd229a39f097632d672abdc6df7364073163f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 21, - "charOffset": 3559, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3485, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1f9cd5e614342e7468a9d2864bd0b546e339f09437f7df283a57a28745688c7f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Merge' is never used", - "markdown": "Method 'Merge' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 28, - "charOffset": 215, - "charLength": 5, - "snippet": { - "text": "Merge" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 131, - "charLength": 246, - "snippet": { - "text": " public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)\n {\n foreach (var item in merge) me[item.Key] = item.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "205ab53d3c189b59b4909382ebcbe24d39e11950f07bf1eb067320a3333b66f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 21, - "charOffset": 1753, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1692, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "205fba215f3fbfad31de90eea7a3573aabd6b57089e67d7fb6a1b54267e45ae0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WHILE' is never used", - "markdown": "Enum member 'WHILE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 29, - "charOffset": 261, - "charLength": 5, - "snippet": { - "text": "WHILE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 195, - "charLength": 110, - "snippet": { - "text": " [Lexeme(\"(else)\")] ELSE = 3,\n\n [Lexeme(\"(while)\")] WHILE = 4,\n\n [Lexeme(\"(do)\")] DO = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "207e95291bd8170f83b87d9553b2970b0693958804d404afe7e24c56f054f8b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 35, - "charOffset": 493, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 392, - "charLength": 198, - "snippet": { - "text": " [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "218a0de0269515ff2032b698fd4210d88819462bcb2403429baf68592c5edd8f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Factor' is never used", - "markdown": "Method 'Factor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 27, - "charOffset": 1937, - "charLength": 6, - "snippet": { - "text": "Factor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1864, - "charLength": 210, - "snippet": { - "text": "\n [Production(\"factor : MINUS factor\")]\n public Expression Factor(Token minus, Expression factorValue)\n {\n return new UnaryOperation(minus.TokenID, factorValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21cbbf90b12d7c73560dedba7e5ad8c2e5b2a29d9aefe0361ada8479e4a78e97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 21, - "charOffset": 2350, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2279, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21f42cab64a10b4afddd7b212d6d5dcc9ffda1df1d48102c7ec6e724160a82fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'assignStmt' is never used", - "markdown": "Method 'assignStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 25, - "charOffset": 4059, - "charLength": 10, - "snippet": { - "text": "assignStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 3946, - "charLength": 238, - "snippet": { - "text": "\n [Production(\"statementPrim: IDENTIFIER ASSIGN WhileParserGeneric_expressions\")]\n public WhileAST assignStmt(Token variable, Token discardAssign,\n Expression value)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "21fb9d02da77107b401f88330b7925ae45a8024010bcd299d75a3684950faccc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 28, - "charOffset": 588, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 466, - "charLength": 139, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2205cbd62bfd4f7dcc2a6f35ffbc34784a443682494347255e8fa2aae2e3e355" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 21, - "charOffset": 1990, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1933, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "220e705d7b0abddfb9743003ea625e482459ee16884e408cf6c268caee0761af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 9, - "charOffset": 636, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 547, - "charLength": 159, - "snippet": { - "text": " {\n [Lexeme(GenericToken.Identifier,IdentifierType.AlphaNumericDash)] \n IDENTIFIER = 1,\n \n [Lexeme(GenericToken.SugarToken,\":\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2222c739b6cb7bf64f31f9ccd3ec46319212dfa73fdcc9ffbe104024db966215" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncCall' is never used", - "markdown": "Method 'FuncCall' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 23, - "charOffset": 2746, - "charLength": 8, - "snippet": { - "text": "FuncCall" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2646, - "charLength": 212, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( fun_actual_args )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2271a9d2a3c29b2d19c35248499500c1309e6b377166824948d91f15fddb95e9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'NotNullOrEosTokens' is never used", - "markdown": "Property 'NotNullOrEosTokens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannel.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 32, - "charOffset": 369, - "charLength": 18, - "snippet": { - "text": "NotNullOrEosTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 242, - "charLength": 239, - "snippet": { - "text": " public List> NotNullTokens => Tokens.Where(x => x != null).ToList();\n \n public List> NotNullOrEosTokens => Tokens.Where(x => x != null && !x.IsEOS).ToList(); \n \n public int ChannelId;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "228214f67bdf70cd97f5e50b2567d1dba2e73d23b9f4f5664f8b7da16c4cd616" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryFactorNumericExpression' is never used", - "markdown": "Method 'binaryFactorNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 198, - "startColumn": 25, - "charOffset": 6510, - "charLength": 29, - "snippet": { - "text": "binaryFactorNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 196, - "startColumn": 1, - "charOffset": 6321, - "charLength": 340, - "snippet": { - "text": " [Operation((int) WhileToken.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) WhileToken.DIVIDE, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryFactorNumericExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.MULTIPLY;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "23323a410645ed452f89089b1b7d3e5a23643872d14b7d7da83353b5d87e5dab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 21, - "charOffset": 2332, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2355e4245d4d02224a7aff2307044b2cb2dfb83481098055008d196f53220aa7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'AND' is never used", - "markdown": "Enum member 'AND' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 9, - "charOffset": 1199, - "charLength": 3, - "snippet": { - "text": "AND" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1106, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"AND\")] [Lexeme(GenericToken.KeyWord, \"and\")]\n AND = 10,\n\n [Lexeme(GenericToken.KeyWord, \"OR\")] [Lexeme(GenericToken.KeyWord, \"or\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "237dd6cfa7b544488d0a5431d8de5e43f3c6ecf2ab15a244cd1eb63979f40522" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 35, - "charOffset": 1391, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1332, - "charLength": 119, - "snippet": { - "text": "\n // a whitespace\n [Lexeme(\"[ \\\\t]+\", true)] WS = 11,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 12" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24511ab7f9c8479b5dada0030623b441ba82c668018ea1f5a4f1fe6c9bdb8a0f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OR' is never used", - "markdown": "Enum member 'OR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 9, - "charOffset": 1249, - "charLength": 2, - "snippet": { - "text": "OR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1186, - "charLength": 126, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"|\")]\n OR = 10,\n \n [Lexeme(GenericToken.SugarToken,\"[\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "24eddc22e64941280a6316f0479cc9b8fa41204012654eadefa3e42cb7a06dc8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 43, - "charOffset": 130, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 73, - "charLength": 131, - "snippet": { - "text": " {\n \n [Lexeme(GenericToken.Identifier)] ID = 20,\n \n [Lexeme(GenericToken.KeyWord,\"toto\")] TOTO = 23," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2512457d2e5ec835e2a6de66d4b409e04eafd7eee388605dcbcaac6430a08fcc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryFactorExpression' is never used", - "markdown": "Method 'BinaryFactorExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 27, - "charOffset": 781, - "charLength": 22, - "snippet": { - "text": "BinaryFactorExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 587, - "charLength": 364, - "snippet": { - "text": " [Operation((int) FormulaToken.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) FormulaToken.DIVIDE, Affix.InFix, Associativity.Left, 50)]\n public Expression BinaryFactorExpression(Expression left, Token operation, Expression right)\n {\n return new BinaryOperation(left, operation.TokenID, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2529bedb2904b71bb35ca38572635add8201ec4fb2fe56c4ebcf6b6c97664a2e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 21, - "charOffset": 1849, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1789, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2551ffe81c95f8f10982ca5ca1d773c990347ff9dfef659d4d52129dce58bac0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JObject' is never used", - "markdown": "Constructor 'JObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 16, - "charOffset": 381, - "charLength": 7, - "snippet": { - "text": "JObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 355, - "charLength": 99, - "snippet": { - "text": " }\n\n public JObject(Dictionary dic)\n {\n Values = dic;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "260a6f64735f0c65454c6df399370a0bf797cc3f3d9d489d06cfae7fa1aacc5e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OneMoreClause' is never used", - "markdown": "Method 'OneMoreClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 28, - "charOffset": 1416, - "charLength": 13, - "snippet": { - "text": "OneMoreClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1334, - "charLength": 235, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER ONEORMORE\")]\n public IClause OneMoreClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "26986c72cd1d725e82927b1e33f512e032771291dca1ea228f5fcf730af2fab2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Dump' is never used", - "markdown": "Method 'Dump' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ISyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 16, - "charOffset": 498, - "charLength": 4, - "snippet": { - "text": "Dump" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 406, - "charLength": 107, - "snippet": { - "text": " void Init(ParserConfiguration configuration, string root);\n\n string Dump();\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "26faa3417573eee01d3c87c09ebab34416293e9578697bb51b0819df02b89bd2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 233, - "startColumn": 25, - "charOffset": 8044, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 231, - "startColumn": 1, - "charOffset": 7933, - "charLength": 252, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "26fc7c35f199f705116e9c31ac114d3cae03b32d5414e960b360799986726e54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryComparisonExpression' is never used", - "markdown": "Method 'binaryComparisonExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 27, - "charOffset": 2847, - "charLength": 26, - "snippet": { - "text": "binaryComparisonExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2716, - "charLength": 250, - "snippet": { - "text": " [Infix(\"EQUALS\", Associativity.Right, 50)]\n [Infix(\"DIFFERENT\", Associativity.Right, 50)]\n public Expression binaryComparisonExpression(Expression left, Token operatorToken,\n Expression right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "271751281750c561da8e2ff93c8c134fa569fc2c4557086c481383d3a6489677" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestI18N' is never used", - "markdown": "Method 'TestI18N' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 667, - "startColumn": 28, - "charOffset": 22870, - "charLength": 8, - "snippet": { - "text": "TestI18N" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 665, - "startColumn": 1, - "charOffset": 22832, - "charLength": 133, - "snippet": { - "text": " }\n\n public static void TestI18N()\n {\n Console.WriteLine(\"****************************************\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27394e15f59af975a513b8e26f444addfa147c7ae4807fdc7bb4455f315b4070" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPEN' is never used", - "markdown": "Enum member 'OPEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 5, - "charOffset": 1169, - "charLength": 4, - "snippet": { - "text": "OPEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1142, - "charLength": 57, - "snippet": { - "text": " {\n [Sugar(\"<\")]\n OPEN,\n [Sugar(\"\")] GREATER = 30,\n\n [Lexeme(GenericToken.SugarToken, \"<\")] LESSER = 31,\n\n [Lexeme(GenericToken.SugarToken, \"==\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "29d7ff6a4016fd814def807e2cb4bb7f7ece99a325b9fe8ef7f5176eb9ad6c66" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryAndExpression' is never used", - "markdown": "Method 'binaryAndExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 25, - "charOffset": 8436, - "charLength": 19, - "snippet": { - "text": "binaryAndExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 8324, - "charLength": 255, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a3ea3ac0d940b61be1dfe0f6d099aad7b2f897d3b67ca7bd3b79536fb7f3260" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'Default' is never used", - "markdown": "Enum member 'Default' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 9, - "charOffset": 65, - "charLength": 7, - "snippet": { - "text": "Default" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 22, - "charLength": 84, - "snippet": { - "text": " public enum GenericToken\n {\n Default,\n Identifier,\n Int," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a692e0f540425278d1251d538a0842c32b178fa8ee41ee3a7e42f0ca3f23583" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 138, - "startColumn": 5, - "charOffset": 2059, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 136, - "startColumn": 1, - "charOffset": 2017, - "charLength": 73, - "snippet": { - "text": " [Sugar( \":=\")]\n [Mode(\"code\")]\n ASSIGN = 35,\n\n [Sugar( \"+\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a933408e6f8ae3aabce48711534504aa31520cb852b8ca8535fda21a2d901c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DEFINE' is never used", - "markdown": "Enum member 'DEFINE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 342, - "charLength": 6, - "snippet": { - "text": "DEFINE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 270, - "charLength": 169, - "snippet": { - "text": " RPAR = 3,\n [Lexeme(GenericToken.SugarToken,\"=\")]\n DEFINE = 4,\n [Lexeme(GenericToken.Identifier,IdentifierType.AlphaNumeric)]\n ID = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a9dd6b9c2a8b244fba863ee09d7e6f8e491c28f3060d037f4c222ef9257fd45" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 9, - "charOffset": 1174, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1111, - "charLength": 129, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\")\")]\n RPAREN = 9,\n \n [Lexeme(GenericToken.SugarToken,\"|\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2adead80ef060319ecfbcae8728eda34c26bfaafd5ebaafbd28dbf5067aa9e0b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 34, - "charOffset": 247, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 130, - "charLength": 193, - "snippet": { - "text": " [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2adfd7597ff03a2fbfda610c2021c4fa2a05fb5178af9a29b83100e8a380554d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 43, - "charOffset": 544, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b2982a14d2da738e2c137090573013fee6fabb92d10b4073f221870ad9b012c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SKIP' is never used", - "markdown": "Enum member 'SKIP' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 28, - "charOffset": 334, - "charLength": 4, - "snippet": { - "text": "SKIP" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 273, - "charLength": 108, - "snippet": { - "text": " [Lexeme(\"(do)\")] DO = 5,\n\n [Lexeme(\"(skip)\")] SKIP = 6,\n\n [Lexeme(\"(true)\")] TRUE = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b7312f64d43a4a74ad7f3656bd5b557c12070d40f7b6b1b3061f3741cf7fa4b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PRINT' is never used", - "markdown": "Enum member 'PRINT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 29, - "charOffset": 558, - "charLength": 5, - "snippet": { - "text": "PRINT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 495, - "charLength": 117, - "snippet": { - "text": " [Lexeme(\"(or)\")] OR = 11,\n\n [Lexeme(\"(print)\")] PRINT = 12,\n\n [Lexeme(\"(return)\")] RETURN = 13," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b76ccfdb5c0d2bb61ce7f8810b80bbfa330019ebfdde57d503b93a2e9f9b088" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Term_Factor' is never used", - "markdown": "Method 'Term_Factor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 27, - "charOffset": 1622, - "charLength": 11, - "snippet": { - "text": "Term_Factor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1557, - "charLength": 142, - "snippet": { - "text": "\n [Production(\"term : factor\")]\n public Expression Term_Factor(Expression factorValue)\n {\n return factorValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c6d94cafdb407134d9df4422de38cf1ae4c5017ec72ee3398b727d48679fee4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 21, - "charOffset": 1905, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1845, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c9e759e182aae2ee97880ba40f7a8c0e3cf5dd04b95fa713890feea29cf0a05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 43, - "charOffset": 1480, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 1394, - "charLength": 112, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 53,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 54,\n\n EOF = 0" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d5b228a5c6b702b219ea32bb3161d842cca9ccc7fb9a2b4f72e0381174887c1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryComparisonExpression' is never used", - "markdown": "Method 'binaryComparisonExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 25, - "charOffset": 678, - "charLength": 26, - "snippet": { - "text": "binaryComparisonExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 455, - "charLength": 350, - "snippet": { - "text": " [Operation((int) IndentedWhileTokenGeneric.EQUALS, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) IndentedWhileTokenGeneric.DIFFERENT, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryComparisonExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d6017a13b5f81e029102d7c7265174c62488788efef57081e57ad1d59f98990" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SKIP' is never used", - "markdown": "Enum member 'SKIP' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 9, - "charOffset": 2673, - "charLength": 4, - "snippet": { - "text": "SKIP" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 2619, - "charLength": 109, - "snippet": { - "text": "\n [Keyword(\"SKIP\")] [Keyword( \"skip\")]\n SKIP = 6,\n\n [Keyword( \"TRUE\")] [Keyword(\"true\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d706a53a38e8ba1f426caa21a94099985fd219dbaf756cff53dc74dc0e11466" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 21, - "charOffset": 1863, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1803, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d78b5c8d57e270deee9505f6ff307ee7ad65b0365de2689a67459ad5c8993b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WHILE' is never used", - "markdown": "Enum member 'WHILE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 531, - "charLength": 5, - "snippet": { - "text": "WHILE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 434, - "charLength": 190, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]\n WHILE = 4,\n\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f13d3498d35c020713ec931264470d5b6ea369582059093cea3ca5d961a0fa1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'assignStmt' is never used", - "markdown": "Method 'assignStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 25, - "charOffset": 3774, - "charLength": 10, - "snippet": { - "text": "assignStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 3654, - "charLength": 284, - "snippet": { - "text": "\n [Production(\"statement: IDENTIFIER ASSIGN[d] IndentedWhileParserGeneric_expressions\")]\n public WhileAST assignStmt(Token variable, Expression value)\n {\n var assign = new AssignStatement(variable.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f454bd137916f41b9d017cf8369c85568722e77dde2eacebb0b8059c9174a77" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'actargs2' is never used", - "markdown": "Method 'actargs2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 23, - "charOffset": 3090, - "charLength": 8, - "snippet": { - "text": "actargs2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 3018, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"fun_actual_args2 : args2\")]\n public object actargs2(object args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f8a4a8956d3da3f18753560e3f2cc3d87e5c892224e51852f522f2e06abcaaa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOF' is never used", - "markdown": "Enum member 'EOF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 9, - "charOffset": 1499, - "charLength": 3, - "snippet": { - "text": "EOF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 1438, - "charLength": 88, - "snippet": { - "text": " [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 54,\n\n EOF = 0\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2f9720198bfd1b0a66b97d0bd5249ee8555e8c29635c4b8a5f796f5a84e3bade" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FunctionCall' is never used", - "markdown": "Method 'FunctionCall' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 27, - "charOffset": 2530, - "charLength": 12, - "snippet": { - "text": "FunctionCall" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2359, - "charLength": 299, - "snippet": { - "text": " [Production(\n \"primary_value : IDENTIFIER LPAREN[d] FormulaParser_expressions (COMMA FormulaParser_expressions)* RPAREN[d]\")]\n public Expression FunctionCall(Token funcName, Expression first,\n List> others)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2fc046889298aba61e567efc7096ec14fe5049017be9efcae1c0e8c16c5b470e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'group' is never used", - "markdown": "Method 'group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 23, - "charOffset": 1687, - "charLength": 5, - "snippet": { - "text": "group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1582, - "charLength": 164, - "snippet": { - "text": "\n [Production(\"group_expr : LPAR [d] Issue165Parser_expressions RPAR [d]\")]\n public object group(object subexpr)\n {\n return subexpr;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2fd14d171d63b19847756c97989bb618095e067c2fb805e401a31dbbde8178ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Operand' is never used", - "markdown": "Method 'Operand' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 163, - "startColumn": 25, - "charOffset": 5357, - "charLength": 7, - "snippet": { - "text": "Operand" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 161, - "startColumn": 1, - "charOffset": 5274, - "charLength": 140, - "snippet": { - "text": " [Operand]\n [Production(\"operand: primary\")]\n public WhileAST Operand(WhileAST prim)\n {\n return prim;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2fef93356ecab95c9b5659f822b77c7de4d6f8288cafa9270ba02dc531c1730f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'END' is never used", - "markdown": "Enum member 'END' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 5, - "charOffset": 1196, - "charLength": 3, - "snippet": { - "text": "END" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 1151, - "charLength": 72, - "snippet": { - "text": " [Keyword(\"end\")] \n [Mode(\"code\")]\n END,\n \n [Sugar(\"..\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3002f1a158eb774b9125125accec78a3a1647b9e7fa2dd2183302f0fdeeb79b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsInt' is never used", - "markdown": "Property 'IsInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 303, - "charLength": 5, - "snippet": { - "text": "IsInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 233, - "charLength": 142, - "snippet": { - "text": " public bool IsString => value is string;\n\n public bool IsInt => value is int;\n\n public bool IsDouble => value is double;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "300dd643209c6a1e369d867472cdeccbd3522fdcdea2abd27cd214ff7456f9bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Compile' is never used", - "markdown": "Method 'Compile' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 23, - "charOffset": 750, - "charLength": 7, - "snippet": { - "text": "Compile" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 717, - "charLength": 109, - "snippet": { - "text": " }\n\n public string Compile()\n {\n StringBuilder builder = new StringBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3054ab24c18530fc9da5099243a81642448ee4277653844acf356b3deb3f5aac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 302, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 244, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "306f1c843c5c3f4b1fc7fd081b5f7551c02c82de4e4950b59a44c07f793106f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryBool' is never used", - "markdown": "Method 'PrimaryBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 147, - "startColumn": 25, - "charOffset": 4905, - "charLength": 11, - "snippet": { - "text": "PrimaryBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 145, - "startColumn": 1, - "charOffset": 4804, - "charLength": 246, - "snippet": { - "text": " [Production(\"primary: TRUE\")]\n [Production(\"primary: FALSE\")]\n public WhileAST PrimaryBool(Token boolToken)\n {\n return new BoolConstant(bool.Parse(boolToken.StringWithoutQuotes));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30921471f177b340efaccc1147b4fda9405af0d242aea0bbff36443873f3b8b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 252, - "startColumn": 25, - "charOffset": 8345, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 250, - "startColumn": 1, - "charOffset": 8238, - "charLength": 233, - "snippet": { - "text": "\n [Operation((int) WhileToken.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "30e94c6ca136833ad95f5cacfc068a4df4991c3d890a168a223f5293b5504162" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 21, - "charOffset": 1567, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1506, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3118322a28197d798b77482ea407205f80cf37e3480f81f31e5e056e0a3ec607" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandParens' is never used", - "markdown": "Method 'OperandParens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 20, - "charOffset": 3184, - "charLength": 13, - "snippet": { - "text": "OperandParens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3064, - "charLength": 273, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParserWithContext_expressions RPAREN\")]\n public int OperandParens(Token lparen, int value, Token rparen,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "312c0d3ef63442452321c8caade9a8586e92700a5e9be7eea9d2a077fcf4bc23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 26, - "charOffset": 148, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 89, - "charLength": 104, - "snippet": { - "text": " #region keywords 0 -> 19\n\n [Lexeme(\"(if)\")] IF = 1,\n\n [Lexeme(\"(then)\")] THEN = 2," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "313eed6d0c8cb956b59edf5fd811b49906d7cb6ff243765350704f47aa9154f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 9, - "charOffset": 615, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 554, - "charLength": 136, - "snippet": { - "text": " LEND = 7,\n [Lexeme(GenericToken.Int)]\n INT = 8,\n [Lexeme(GenericToken.String,\"\\\"\",\"\\\\\")]\n STRING = 9" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "315d2ced156b3578613bbc526f8ac25683bc65a64edc6f9c595ed9845df1599d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 21, - "charOffset": 2196, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2139, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31d055e46f40ab8584a05c6792484506056ee095928bbfaf5e78b756b6d06547" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIVIDE' is never used", - "markdown": "Enum member 'DIVIDE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 175, - "startColumn": 23, - "charOffset": 3643, - "charLength": 6, - "snippet": { - "text": "DIVIDE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 173, - "startColumn": 1, - "charOffset": 3586, - "charLength": 89, - "snippet": { - "text": " [Sugar( \"*\")] TIMES = 38,\n\n [Sugar( \"/\")] DIVIDE = 39,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "329455b07df08bff3b1f342421569010d44b83d2ee2c6c4e8024e84f5b0f9dca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryTermNumericExpression' is never used", - "markdown": "Method 'binaryTermNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 25, - "charOffset": 6027, - "charLength": 27, - "snippet": { - "text": "binaryTermNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 5826, - "charLength": 321, - "snippet": { - "text": " [Operation((int) WhileTokenGeneric.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) WhileTokenGeneric.MINUS, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryTermNumericExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32da4242ffa623fd3fb4eccb9c9cfb8c5862ca69006bc3fabf07e32660c46624" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CRLF' is never used", - "markdown": "Enum member 'CRLF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 9, - "charOffset": 341, - "charLength": 4, - "snippet": { - "text": "CRLF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 271, - "charLength": 135, - "snippet": { - "text": " [Sugar(\"\\r\\n\",28,IsLineEnding = true)]\n [Mode]\n CRLF,\n [Sugar(\"\\n\",28,IsLineEnding = true)]\n [Mode]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33606e6d46fdcc9ca38976c2ead821a560c2c271cfa9eff59e80efe32adbdc82" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryBool' is never used", - "markdown": "Method 'PrimaryBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 121, - "startColumn": 26, - "charOffset": 4233, - "charLength": 11, - "snippet": { - "text": "PrimaryBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 119, - "startColumn": 1, - "charOffset": 4131, - "charLength": 250, - "snippet": { - "text": " [Production(\"primary: TRUE\")]\n [Production(\"primary: FALSE\")]\n public ITemplate PrimaryBool(Token boolToken)\n {\n return new BoolConstant(bool.Parse(boolToken.StringWithoutQuotes) ? true : false);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "339d6436206cd271c0cba5908d331ea833c61a35fb9aa4c9dfe263dfebf85716" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 23, - "charOffset": 653, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 594, - "charLength": 154, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33b115ef91c59e2ae8e3d64fe508afc733df27665fbde39d9831526879f722b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryStringExpression' is never used", - "markdown": "Method 'binaryStringExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 25, - "charOffset": 1850, - "charLength": 22, - "snippet": { - "text": "binaryStringExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1735, - "charLength": 264, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33c49fae80d323d6fe9e15d9b6cecf0387d533b51fde5948487dc9647aeff832" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ReturnStmt' is never used", - "markdown": "Method 'ReturnStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 25, - "charOffset": 4232, - "charLength": 10, - "snippet": { - "text": "ReturnStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 4115, - "charLength": 212, - "snippet": { - "text": " \n [Production(\"statement: RETURN[d] IndentedWhileParserGeneric_expressions\")]\n public WhileAST ReturnStmt(Expression expression)\n {\n return new ReturnStatement(expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33ede8b2806f2d13d5ef98992f91cea43c0b0ce912d930d58365e55209ff9b0a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPEN_PAREN' is never used", - "markdown": "Enum member 'OPEN_PAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 164, - "startColumn": 5, - "charOffset": 2393, - "charLength": 10, - "snippet": { - "text": "OPEN_PAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 162, - "startColumn": 1, - "charOffset": 2353, - "charLength": 73, - "snippet": { - "text": " [Sugar(\"(\")]\n [Mode(\"code\")]\n OPEN_PAREN,\n \n [Sugar(\")\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3470f697cecdb8d078faab7d3b603dc6baa14196c2743a1baecc021814482ce5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Value' is never used", - "markdown": "Method 'Value' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 20, - "charOffset": 725, - "charLength": 5, - "snippet": { - "text": "Value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 704, - "charLength": 140, - "snippet": { - "text": "\n\n public OUT Value(string name)\n {\n return ItemsByName.ContainsKey(name) ? ItemsByName[name].Value : default(OUT);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "34cf030a8e02c009a8a10bb309d9fdd4ad239f36708d6faa7a51c195734ed749" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 21, - "charOffset": 1887, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1827, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "34f7620495fb9d92905679f384416f96036c37bad5cb3477000060716db24105" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 21, - "charOffset": 2332, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35750029ba2e04235f317b604331f7b4ba103b42d70af0ac6c72a01c447d61f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TOTO' is never used", - "markdown": "Enum member 'TOTO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 47, - "charOffset": 194, - "charLength": 4, - "snippet": { - "text": "TOTO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 88, - "charLength": 168, - "snippet": { - "text": " [Lexeme(GenericToken.Identifier)] ID = 20,\n \n [Lexeme(GenericToken.KeyWord,\"toto\")] TOTO = 23,\n\n [Lexeme(GenericToken.String)] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "359116623fa26497746fc4348dbe8b3cc8c78ed8887d10721b7ae96c36a961bd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Test164' is never used", - "markdown": "Method 'Test164' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 781, - "startColumn": 28, - "charOffset": 28162, - "charLength": 7, - "snippet": { - "text": "Test164" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 779, - "startColumn": 1, - "charOffset": 28124, - "charLength": 152, - "snippet": { - "text": " }\n\n public static void Test164() {\n var Parser = BuildParserExpression();\n var result = Parser.Result.Parse(\"1(1\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36958c46113d8951d5e19a12353c6a94b8ddcfcd3341fae4f5771ec2415bf8a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 23, - "charOffset": 1556, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1493, - "charLength": 180, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36ad909234bdf26b129a16cca45967ecd9a779e83d2ea4cae896304ad553433f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SET' is never used", - "markdown": "Enum member 'SET' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 48, - "charOffset": 454, - "charLength": 3, - "snippet": { - "text": "SET" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 350, - "charLength": 157, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"==\")] EQ = 4,\n\n [Lexeme(GenericToken.SugarToken, \"=\")] SET = 5,\n\n [Lexeme(GenericToken.Int)] INT = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36c8f160cf3089deefce7f598ddf86c1a7c5595174832e2edae890ed10b7af31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 48, - "charOffset": 635, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 473, - "charLength": 236, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37136c6c465665fff716c2050bda3e593f7256bf4746d4f5e1fd2b8041592b45" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryTermNumericExpression' is never used", - "markdown": "Method 'binaryTermNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 27, - "charOffset": 5219, - "charLength": 27, - "snippet": { - "text": "binaryTermNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 5024, - "charLength": 315, - "snippet": { - "text": " [Operation((int) TemplateLexer.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) TemplateLexer.MINUS, Affix.InFix, Associativity.Right, 10)]\n public Expression binaryTermNumericExpression(Expression left, Token operatorToken,\n Expression right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37259867e0bf063782f78e3c4e33ebfaeda531fc88b6dd51d83101e7f32add95" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'THEN' is never used", - "markdown": "Enum member 'THEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 28, - "charOffset": 184, - "charLength": 4, - "snippet": { - "text": "THEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 123, - "charLength": 108, - "snippet": { - "text": " [Lexeme(\"(if)\")] IF = 1,\n\n [Lexeme(\"(then)\")] THEN = 2,\n\n [Lexeme(\"(else)\")] ELSE = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37435b8bb059913318f295e6a29eed2e1b31ef000b9f3f43a96fa9db671d9cc8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 21, - "charOffset": 3663, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3589, - "charLength": 214, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, Token colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3782892a578774f4afd810f655f99d6364e47f65fb18935487375a870d380196" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DISCARD' is never used", - "markdown": "Enum member 'DISCARD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 30, - "charOffset": 362, - "charLength": 7, - "snippet": { - "text": "DISCARD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 254, - "charLength": 158, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 5,\n [Lexeme(\"^\\\\?\")] OPTION = 6,\n [Lexeme(\"^\\\\[d\\\\]\")] DISCARD = 7,\n\n [Lexeme(\"^\\\\(\")] LPAREN = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37b0fd210758496d0fbe3f51bc418e59f4452fe643d9134f5cc9fe92ad70c81e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 522, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 464, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37ee714cdae4aecf9e0a7135c8a2c373bfbbe4bff61667f55a760bdf53af2b67" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LBR' is never used", - "markdown": "Enum member 'LBR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 657, - "charLength": 3, - "snippet": { - "text": "LBR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 594, - "charLength": 126, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"[\")]\n LBR = 7,\n \n [Lexeme(GenericToken.SugarToken,\"]\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "383b07d91e3031ce480a5a3f1d9f417b87d8047ec949762019861162679278de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 21, - "charOffset": 3123, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3049, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "383cae761ba94a69e24747e650f6db4670fbe4a71f83f79b6baecbdebbbf5561" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 21, - "charOffset": 3128, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3054, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3842ec31a413455b151c6a6cf12c9ca927412c446476cb317dd99385813f3e2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 637, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 560, - "charLength": 137, - "snippet": { - "text": " private Dictionary Values { get; }\n\n public int Count => Values.Count;\n\n public JSon this[string key]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "384cfc780d5689d907934bdb264a03c21c109abd737b1a1f58b5e64129946551" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 672, - "charLength": 3, - "snippet": { - "text": "Add" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 641, - "charLength": 84, - "snippet": { - "text": " }\n\n public void Add(JSon item)\n {\n Items.Add(item);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38e7f63f8a383382a85c115dfea501a5fdf9236b74abe6ece12639c1f5ff8218" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 25, - "charOffset": 348, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 260, - "charLength": 164, - "snippet": { - "text": " [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38f2c9efd237c560822814669d49e497633ba6aaabe2ddc6bb02a91d30c82d13" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TIMES' is never used", - "markdown": "Enum member 'TIMES' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 173, - "startColumn": 23, - "charOffset": 3608, - "charLength": 5, - "snippet": { - "text": "TIMES" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 171, - "startColumn": 1, - "charOffset": 3584, - "charLength": 71, - "snippet": { - "text": "\n\n [Sugar( \"*\")] TIMES = 38,\n\n [Sugar( \"/\")] DIVIDE = 39," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38f59c4234a4b97790076d9d4301c78a99b7b85837488920899023fcc662eec5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JObject' is never used", - "markdown": "Constructor 'JObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 16, - "charOffset": 370, - "charLength": 7, - "snippet": { - "text": "JObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 344, - "charLength": 99, - "snippet": { - "text": " }\n\n public JObject(Dictionary dic)\n {\n Values = dic;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "39d676a9b87f127f8beffdb791cc05f7e5ec37b32f5385e187edda036534a90c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Template' is never used", - "markdown": "Method 'Template' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 26, - "charOffset": 398, - "charLength": 8, - "snippet": { - "text": "Template" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 332, - "charLength": 147, - "snippet": { - "text": "\n [Production(\"template: item*\")]\n public ITemplate Template(List items)\n {\n return new Template(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a40c2b624125a76efd9a7d8de3e2001caf231fa97ad3301b03991e03dc3a29c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 5, - "charOffset": 1323, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 1285, - "charLength": 65, - "snippet": { - "text": " [String()]\n [Mode(\"code\")]\n STRING,\n \n // [Int()]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a7359d03c62eb3786b01027cc01e32b7dc6c86b9ec7b06841f75e3174e225ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LEND' is never used", - "markdown": "Enum member 'LEND' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 9, - "charOffset": 562, - "charLength": 4, - "snippet": { - "text": "LEND" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 488, - "charLength": 135, - "snippet": { - "text": " LBEG = 6,\n [Lexeme(GenericToken.SugarToken,\"|E|\")]\n LEND = 7,\n [Lexeme(GenericToken.Int)]\n INT = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ab6901ca3aa7bfe9baa492eccdc315f54333fa742685b7bde055477efa1be52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 25, - "charOffset": 382, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 292, - "charLength": 166, - "snippet": { - "text": " [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3abe826738daf4c925ac345cde4c98be9f956c2097e3fee6ded8415820a355ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ThirdRecurse' is never used", - "markdown": "Method 'ThirdRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1617, - "startColumn": 23, - "charOffset": 54875, - "charLength": 12, - "snippet": { - "text": "ThirdRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1615, - "startColumn": 1, - "charOffset": 54797, - "charLength": 132, - "snippet": { - "text": " \n [Production(\"third : first COMMA[d]\")]\n public object ThirdRecurse(object o)\n {\n return o;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ad778cfcc6ba65e1e30fb8774fb597fb549376eddd9511e9777f391b8c761fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Kwobject' is never used", - "markdown": "Method 'Kwobject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 23, - "charOffset": 1918, - "charLength": 8, - "snippet": { - "text": "Kwobject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1832, - "charLength": 190, - "snippet": { - "text": "\n [Production(\"kw_args : kw_arg ( COMMA [d] kw_arg )*\")]\n public object Kwobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b01e67a9e3cdf835fdd4c0add6b0600173891634a6558802142bbfbc0e40877" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'token_property' is never used", - "markdown": "Constant 'token_property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 29, - "charOffset": 2267, - "charLength": 14, - "snippet": { - "text": "token_property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2125, - "charLength": 291, - "snippet": { - "text": " public const string in_double = \"in_double\";\n public const string in_identifier = \"in_identifier\";\n public const string token_property = \"token\";\n public const string DerivedToken = \"derivedToken\";\n public const string defaultIdentifierKey = \"identifier\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b72c77848831f72cbe6eddd6500ab1381d269b59c5e4a61a6c7dc4e96ea7104" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Block' is never used", - "markdown": "Method 'Block' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 20, - "charOffset": 2101, - "charLength": 5, - "snippet": { - "text": "Block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2017, - "charLength": 163, - "snippet": { - "text": "\n [Production(\"block : INDENT[d] statement* UINDENT[d]\")]\n public Ast Block(List statements)\n {\n return new Block(statements);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b76e9f6609575e2abcabe0b0dd66fec76b7338056ea61c7599261341512fe89" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Kwobject2' is never used", - "markdown": "Method 'Kwobject2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 23, - "charOffset": 4625, - "charLength": 9, - "snippet": { - "text": "Kwobject2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 4537, - "charLength": 172, - "snippet": { - "text": " \n [Production(\"kw_args : ( COMMA [d] kw_arg )* \")]\n public object Kwobject2(List> head )\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3bd121309d43cf7f360c5972a5230dac46eff776c0904dd97529ad009c65753b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 43, - "charOffset": 1644, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1567, - "charLength": 145, - "snippet": { - "text": " #region literals 20 -> 29\n\n [Lexeme(GenericToken.Identifier)] IDENTIFIER = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c37a8f45f7248af3df48648f89e492dcd938f481b6afe6e51856a110520c4ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOF' is never used", - "markdown": "Enum member 'EOF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 9, - "charOffset": 2570, - "charLength": 3, - "snippet": { - "text": "EOF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 2560, - "charLength": 37, - "snippet": { - "text": "\n\n EOF = 0\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3c3f9c572d15d941e1bbb80e0eb1ca994420e29cb18fd72c84292cef0bc3abce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryTermExpression' is never used", - "markdown": "Method 'BinaryTermExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 27, - "charOffset": 406, - "charLength": 20, - "snippet": { - "text": "BinaryTermExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 214, - "charLength": 360, - "snippet": { - "text": " [Operation((int) FormulaToken.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) FormulaToken.MINUS, Affix.InFix, Associativity.Left, 10)]\n public Expression BinaryTermExpression(Expression left, Token operation, Expression right)\n {\n return new BinaryOperation(left, operation.TokenID, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3cb8da6a71e2bbd52a8336d286e508f076521a6d81e6b398039f871bd43fe247" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 21, - "charOffset": 2370, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3db68edb14016ddd7dafa109a6a4c62b856f39ef4b6d80aa477ade7c2c439cd1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryString' is never used", - "markdown": "Method 'PrimaryString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 26, - "charOffset": 4467, - "charLength": 13, - "snippet": { - "text": "PrimaryString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 4393, - "charLength": 225, - "snippet": { - "text": " \n [Production(\"primary: STRING\")]\n public ITemplate PrimaryString(Token stringToken)\n {\n return new StringConstant(stringToken.StringWithoutQuotes, stringToken.Position);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3dcdd95a98b1273a1d91658afa25548c19ca83effcc90f8f8ac1f20e3f2b37e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 24, - "charOffset": 1067, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1006, - "charLength": 109, - "snippet": { - "text": " [Lexeme(\"\\\\.\")] CONCAT = 34,\n\n [Lexeme(\":=\")] ASSIGN = 35,\n\n [Lexeme(\"\\\\+\")] PLUS = 36," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3deb823b3d382ccfd5c9c4b133e1cbbce82ef60602cdfbb9cc795e6e3808b1e3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 43, - "charOffset": 1471, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1394, - "charLength": 145, - "snippet": { - "text": " #region literals 20 -> 29\n\n [Lexeme(GenericToken.Identifier)] IDENTIFIER = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e1937ddca029bc54f156e06fda5c2d3b10fef1420f0f9d7f51ab0bfa66411d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EQUALS' is never used", - "markdown": "Enum member 'EQUALS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 9, - "charOffset": 1867, - "charLength": 6, - "snippet": { - "text": "EQUALS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1810, - "charLength": 118, - "snippet": { - "text": "\n [Lexeme(GenericToken.SugarToken, \"==\")]\n EQUALS = 32,\n\n [Lexeme(GenericToken.SugarToken, \"!=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e2a68e0cd93198c7aac5f5958fc228e7160b01a1f8bdfb427b10b6fa4804a4b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 9, - "charOffset": 432, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 334, - "charLength": 171, - "snippet": { - "text": " DEFINE = 4,\n [Lexeme(GenericToken.Identifier,IdentifierType.AlphaNumeric)]\n ID = 5,\n [Lexeme(GenericToken.SugarToken,\"|B|\")]\n LBEG = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e3b3e10ea70f3b149b59238dd3f7ae4ea077b67fff46a113f638343e5abaca6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Statement' is never used", - "markdown": "Method 'Statement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 20, - "charOffset": 553, - "charLength": 9, - "snippet": { - "text": "Statement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 481, - "charLength": 139, - "snippet": { - "text": "\n [Production(\"statement: [set|ifthenelse]\")]\n public Ast Statement(Ast stat)\n {\n return stat as Statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e800e35020693f03d77652d3e6d50f72c53503d2a46259db0916c0f7e3e5846" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 21, - "charOffset": 2214, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2157, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3ed5cbde2a43a9efddb32c4c61b01d414f08f9cec62db3453c6a0e4fb2b6dfe1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 21, - "charOffset": 2388, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2325, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f04b4be727b5f1bf8438a72a417157892dd369ec5675bd21c34d100ac18b774" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 28, - "charOffset": 372, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 307, - "charLength": 114, - "snippet": { - "text": " [Lexeme(\"(skip)\")] SKIP = 6,\n\n [Lexeme(\"(true)\")] TRUE = 7,\n\n [Lexeme(\"(false)\")] FALSE = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f7f09500c0772afd59d729c4b2096f00a3c04cd9dcc9fe964cee36026aeeb09" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 43, - "charOffset": 1796, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1680, - "charLength": 132, - "snippet": { - "text": " [Lexeme(\"r\")] r = 21,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 100,\n [Lexeme(\"[\\\\r\\\\n]+\", true, true)] EOL = 101\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "400da9d6a847969e33e62a6518d50b0bc2acdcca61eb9f0fb3fdfd4ec6eb6662" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 58, - "charOffset": 667, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 476, - "charLength": 337, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken,channel:0, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken,channel:0, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken,channel:0, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken,channel:0, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord,channel:0, \"null\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4059de7e2f9103342c910e887e77d0f4f5f036346822353b93d1b7f0fd63712d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 34, - "charOffset": 247, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 130, - "charLength": 193, - "snippet": { - "text": " [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "40717f48effc61747ada57311c4e6fb59c71b1954d7bfb5a9a65217210565447" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PI' is never used", - "markdown": "Enum member 'PI' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 5, - "charOffset": 1197, - "charLength": 2, - "snippet": { - "text": "PI" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1165, - "charLength": 45, - "snippet": { - "text": " OPEN,\n [Sugar(\"\n\n [Sugar( \"(\")] LPAREN = 50,\n\n [Sugar( \")\")] RPAREN = 51," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "416844478f49b8f26e0d749b737bb076d40b753c36824f524399821672fb8dcb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'AND' is never used", - "markdown": "Enum member 'AND' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 131, - "startColumn": 9, - "charOffset": 2928, - "charLength": 3, - "snippet": { - "text": "AND" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 129, - "startColumn": 1, - "charOffset": 2876, - "charLength": 103, - "snippet": { - "text": "\n [Keyword( \"AND\")] [Keyword(\"and\")]\n AND = 10,\n\n [Keyword( \"OR\")] [Keyword(\"or\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41965569ee9f3a45794ff74cdf32a64bced77d26adf4286aeaf7814dfe002336" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 23, - "charOffset": 447, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 358, - "charLength": 195, - "snippet": { - "text": " [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41b87203f19d602fdc789a1c9e6ec5337fe9ed31c52505acb21e49f814326cb7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 43, - "charOffset": 943, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 883, - "charLength": 120, - "snippet": { - "text": " \n \n [Lexeme(GenericToken.Identifier)] ID = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41baff17f655667fd600233ed62cdab0f8733789f5d5ce7a612332a12e1a1a7c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 36, - "charOffset": 235, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 172, - "charLength": 130, - "snippet": { - "text": "\n // integer \n [Lexeme(GenericToken.Int)] INT = 3,\n\n [Lexeme(GenericToken.Identifier)] IDENTIFIER = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4207666a5c411d9912ccb3b48ba487e1684359ec163fe70b0288d84952d4c12b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 25, - "charOffset": 1341, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 1279, - "charLength": 113, - "snippet": { - "text": " [Lexeme(\"\\\\(\")] LPAREN = 50,\n\n [Lexeme(\"\\\\)\")] RPAREN = 51,\n\n [Lexeme(\";\")] SEMICOLON = 52," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "42446004299b4bd093322c7da9f90bd351780c538ae8e8c98bc7fa856603171b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sequence' is never used", - "markdown": "Method 'sequence' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 25, - "charOffset": 2830, - "charLength": 8, - "snippet": { - "text": "sequence" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2753, - "charLength": 178, - "snippet": { - "text": " \n [Production(\"sequence: statement*\")]\n public WhileAST sequence(List list)\n {\n var statements = list.Cast().ToList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4291512df1a3b9d20418f49c44468ea2b1d26a046a6a79f666ec75dcc2509241" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 9, - "charOffset": 2490, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2437, - "charLength": 109, - "snippet": { - "text": "\n [Keyword(\"ELSE\")] [Keyword(\"else\")]\n ELSE = 3,\n\n [Keyword(\"WHILE\")] [Keyword(\"while\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "429e789858cd6274610523245b00e6caaff782056f2d8f1d2b994be6348f7ddd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 21, - "charOffset": 2728, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2654, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "42aeb772513dad8bcec1355c85ee356206c65cfe60c8254cf83c5845dc1b2cde" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Position' is never used", - "markdown": "Property 'Position' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 30, - "charOffset": 827, - "charLength": 8, - "snippet": { - "text": "Position" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 751, - "charLength": 166, - "snippet": { - "text": " public Expression Right { get; set; }\n\n public LexerPosition Position { get; set; }\n\n public string GetValue(Dictionary context)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4340f290a35e9c2b1923d2f9daea5ce2e6443f4f045ba42bb6c7dd0455978002" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'KeywordArg' is never used", - "markdown": "Method 'KeywordArg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 23, - "charOffset": 2114, - "charLength": 10, - "snippet": { - "text": "KeywordArg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2033, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43a6ec4f513e806b2f8d51bdd6e3aa065f3e594a3aa47c2e15def71e0d96615f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 197, - "startColumn": 27, - "charOffset": 6783, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 195, - "startColumn": 1, - "charOffset": 6674, - "charLength": 280, - "snippet": { - "text": "\n [Operation((int) TemplateLexer.OR, Affix.InFix, Associativity.Right, 10)]\n public Expression binaryOrExpression(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, BinaryOperator.OR, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43beb9592772019e61297ebc86a0f2001f93d45581c7f03c84b6398e1f886dbb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 21, - "charOffset": 1976, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1919, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "447456530ed2824b907abf15e509f157ea0d0f132c017f175d559bcbcc1c896b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ManyMembers' is never used", - "markdown": "Method 'ManyMembers' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 21, - "charOffset": 3779, - "charLength": 11, - "snippet": { - "text": "ManyMembers" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3701, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44a0ba2309bc6a43fac7e40465b5d6a188b8a8306b179d0c064227b20bb63118" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 232, - "startColumn": 25, - "charOffset": 7585, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 230, - "startColumn": 1, - "charOffset": 7481, - "charLength": 238, - "snippet": { - "text": "\n [Operation((int) WhileToken.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44a8e9cf6db78dee8d28ae9022c1176770ad239d726918df1319fee92cd1bfee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 21, - "charOffset": 2206, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2143, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44aa0c9ad39f66e4ee0858ce844f57462886694bab0e60e3ef89352fa4f348ed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClauseExplicitDiscarded' is never used", - "markdown": "Method 'GroupClauseExplicitDiscarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 221, - "startColumn": 32, - "charOffset": 8500, - "charLength": 28, - "snippet": { - "text": "GroupClauseExplicitDiscarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 219, - "startColumn": 1, - "charOffset": 8406, - "charLength": 305, - "snippet": { - "text": " \n [Production(\"groupclause : STRING DISCARD \")]\n public GroupClause GroupClauseExplicitDiscarded(Token explicitToken, Token discarded)\n {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value, true, explicitToken:true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44b52129c60c87846b2cab780ad338c1b05b88087d0cdccd5740de7625e3c285" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OR' is never used", - "markdown": "Enum member 'OR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 9, - "charOffset": 2988, - "charLength": 2, - "snippet": { - "text": "OR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 2938, - "charLength": 106, - "snippet": { - "text": "\n [Keyword( \"OR\")] [Keyword(\"or\")]\n OR = 11,\n\n [Keyword( \"PRINT\")] [Keyword(\"print\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44c9ef1093292c0516f5d9103ca2bcec7887048ba41f1c11d1487c543ab879ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestRecursion' is never used", - "markdown": "Method 'TestRecursion' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 601, - "startColumn": 28, - "charOffset": 20334, - "charLength": 13, - "snippet": { - "text": "TestRecursion" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 599, - "startColumn": 1, - "charOffset": 20296, - "charLength": 136, - "snippet": { - "text": " }\n\n public static void TestRecursion()\n {\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44decc8fbd41db11291c9da66b61ea9833788bad940bcd7b5e2650be0c0ac555" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'unaryNumericExpression' is never used", - "markdown": "Method 'unaryNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 226, - "startColumn": 25, - "charOffset": 7686, - "charLength": 22, - "snippet": { - "text": "unaryNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 224, - "startColumn": 1, - "charOffset": 7562, - "charLength": 265, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4572b48388bdde8f6e1ef9279de808e83f4dc6e773b2c52ab5c329d392bfb97a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 9, - "charOffset": 2071, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2014, - "charLength": 128, - "snippet": { - "text": "\n [Lexeme(GenericToken.SugarToken, \":=\")]\n ASSIGN = 35,\n\n [Lexeme(GenericToken.SugarToken, \"+\")] PLUS = 36," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46655d9f2d7c36bae74c8a1fc9219e9a53aa7adbe619af2974b1e4483894dadf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 23, - "charOffset": 1587, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1524, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46ae093cd5df014c2449a2c615a0a7972c9c379263feccff2c71c30b73ad71e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 34, - "charOffset": 254, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 137, - "charLength": 193, - "snippet": { - "text": " [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46d5b10fb383e667cbe96ee50f3546974205a2c0c6f451c59026a2aadd39a88c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 23, - "charOffset": 414, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 324, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47e3e4c6f696d8092ae1321c248e935c790ffd902fb5427cb7b22602cf98c88f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 289, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 224, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "47f447057829aaebd517935c236b16b3a1a379f7f60e276e475e22d6c405b261" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PRINT' is never used", - "markdown": "Enum member 'PRINT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 137, - "startColumn": 9, - "charOffset": 3053, - "charLength": 5, - "snippet": { - "text": "PRINT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 135, - "startColumn": 1, - "charOffset": 2997, - "charLength": 87, - "snippet": { - "text": "\n [Keyword( \"PRINT\")] [Keyword(\"print\")]\n PRINT = 12,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "48476d52687d22b437ffbddcd608b4de33ddf87483109eed9e2aeaa073fffd4e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryComparisonExpression' is never used", - "markdown": "Method 'binaryComparisonExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 25, - "charOffset": 625, - "charLength": 26, - "snippet": { - "text": "binaryComparisonExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 432, - "charLength": 336, - "snippet": { - "text": " [Operation((int) WhileToken.EQUALS, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) WhileToken.DIFFERENT, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryComparisonExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.ADD;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "487c378bfe3bc769916ede24fa767a032682d8de17a27b1f32808b53536b6b7b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 21, - "charOffset": 2548, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4880602e61d4342465f833c9cd1cef333cd9f9d6f7157a2aa10cfba7578a69c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2907, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2825, - "charLength": 174, - "snippet": { - "text": "\n [Production(\"listElements: value additionalValue*\")]\n public JSon listElements(JSon head, List tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "48b8789025dfc856510490bbe8f177584346cb7d7f4cf8f8a99df48a332dd261" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClausesOne' is never used", - "markdown": "Method 'GroupClausesOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 191, - "startColumn": 32, - "charOffset": 7428, - "charLength": 15, - "snippet": { - "text": "GroupClausesOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 189, - "startColumn": 1, - "charOffset": 7345, - "charLength": 157, - "snippet": { - "text": "\n [Production(\"groupclauses : groupclause\")]\n public GroupClause GroupClausesOne(GroupClause group)\n {\n return group;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "48f80e93b255e9d5ec692c9f7d4a0a799211dc7776c0667401e13293315afbfa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestStatement' is never used", - "markdown": "Method 'TestStatement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 247, - "charLength": 13, - "snippet": { - "text": "TestStatement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 161, - "charLength": 152, - "snippet": { - "text": " {\n [Production(\"test : LBEG [d] fun_call LEND [d]\")]\n public object TestStatement(object statement)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "49ae68a2bc2db50474f80a9e967b14693bb603a8ccdfb72f35895b615b3f47ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryString' is never used", - "markdown": "Method 'PrimaryString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 25, - "charOffset": 5276, - "charLength": 13, - "snippet": { - "text": "PrimaryString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 5211, - "charLength": 198, - "snippet": { - "text": "\n [Production(\"primary: STRING\")]\n public WhileAST PrimaryString(Token stringToken)\n {\n return new StringConstant(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4a70ab6c7e973f10f7d66adeed032596d524e6da0cce5da119bca5763a4aef5f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 23, - "charOffset": 798, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 736, - "charLength": 144, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n double dbl;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4acecf444e385098f3d4c9f8874f8f8083e2733f6a0b670075e89192b70868be" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'arith' is never used", - "markdown": "Method 'arith' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 23, - "charOffset": 5044, - "charLength": 5, - "snippet": { - "text": "arith" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 4940, - "charLength": 168, - "snippet": { - "text": " [Production(\"arith_expr: ID\")]\n [Production(\"arith_expr: STRING\")]\n public object arith(Token tok)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4af1b9461cb513f8fb749d50a528b9bf2ab5dfa353d1d7704957b41a462aecd4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 21, - "charOffset": 2330, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2253, - "charLength": 153, - "snippet": { - "text": "\n [Production(\"object: ACCG[d] members ACCD[d]\")]\n public JSon AttributesObjectValue(JObject members)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b5573e9391df4115260021835bb446bf65ad140226a802ac06eb58746107d7d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 131, - "startColumn": 21, - "charOffset": 3348, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 129, - "startColumn": 1, - "charOffset": 3283, - "charLength": 143, - "snippet": { - "text": "\n [Production(\"listElements: value\")]\n public JSon ListElementsOne(JSon element)\n {\n return new JList(element);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b828b6140979e3e61224f8c01858d04193b87f85c962c5f5e7cde5a62ef1d55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 21, - "charOffset": 2014, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1957, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ba827cda92e2a10002e5920cd2cf98798da7c572e3831abd95109d54bf41705" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 58, - "charOffset": 804, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 610, - "charLength": 211, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken,channel:0, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken,channel:0, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord,channel:0, \"null\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c26b047f0c376a3e42001e79ff7551a11ccfa769f15963142ab851d32162027" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 48, - "charOffset": 584, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 423, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c480ac25709575d705c80db6438cb0f4eba1b913faa4e701e9fa8c0dad5c6ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 21, - "charOffset": 3765, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3688, - "charLength": 200, - "snippet": { - "text": "\n [Production(\"property: STRING COLON[d] value\")]\n public JSon property(Token key, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c6847557aeac57f2eb099fa5a92751f5bba2ecbd693c1d78f743f704c99d5a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'If' is never used", - "markdown": "Method 'If' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 26, - "charOffset": 1554, - "charLength": 2, - "snippet": { - "text": "If" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1410, - "charLength": 207, - "snippet": { - "text": "\n [Production(\"if : OPEN_CODE[d] IF[d] OPEN_PAREN[d] TemplateParser_expressions CLOSE_PAREN[d] CLOSE_CODE[d]\")]\n public ITemplate If(ITemplate condition)\n {\n return condition;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4cd00cd26fa448e88931820ab18afa9790687baa67a926640e3fea4e60092e40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 23, - "charOffset": 3858, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3782, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d819a1d43ccb9b22de4c0c79c9cc1486f39b68a675aefe678427eaacba9a9b7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 18, - "charOffset": 3174, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3121, - "charLength": 90, - "snippet": { - "text": " [AlphaId] IDENTIFIER = 20,\n\n [String] STRING = 21,\n\n [Int] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4db536fa61fa7ce16ae8854f457068fdd45e338243b24e5fb865a3210e97b265" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'test104' is never used", - "markdown": "Method 'test104' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 477, - "startColumn": 28, - "charOffset": 15275, - "charLength": 7, - "snippet": { - "text": "test104" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 475, - "startColumn": 1, - "charOffset": 15237, - "charLength": 104, - "snippet": { - "text": " }\n\n public static void test104()\n {\n EBNFTests tests = new EBNFTests();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e31fb61e4f6e34e3549155c429a3f0d9e65f2a58094ba4d2aa72329eed01ba6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'ParserBuilder' is never used", - "markdown": "Constructor 'ParserBuilder' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 16, - "charOffset": 986, - "charLength": 13, - "snippet": { - "text": "ParserBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 960, - "charLength": 74, - "snippet": { - "text": " }\n\n public ParserBuilder() : this(null)\n {\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e5b6b95f11ac3970ad9b95142ada5725b657bca353d441cfa4d6754c991b19d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Block' is never used", - "markdown": "Method 'Block' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 20, - "charOffset": 2115, - "charLength": 5, - "snippet": { - "text": "Block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2031, - "charLength": 163, - "snippet": { - "text": "\n [Production(\"block : INDENT[d] statement* UINDENT[d]\")]\n public Ast Block(List statements)\n {\n return new Block(statements);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ec6bbed1060ac1265d28c225c3358b4d52d5ce8154144ef7f31fe3629deda66" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'escape_char' is never used", - "markdown": "Constant 'escape_char' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 29, - "charOffset": 2506, - "charLength": 11, - "snippet": { - "text": "escape_char" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2352, - "charLength": 283, - "snippet": { - "text": " public const string defaultIdentifierKey = \"identifier\";\n public const string escape_string = \"escape_string\";\n public const string escape_char = \"escape_char\";\n public const string in_up_to = \"in_upto\";\n public const string end_date = \"end_date\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f08815d04b191219524d7af96f9178b6de70b9fa38af1b0861bc49708a8daf3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 282, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 178, - "charLength": 179, - "snippet": { - "text": " [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f0f08d6bfeb04e057326bc0194d289342cb02de4effe568fe7497dc1ebee717" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 48, - "charOffset": 701, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 537, - "charLength": 181, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f4a2a264bfd16f454af27e2ad2e813805a51a191ac18d2774559046a6929563" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Merge' is never used", - "markdown": "Method 'Merge' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 28, - "charOffset": 211, - "charLength": 5, - "snippet": { - "text": "Merge" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 127, - "charLength": 246, - "snippet": { - "text": " public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)\n {\n foreach (var item in merge) me[item.Key] = item.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f8f56fed3790da6cc63d6a34b1d2f6a58771f9dc7761d780f75f68e27f368d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Indexer 'this' is never used", - "markdown": "Indexer 'this' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 537, - "charLength": 4, - "snippet": { - "text": "this" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 475, - "charLength": 120, - "snippet": { - "text": " public int Count => Items.Count;\n\n public JSon this[int index]\n {\n get => Items[index];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4f9962140c3f804ca94bb567e62f4a4b5ee44a3f652b7464d1e13733a3305b95" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandDouble' is never used", - "markdown": "Method 'OperandDouble' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 23, - "charOffset": 2322, - "charLength": 13, - "snippet": { - "text": "OperandDouble" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2252, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"primary_value : DOUBLE\")]\n public double OperandDouble(Token value)\n {\n return value.DoubleValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4fc4eed331947c61fbe0cd8682d6f1e24f50d16c9763c9a1b5bb371959be35f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ComputeIndentationSize' is never used", - "markdown": "Method 'ComputeIndentationSize' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 159, - "startColumn": 20, - "charOffset": 4478, - "charLength": 22, - "snippet": { - "text": "ComputeIndentationSize" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 157, - "startColumn": 1, - "charOffset": 4457, - "charLength": 120, - "snippet": { - "text": "\n\n public int ComputeIndentationSize(ReadOnlyMemory source, int index)\n {\n int count = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4fcc18fb30f6ba08a1feddaceff4e54be20e782f829ecd2406ad148229ebda88" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 98, - "startColumn": 5, - "charOffset": 1425, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 96, - "startColumn": 1, - "charOffset": 1390, - "charLength": 87, - "snippet": { - "text": " [Int()]\n [Mode(\"code\")]\n INT,\n \n [Lexeme(GenericToken.KeyWord, \"TRUE\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "507d692539ae0ea89e3b78b4ef9a760333074644d683ea0c8dc518ff48559404" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'fori' is never used", - "markdown": "Method 'fori' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 26, - "charOffset": 1987, - "charLength": 4, - "snippet": { - "text": "fori" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 1830, - "charLength": 361, - "snippet": { - "text": "\n [Production(\"item : OPEN_CODE[d] FOR[d] INT RANGE[d] INT AS[d] ID CLOSE_CODE[d] item* OPEN_CODE[d] END[d] CLOSE_CODE[d]\")]\n public ITemplate fori(Token start, Token end, Token iterator, List items)\n {\n return new ForI(start.IntValue, end.IntValue, iterator.Value, items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "509c7af605a4551c34a80088aa4bdae62cb64850ca3789f49e5c5628e7f9d65c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 58, - "charOffset": 600, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 409, - "charLength": 337, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken,channel:0, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken,channel:0, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken,channel:0, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken,channel:0, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken,channel:0, \":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "512fcbfc570fd4e080c85b5ec8ef86b004f6ba9f5fe5890868efcffdf46aeefb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 21, - "charOffset": 798, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 738, - "charLength": 142, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n double dbl;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "515e2d1c4479c89d120eb5e335555e9b88ad3864881ca923e2cc4913dba71e95" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 20, - "charOffset": 1255, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1194, - "charLength": 139, - "snippet": { - "text": "\n [Production(\"root: statement*\")]\n public Ast Root(List statements)\n {\n return new Block(statements);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "516ef89a68a08a88c811df4ffa273382247d5825f409a57e8d9496c9dbc3884a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 188, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 110, - "charLength": 139, - "snippet": { - "text": " {\n [Lexeme(GenericToken.Identifier, IdentifierType.Alpha)]\n ID = 1,\n\n [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "51a93d77ce87f218797c72171cd26030755083936ad5665d3895a0651bbcace6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 5, - "charOffset": 1036, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 991, - "charLength": 77, - "snippet": { - "text": " [Keyword(\"else\")]\n [Mode(\"code\")]\n ELSE,\n \n [Keyword(\"for\")] " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "51d69378a0d8c6000e48cdae523edbb69bfd797f5e71c3bbfb654c8247bc77b7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 25, - "charOffset": 1303, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1250, - "charLength": 103, - "snippet": { - "text": " #region sugar 50 ->\n\n [Lexeme(\"\\\\(\")] LPAREN = 50,\n\n [Lexeme(\"\\\\)\")] RPAREN = 51," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "523ebd245b0b947931c31793d5d47c4ef16c90a40166283b6c0a08eae519c423" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'ExpressionContext' is never used", - "markdown": "Constructor 'ExpressionContext' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/ExpressionContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 16, - "charOffset": 208, - "charLength": 17, - "snippet": { - "text": "ExpressionContext" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 129, - "charLength": 166, - "snippet": { - "text": " private readonly Dictionary Variables;\n\n public ExpressionContext()\n {\n Variables = new Dictionary();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52688911d1700f140999d3c5f4ced0bbab25583354066a1e8d883d8b1e0a51e0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoiceOneOrMore' is never used", - "markdown": "Method 'ChoiceOneOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 28, - "charOffset": 5439, - "charLength": 15, - "snippet": { - "text": "ChoiceOneOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 5346, - "charLength": 238, - "snippet": { - "text": " \n [Production(\"clause : choiceclause ONEORMORE \")]\n public IClause ChoiceOneOrMore(ChoiceClause choices,Token discardOneOrMore)\n {\n return new OneOrMoreClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52ccacd4cf0ac452bafe6ae2f806358b7127fa66f0acd4acff4cfd537cb70f30" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransitionTo' is never used", - "markdown": "Method 'AnyTransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 580, - "startColumn": 35, - "charOffset": 19269, - "charLength": 15, - "snippet": { - "text": "AnyTransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 578, - "startColumn": 1, - "charOffset": 19224, - "charLength": 170, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransitionTo(string toNodeMark, TransitionPrecondition precondition)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52dc6543a46040ce5e2de0c51dab6ad1ed5e27ea9bf01f748e9c3ea18376d33d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SEMICOLON' is never used", - "markdown": "Enum member 'SEMICOLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 185, - "startColumn": 23, - "charOffset": 3800, - "charLength": 9, - "snippet": { - "text": "SEMICOLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 183, - "startColumn": 1, - "charOffset": 3742, - "charLength": 75, - "snippet": { - "text": " [Sugar( \")\")] RPAREN = 51,\n\n [Sugar( \";\")] SEMICOLON = 52,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "532e24b35d0d6dd2643e0a355e225de893959111d23b142dac09e49d4130b652" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 24, - "charOffset": 3364, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 3278, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public JObject Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "540e0006d93741909245379e6ed9360597fce645960b074521486f44ece5ba15" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsList' is never used", - "markdown": "Property 'IsList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 29, - "charOffset": 156, - "charLength": 6, - "snippet": { - "text": "IsList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 71, - "charLength": 204, - "snippet": { - "text": " {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5413592989026dd81602796dc2e75c853d39282f3d736f6e8a345c0dfeaba905" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 282, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 178, - "charLength": 179, - "snippet": { - "text": " [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5420275f8307faebe846c9ab8975d59f2a5c545d638e3af450821166e4337559" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'a' is never used", - "markdown": "Method 'a' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 23, - "charOffset": 1105, - "charLength": 1, - "snippet": { - "text": "a" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1005, - "charLength": 146, - "snippet": { - "text": " [Production(\"arg : kw_arg\")]\n [Production(\"arg : arith_expr\")]\n public object a(object v)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5436dbbb0708dea8f3d28fdf440625aca14763fc5727f861a59a6297275886fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 668, - "charLength": 3, - "snippet": { - "text": "Add" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 637, - "charLength": 84, - "snippet": { - "text": " }\n\n public void Add(JSon item)\n {\n Items.Add(item);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "54a46dd15805c6cb1d0546abeded9307ea22ae2cf67d11356012fca659029dd4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'argies' is never used", - "markdown": "Method 'argies' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 23, - "charOffset": 3232, - "charLength": 6, - "snippet": { - "text": "argies" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3157, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "54d90e6c72186c1ab79bdb92cd3fbd0005f938f1a5c34a2eda794722f28eba97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 28, - "charOffset": 581, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 459, - "charLength": 139, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "54ea2a506cb45c765ec4cc7acdaa116cddb00310bc3f95bda6942199bcd122ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ManyMembers' is never used", - "markdown": "Method 'ManyMembers' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 21, - "charOffset": 3797, - "charLength": 11, - "snippet": { - "text": "ManyMembers" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3719, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "553539a9f67808cbffa3f688d194867d929d18638c1f7e0eaa15af2c64e0ce97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 23, - "charOffset": 623, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 564, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "55428712a3f0ae73368b325f6738f74fd0cb2d00111e7fd80665ed780686d112" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 853, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 796, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5616a7b1fb966b8ee93005a3a8d903d8707a25ab8f6594f807c5de4e4ffc6e48" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'MyChar' is never used", - "markdown": "Enum member 'MyChar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 9, - "charOffset": 1943, - "charLength": 6, - "snippet": { - "text": "MyChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 1843, - "charLength": 154, - "snippet": { - "text": " [Lexeme(GenericToken.Char,\"'\",\"\\\\\")]\n// [Lexeme(GenericToken.Char,\"|\",\"\\\\\")]\n MyChar\n\n// [Lexeme(GenericToken.Char,\"|\",\"\\\\\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "562ba81a1212d6e69f6173c2ea35723cd22e3b816ecf8f4a9b59cfcea19e8354" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Expression_Term' is never used", - "markdown": "Method 'Expression_Term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 20, - "charOffset": 1147, - "charLength": 15, - "snippet": { - "text": "Expression_Term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1085, - "charLength": 132, - "snippet": { - "text": "\n [Production(\"expression : term\")]\n public int Expression_Term(int termValue)\n {\n return termValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56536c48cfa426d48190be1ed15cbd9a32b1cad2a934c33e358a3f1fb7f9b353" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 36, - "charOffset": 222, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 87, - "charLength": 200, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "56609279bc02a9c64168ac81398eddaa7da8dadf2a6cf04684e7830d4a44b5c7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CompoundElement' is never used", - "markdown": "Method 'CompoundElement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 23, - "charOffset": 1472, - "charLength": 15, - "snippet": { - "text": "CompoundElement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1368, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"element : opentag [element|pi|comment|content]* closetag\")]\n public string CompoundElement(string open, List subs, string close)\n {\n StringBuilder b = new StringBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "571fe8fa5faf17bccbd7d502d1097d30de38c172b35609408fa64c41c196dbaf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CONCAT' is never used", - "markdown": "Enum member 'CONCAT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 163, - "startColumn": 23, - "charOffset": 3457, - "charLength": 6, - "snippet": { - "text": "CONCAT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 161, - "startColumn": 1, - "charOffset": 3410, - "charLength": 83, - "snippet": { - "text": " DIFFERENT = 33,\n\n [Sugar( \".\")] CONCAT = 34,\n\n [Sugar( \":=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "573e34c9bd1bdb01df250a98fd333feab95903ee6fde7a6dffc781794e6f7146" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 871, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 814, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "575f7d676b95ad41a5bcfc59db4f2aca90a8398549f9cf302ef996059b3a20ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Item.set' is never used", - "markdown": "Accessor 'Item.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 612, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 557, - "charLength": 94, - "snippet": { - "text": " {\n get => Items[index];\n set => Items[index] = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "57e727a5e2ff772b7c593b140df4240ccdbe90a3fe3e48d0589d5e33a63ac4ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 43, - "charOffset": 551, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 432, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58584cbe84844794b92417a11a25d047df5c2727b984958ba4f364aa9203a1f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 23, - "charOffset": 414, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 324, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5870d0b627d1e4fad95dd4a4dd62c5a2ea4b9939add32b105d5dd57802a98406" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 21, - "charOffset": 2538, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58e5cc2928162e97ae3ed1f1e5601e11c45e47f84ea0fba63e65952195a0a64a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'ModeAttribute' is never used", - "markdown": "Constructor 'ModeAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 16, - "charOffset": 386, - "charLength": 13, - "snippet": { - "text": "ModeAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 352, - "charLength": 107, - "snippet": { - "text": " }\n \n public ModeAttribute(params string[] modes)\n {\n Modes = modes;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "59a532b635c763c940e17fef07d2c651b42ee0bec4a50588680f0d090017d617" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoicesMany' is never used", - "markdown": "Method 'ChoicesMany' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 28, - "charOffset": 3583, - "charLength": 11, - "snippet": { - "text": "ChoicesMany" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3490, - "charLength": 271, - "snippet": { - "text": " \n [Production(\"choices : IDENTIFIER OR choices \")]\n public IClause ChoicesMany(Token head, Token discardOr, ChoiceClause tail)\n {\n var headClause = BuildTerminalOrNonTerimal(head.Value); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a2474a141ef627e4288cf3561cb00cc5dd17f2c3eb0721c2a4ccb10fe55a34d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIFFERENT' is never used", - "markdown": "Enum member 'DIFFERENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 9, - "charOffset": 1937, - "charLength": 9, - "snippet": { - "text": "DIFFERENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1880, - "charLength": 133, - "snippet": { - "text": "\n [Lexeme(GenericToken.SugarToken, \"!=\")]\n DIFFERENT = 33,\n\n [Lexeme(GenericToken.SugarToken, \".\")] CONCAT = 34," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a55a7578aa84f8eb4acaa646ea0e19396953d07a22f26329ebbc10ccb583d70" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 970, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 881, - "charLength": 129, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 11,\n \n [Sugar(\",\")]COMMA=12,\n // a variable\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5accdd4a0b956d7e87494664c89c8966245d1b34a87f4a5d9c9de4419ca68418" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Add' is never used", - "markdown": "Method 'Add' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 21, - "charOffset": 1830, - "charLength": 3, - "snippet": { - "text": "Add" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 1799, - "charLength": 104, - "snippet": { - "text": " }\n\n public void Add(Statement statement)\n {\n Statements.Add(statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ad53dfaed24eed101daa4bad1fb019ee3224dace2a10dabec3303a65632568e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Group' is never used", - "markdown": "Method 'Group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 20, - "charOffset": 356, - "charLength": 5, - "snippet": { - "text": "Group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 270, - "charLength": 148, - "snippet": { - "text": "\n [Production(\"primary: LPAREN [d] expression RPAREN [d]\")]\n public int Group(int groupValue)\n {\n return groupValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b3d06eaf9734c43041589058b3fc3c34eeb1da1fe32c5228ca9fc1f537613a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestManyString' is never used", - "markdown": "Method 'TestManyString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 711, - "startColumn": 28, - "charOffset": 25157, - "charLength": 14, - "snippet": { - "text": "TestManyString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 709, - "startColumn": 1, - "charOffset": 25128, - "charLength": 146, - "snippet": { - "text": "\n\n public static void TestManyString()\n {\n var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b46481f18e11357548eecf537ef04afe26f6cd69ba4008beff04f0a3dfa5ff0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 245, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 182, - "charLength": 157, - "snippet": { - "text": " {\n [Lexeme(@\"-?((\\d+([.]\\d+)?)|([.]\\d+))\")]\n DOUBLE = 1,\n [Lexeme(\"[A-Z]\")] WORD_CHAR = 2,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b5ea7f97e2c8ed1b18d613c87edd5994638091af633631d62463c3e1d973902" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 48, - "charOffset": 463, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 302, - "charLength": 285, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c025d5803250dfe8e366f6fa3db79ef880ba589a8b06e7c380db6685d3bbca9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 435, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 375, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c342145410dc35d8b1787b4794966c79296118f53cf245d7ee083aff0541205" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsList' is never used", - "markdown": "Property 'IsList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 29, - "charOffset": 145, - "charLength": 6, - "snippet": { - "text": "IsList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 60, - "charLength": 204, - "snippet": { - "text": " {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5c6c0aec06ad61852a1df51fa3693fb8dbfe4c16e2cc62465d23aa6fb0f0acd1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 183, - "startColumn": 23, - "charOffset": 3764, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 181, - "startColumn": 1, - "charOffset": 3706, - "charLength": 109, - "snippet": { - "text": " [Sugar( \"(\")] LPAREN = 50,\n\n [Sugar( \")\")] RPAREN = 51,\n\n [Sugar( \";\")] SEMICOLON = 52," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5cff8c4a26d8d865912be1b48e9cee4407a7a388d3ac189e8d916ed1fb2f2b94" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 39, - "charOffset": 1700, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1602, - "charLength": 156, - "snippet": { - "text": " [Lexeme(GenericToken.Identifier)] IDENTIFIER = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5d33865503c8dcb1256e9912fbc9669721e5eec9abe20313d54e329c05ee1d53" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Transition' is never used", - "markdown": "Method 'Transition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 216, - "startColumn": 35, - "charOffset": 5623, - "charLength": 10, - "snippet": { - "text": "Transition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 214, - "startColumn": 1, - "charOffset": 5570, - "charLength": 195, - "snippet": { - "text": " }\n \n public FSMLexerBuilder Transition(char[] inputs, TransitionPrecondition precondition)\n {\n return TransitionTo(inputs, Fsm.NewNodeId, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5dfd247e620ab60170ccd496adb9c08a591fd7f681d9fcc6b05d0d4f0d28dfe7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransitionTo' is never used", - "markdown": "Method 'MultiRangeTransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 457, - "startColumn": 35, - "charOffset": 14797, - "charLength": 22, - "snippet": { - "text": "MultiRangeTransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 455, - "startColumn": 1, - "charOffset": 14744, - "charLength": 188, - "snippet": { - "text": " }\n \n public FSMLexerBuilder MultiRangeTransitionTo(string toNodeMark, params (char start, char end)[] ranges)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e649322c25acf4e573a1738e273bc8ebac0321f4b85b87c4a2bed11458e3aab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Value' is never used", - "markdown": "Method 'Value' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 20, - "charOffset": 542, - "charLength": 5, - "snippet": { - "text": "Value" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 521, - "charLength": 78, - "snippet": { - "text": "\n\n public OUT Value(int i)\n {\n return Items[i].Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5e9f2c7d4cfbc67ddfe73db987b5ebea8b0a3ec7793522e2cbcc70ec2f22b5ff" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 39, - "charOffset": 168, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 74, - "charLength": 150, - "snippet": { - "text": " {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f31f2b0ea93ce16da3d9383b89652f821647f02e573dfbab47d35a2090ae316" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsString' is never used", - "markdown": "Property 'IsString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 253, - "charLength": 8, - "snippet": { - "text": "IsString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 186, - "charLength": 139, - "snippet": { - "text": " public override bool IsValue => true;\n\n public bool IsString => value is string;\n\n public bool IsInt => value is int;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5f70a6abba291bbdc683cb7d77294f490cd63354a2496e141669d947f70d5e6e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'StringWithoutQuotes' is never used", - "markdown": "Property 'StringWithoutQuotes' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 213, - "startColumn": 23, - "charOffset": 6255, - "charLength": 19, - "snippet": { - "text": "StringWithoutQuotes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 211, - "startColumn": 1, - "charOffset": 6211, - "charLength": 89, - "snippet": { - "text": "\n [JsonIgnore]\n public string StringWithoutQuotes\n {\n get" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5fa772df1dc37d33b7da20254a2bc3053b56fc74c1b24a0a06a6e399cadceb6b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'whileStmt' is never used", - "markdown": "Method 'whileStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 25, - "charOffset": 3477, - "charLength": 9, - "snippet": { - "text": "whileStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3357, - "charLength": 261, - "snippet": { - "text": "\n [Production(\"statement: WHILE[d] IndentedWhileParserGeneric_expressions DO[d] block\")]\n public WhileAST whileStmt(WhileAST cond, WhileAST blockStmt)\n {\n var stmt = new WhileStatement(cond as Expression, blockStmt as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5facafd68469d58578f0fc34f565771e44f20a867995b4880763a88163324696" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'R' is never used", - "markdown": "Method 'R' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 30, - "charOffset": 2246, - "charLength": 1, - "snippet": { - "text": "R" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2145, - "charLength": 162, - "snippet": { - "text": " [Production(\"R : A b c \")]\n [Production(\"R : Rec b c \")]\n public static object R(List args)\n {\n var result = \"R(\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "604f1c3b5d32883d24948b24af4892dcb2a578106829b5e46e4540744a484260" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 21, - "charOffset": 2356, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60581b59a1e31ab0265a202dc7cce28316411b78a9c4253bde18b2a6a53e24c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 23, - "charOffset": 1569, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1506, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "609c1336c3fc66487fb8e16621f91bff7f71adacf71ab7b1b0353cc6dd88f230" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sequenceStatements' is never used", - "markdown": "Method 'sequenceStatements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 25, - "charOffset": 2688, - "charLength": 18, - "snippet": { - "text": "sequenceStatements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2592, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"sequence : statementPrim additionalStatements*\")]\n public WhileAST sequenceStatements(WhileAST first, List next)\n {\n var seq = new SequenceStatement(first as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60b92e2cd90e92851170457cdceaeac7384c934f729c9d1f0d01295c63ea63b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryTermExpression' is never used", - "markdown": "Method 'BinaryTermExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 20, - "charOffset": 392, - "charLength": 20, - "snippet": { - "text": "BinaryTermExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 201, - "charLength": 335, - "snippet": { - "text": " [Operation((int) ExpressionToken.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) ExpressionToken.MINUS, Affix.InFix, Associativity.Left, 10)]\n public int BinaryTermExpression(int left, Token operation, int right,Dictionary context)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60bd6b68f2cfb6ca9420eec5ab3b1d6ba1d3b28900461225513ab0c249c92820" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Document' is never used", - "markdown": "Method 'Document' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 23, - "charOffset": 270, - "charLength": 8, - "snippet": { - "text": "Document" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 192, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"document : misc* element misc*\")]\n public string Document(List startingMiscs, string root, List endingMiscs)\n {\n var b = new StringBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60ef9331ff31d0d2b853b46044272eb80406617bbd7df338b0c0f0065f8cbad7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 9, - "charOffset": 1876, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1844, - "charLength": 78, - "snippet": { - "text": "\n [Sugar( \":=\")]\n ASSIGN = 35,\n\n [Sugar( \"+\")] PLUS = 36," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "610e26224ae82f2cf9e9339a655b57e4fbcf457b035208d44185c57c5e316a5b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Group' is never used", - "markdown": "Method 'Group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 27, - "charOffset": 621, - "charLength": 5, - "snippet": { - "text": "Group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 536, - "charLength": 228, - "snippet": { - "text": "\n [Production(\"primary: LPAREN expression RPAREN\")]\n public Expression Group( Token forget, Expression groupValue, Token ignore)\n {\n return new Group(groupValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "616f053f94b071f8b941470930a3f1a7aedc5e44661dc3ada7cd725cbe3dcd93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 43, - "charOffset": 544, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61961e1233a19c407cf49cd7efafae68a0b3fbd4ad43dfa9904db33b140f7209" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAR' is never used", - "markdown": "Enum member 'RPAR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 9, - "charOffset": 584, - "charLength": 4, - "snippet": { - "text": "RPAR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 521, - "charLength": 127, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\")\")]\n RPAR = 6,\n \n [Lexeme(GenericToken.SugarToken,\"[\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "621788b7d424272d13f5f0fc709821291d0b9690787d961795154fcf8b8e9e33" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SP' is never used", - "markdown": "Enum member 'SP' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 213, - "charLength": 2, - "snippet": { - "text": "SP" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 166, - "charLength": 91, - "snippet": { - "text": " [Sugar(\" \",28)]\n [Mode]\n SP,\n [Sugar(\"\\t\", 28)]\n [Mode]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "625bf3fbd3c0be9eff986220e92e574e9ec45a08bddc5778b77e049b1d7fe3cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 48, - "charOffset": 694, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 530, - "charLength": 181, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62b54133e1cd48673498adbcd90e40e934abaaf3606b763263d8a28c1146ca08" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JList' is never used", - "markdown": "Constructor 'JList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 198, - "charLength": 5, - "snippet": { - "text": "JList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 172, - "charLength": 82, - "snippet": { - "text": " }\n\n public JList(List lst)\n {\n Items = lst;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "633c543fe94618e8c9014428b576b04ddd188999e4f556db682f2aba23448921" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryTermNumericExpression' is never used", - "markdown": "Method 'binaryTermNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 177, - "startColumn": 25, - "charOffset": 5909, - "charLength": 27, - "snippet": { - "text": "binaryTermNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 175, - "startColumn": 1, - "charOffset": 5692, - "charLength": 345, - "snippet": { - "text": " [Operation((int) IndentedWhileTokenGeneric.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) IndentedWhileTokenGeneric.MINUS, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryTermNumericExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "639bdb6389e015d7a08b6b9019b77326e87acbd624450d26484654f1dfdf2082" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 37, - "charOffset": 166, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 67, - "charLength": 192, - "snippet": { - "text": " {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63ec67cedd809356e4f7f6d50ec53af31cf02a275f3e17f6c9c3b389db89440c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsNone' is never used", - "markdown": "Property 'IsNone' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 21, - "charOffset": 1292, - "charLength": 6, - "snippet": { - "text": "IsNone" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1219, - "charLength": 240, - "snippet": { - "text": " public bool IsEpsilon { get; private set; }\n\n public bool IsNone => !IsToken && !IsValue && !IsTokenList && !IsValueList && !IsGroup && !IsGroupList;\n\n public static SyntaxVisitorResult NewToken(Token tok)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6402c08248a156e79ac16af07e33bf754ccfc839f02bcffb40c7d0f200525995" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 23, - "charOffset": 3929, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3853, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64246a67b7f5c004b7bde17d4df64fa0fdec987e5c1260e51773918d26dcc987" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 21, - "charOffset": 3559, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3485, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6424f508a44ade59ee9013a80f64c2e98ec0e6a35ae3ebfb64b79f84e3e2dd62" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 19, - "charOffset": 188, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 146, - "charLength": 84, - "snippet": { - "text": " [Int] INT = 3,\n\n [AlphaId] IDENTIFIER = 4,\n\n // the + operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "644b0a2176468ac8127668e3281cb4e4a721261f631cc07d51c0c2e5558d2325" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 21, - "charOffset": 2538, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6471114c90769672f72a88995e0a484c5c0e9d26f4258cefd3a696de38428763" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 21, - "charOffset": 3581, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3500, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public JSon property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6487ebb72ec54a84de3a389feb27600595b2f0d4a128999a165e4feac7c7b608" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Content' is never used", - "markdown": "Method 'Content' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 23, - "charOffset": 2719, - "charLength": 7, - "snippet": { - "text": "Content" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2654, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"content : CONTENT\")]\n public string Content(Token content)\n {\n return $\"text({content.Value})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6494762c1b96f871408bce2dd67034cd61cf0bc08eeb67c7802317134def9510" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 43, - "charOffset": 494, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 414, - "charLength": 99, - "snippet": { - "text": " [Lexeme(\"^\\\\)\")] RPAREN = 9,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 10\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64fd062dc505c100c8fd221b9b21337323cce3db00c5d3d32eef4f37eec9781a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 23, - "charOffset": 314, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 214, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "651361a40fb6dc23addf34b9e95c4fc66354d23d981418c6d7a679218be10f71" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ternary' is never used", - "markdown": "Method 'ternary' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 23, - "charOffset": 1299, - "charLength": 7, - "snippet": { - "text": "ternary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1117, - "charLength": 254, - "snippet": { - "text": " [Production(\n \"ternary_expr : Issue165Parser_expressions QUESTIONMARK [d] Issue165Parser_expressions COLON [d] Issue165Parser_expressions\")]\n public object ternary(object j, object k, object l)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "653ed687e477d4757382bd8f23f2173c6e45d3fc8c12841a311d54b52c7626bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 21, - "charOffset": 857, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 800, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "65d2c57b33227585d6f97697cf8c8c945bbba290ef250b3ff1dc91b0006c25ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncCall' is never used", - "markdown": "Method 'FuncCall' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 23, - "charOffset": 414, - "charLength": 8, - "snippet": { - "text": "FuncCall" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 324, - "charLength": 202, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( args2 )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "660b2542fcef4bb47705c1861290c1b1dd7be009efad44382bce80d3a459d81b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 21, - "charOffset": 655, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 598, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "666d261740b84164b183108f056f318e0eb9d38cc786d55631d2c2567d801124" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BuildLexer' is never used", - "markdown": "Method 'BuildLexer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 97, - "startColumn": 47, - "charOffset": 4123, - "charLength": 10, - "snippet": { - "text": "BuildLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 95, - "startColumn": 1, - "charOffset": 4066, - "charLength": 231, - "snippet": { - "text": " }\n\n public static BuildResult> BuildLexer(\n Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null) where IN : struct" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "66a6628c9bd14035ed3b1549c8cd58c8a77bbff9ee74f0a058d7cb5ac70690fb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 21, - "charOffset": 2752, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2678, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "677c2eb749c01da0e837063f4a3ea9f93fe0f67258ba222f5986e53bc3609b1a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 209, - "startColumn": 27, - "charOffset": 7371, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 207, - "startColumn": 1, - "charOffset": 7259, - "charLength": 252, - "snippet": { - "text": "\n [Operation((int) TemplateLexer.NOT, Affix.PreFix, Associativity.Right, 100)]\n public Expression binaryOrExpression(Token operatorToken, Expression value)\n {\n return new Not(value,operatorToken.Position);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "686d0c52c03c5c4b26d2a7f91f2486c6b54e139259cc92ff42b82ca6d180f4a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsDouble' is never used", - "markdown": "Property 'IsDouble' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 21, - "charOffset": 347, - "charLength": 8, - "snippet": { - "text": "IsDouble" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 283, - "charLength": 138, - "snippet": { - "text": " public bool IsInt => value is int;\n\n public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6880d06321ae614062d7b7b88008210050f9437675a43a37886fd48a59f6f201" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 21, - "charOffset": 2188, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "688fcc8ba5a4a1c8d360018b403650ee76b9b5b9d8b3bdb3eb42a92bfa53ce54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestChannels' is never used", - "markdown": "Method 'TestChannels' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 889, - "startColumn": 28, - "charOffset": 31030, - "charLength": 12, - "snippet": { - "text": "TestChannels" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 887, - "startColumn": 1, - "charOffset": 31001, - "charLength": 124, - "snippet": { - "text": "\n\n public static void TestChannels()\n {\n var lexerResult = LexerBuilder.BuildLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68914225be458e97db8e1a66d6ca37e94b9c968ad0c1a3deb08feb08e1c9fc01" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 431, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 371, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68bd79380d90518cc0905e22ba8638e72801b6b8e1660564ad32ff2e71c45308" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 257, - "startColumn": 25, - "charOffset": 8834, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 255, - "startColumn": 1, - "charOffset": 8712, - "charLength": 263, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6994417913b354c132250b31ccea0b8bc2e5035c3f07344da377982bb5bb8e81" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SecondRecurse' is never used", - "markdown": "Method 'SecondRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1611, - "startColumn": 23, - "charOffset": 54736, - "charLength": 13, - "snippet": { - "text": "SecondRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1609, - "startColumn": 1, - "charOffset": 54662, - "charLength": 124, - "snippet": { - "text": " \n [Production(\"second : COMMA[d]\")]\n public object SecondRecurse()\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "69d6fc5b7109dc1edee41660d67608a29d6d55190dbc89ef4312875900f53b6d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 265, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 207, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a1c537ebe063e18efb5af766163003b7fa019a9f87180acea43b13af0aeb1dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 125, - "startColumn": 25, - "charOffset": 4578, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 123, - "startColumn": 1, - "charOffset": 4477, - "charLength": 239, - "snippet": { - "text": "\n [Production(\"statementPrim: PRINT WhileParserGeneric_expressions\")]\n public WhileAST skipStmt(Token discard, WhileAST expression)\n {\n return new PrintStatement(expression as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a6fb02cc6735bdb40dd564f5c8de10f189a4b538ea48faac1c53b43ddb7838f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Condi' is never used", - "markdown": "Method 'Condi' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 20, - "charOffset": 1106, - "charLength": 5, - "snippet": { - "text": "Condi" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1034, - "charLength": 149, - "snippet": { - "text": " \n [Production(\"cond : id EQ[d] int\")]\n public Ast Condi(Identifier id, Integer i)\n {\n return new Cond(id, i);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a8b6db04f37783d0a399d97586ba2bcba1012589e8d18bc5c005799d37307f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIVIDE' is never used", - "markdown": "Enum member 'DIVIDE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 436, - "charLength": 6, - "snippet": { - "text": "DIVIDE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 373, - "charLength": 129, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"/\")]\n DIVIDE = 5,\n \n [Lexeme(GenericToken.SugarToken,\"(\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ad26126eb163a0c0e58b30856dcb1f9879006ed39310cd34e0d14d735d7c55c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsValue' is never used", - "markdown": "Property 'IsValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 29, - "charOffset": 205, - "charLength": 7, - "snippet": { - "text": "IsValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 77, - "charLength": 204, - "snippet": { - "text": " public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b4d2e23e41fecb5df6ad852bb4cdabf4765e23039203e949741fa41b7f1378b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 48, - "charOffset": 413, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 288, - "charLength": 248, - "snippet": { - "text": " BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b4fdd7701b267a082a21f8d39ddb6622d3d1989e482585496761d105c90188f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 39, - "charOffset": 991, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 901, - "charLength": 147, - "snippet": { - "text": " [Lexeme(GenericToken.Identifier)] ID = 20,\n\n [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b63df5a86cb0c136ca9281376311b889420b693555733766e2f11483598628f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'defaultIdentifierKey' is never used", - "markdown": "Constant 'defaultIdentifierKey' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 29, - "charOffset": 2380, - "charLength": 20, - "snippet": { - "text": "defaultIdentifierKey" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 2239, - "charLength": 295, - "snippet": { - "text": " public const string token_property = \"token\";\n public const string DerivedToken = \"derivedToken\";\n public const string defaultIdentifierKey = \"identifier\";\n public const string escape_string = \"escape_string\";\n public const string escape_char = \"escape_char\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6b7b8de4e72e426bd494c7c009b501ef4348bafdab262092caebd60b9832a78e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'primaryFactor' is never used", - "markdown": "Method 'primaryFactor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 27, - "charOffset": 1778, - "charLength": 13, - "snippet": { - "text": "primaryFactor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1710, - "charLength": 143, - "snippet": { - "text": "\n [Production(\"factor : primary\")]\n public Expression primaryFactor(Expression primValue)\n {\n return primValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c10bc00deb8be4432fadb6ef6a3f01fbdf8065997dfd812e4b22ce66cc6becb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'GenericLexer' is never used", - "markdown": "Constructor 'GenericLexer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 16, - "charOffset": 3837, - "charLength": 12, - "snippet": { - "text": "GenericLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 3753, - "charLength": 273, - "snippet": { - "text": " private readonly IEqualityComparer KeyWordComparer;\n\n public GenericLexer(IdentifierType idType = IdentifierType.Alpha,\n Action> extensionBuilder = null,\n params GenericToken[] staticTokens)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6cc95edac595b541c4d1605eecd2d23d8baa44f429d8127ac4098e045adc63d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'block' is never used", - "markdown": "Method 'block' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 25, - "charOffset": 2271, - "charLength": 5, - "snippet": { - "text": "block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2184, - "charLength": 211, - "snippet": { - "text": "\n [Production(\"statement : LPAREN statement RPAREN \")]\n public WhileAST block(Token discardLpar, Statement statement,\n Token discardRpar)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ce13b2030f509ad94f0c89772f9257536d7be12aa16bfd200e2bf7653a890a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CONCAT' is never used", - "markdown": "Enum member 'CONCAT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 48, - "charOffset": 2001, - "charLength": 6, - "snippet": { - "text": "CONCAT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1929, - "charLength": 133, - "snippet": { - "text": " DIFFERENT = 33,\n\n [Lexeme(GenericToken.SugarToken, \".\")] CONCAT = 34,\n\n [Lexeme(GenericToken.SugarToken, \":=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ceb4d0a3e330a576845692594df6f0cc96ccca88fbe46dd84d273f9da46d47c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 28, - "charOffset": 222, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 157, - "charLength": 114, - "snippet": { - "text": " [Lexeme(\"(then)\")] THEN = 2,\n\n [Lexeme(\"(else)\")] ELSE = 3,\n\n [Lexeme(\"(while)\")] WHILE = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d0aa88ec0853281357c9442bb1a6278fcd0232312d89f93be86ddf95992a542" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsNull' is never used", - "markdown": "Property 'IsNull' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 29, - "charOffset": 255, - "charLength": 6, - "snippet": { - "text": "IsNull" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 128, - "charLength": 155, - "snippet": { - "text": " public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d449466cc8edfe411fb0b73e28fd08cc4f1ca3ddc0d6a9682263a30ba620ac0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'Right' is never used", - "markdown": "Enum member 'Right' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/OperationAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 128, - "charLength": 5, - "snippet": { - "text": "Right" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 84, - "charLength": 60, - "snippet": { - "text": " None = 0,\n Left = 1,\n Right = 2\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6dd1e94cdb4981e3dc82161976987ca8168df6136248d924bf404863cdc0fc23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IntValue' is never used", - "markdown": "Property 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 231, - "startColumn": 20, - "charOffset": 6754, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 229, - "startColumn": 1, - "charOffset": 6713, - "charLength": 92, - "snippet": { - "text": "\n [JsonIgnore]\n public int IntValue => int.Parse(Value);\n\n [JsonIgnore]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6df01d033cdd17d21a05c040fe23d1095c27c4e6736ae219c4447987f492b195" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOS' is never used", - "markdown": "Enum member 'EOS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 357, - "charLength": 3, - "snippet": { - "text": "EOS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 298, - "charLength": 73, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 3,\n \n EOS = 0\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e9339fb992611fbe014cf8978cf8652ea4106b7455e022a3c270d36105a20c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2934, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2860, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6f07eef15f21e3fd8b180588f5943b6c64a86fc2e391cd058164d14cd006d776" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestContextualParser' is never used", - "markdown": "Method 'TestContextualParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 440, - "startColumn": 28, - "charOffset": 13985, - "charLength": 20, - "snippet": { - "text": "TestContextualParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 438, - "startColumn": 1, - "charOffset": 13947, - "charLength": 142, - "snippet": { - "text": " }\n\n public static void TestContextualParser()\n {\n var buildResult = buildSimpleExpressionParserWithContext();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fac9bdef76f5fa331b6b16278437d4c09527cea8b205d3857b3f40674edba61" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryFactorNumericExpression' is never used", - "markdown": "Method 'binaryFactorNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 198, - "startColumn": 25, - "charOffset": 6915, - "charLength": 29, - "snippet": { - "text": "binaryFactorNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 196, - "startColumn": 1, - "charOffset": 6712, - "charLength": 325, - "snippet": { - "text": " [Operation((int) WhileTokenGeneric.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) WhileTokenGeneric.DIVIDE, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryFactorNumericExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fb26d0c18dfb6242baa6f55d6d2d00bb02377cb9f50b9c7c777d67d70629a73" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ZeroMoreClause' is never used", - "markdown": "Method 'ZeroMoreClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 28, - "charOffset": 1105, - "charLength": 14, - "snippet": { - "text": "ZeroMoreClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 1022, - "charLength": 243, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER ZEROORMORE\")]\n public IClause ZeroMoreClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fe1f1df8b4051eb10151ccb15e7e83fe4dc840fc1c0bb0c7d16f909e2fb64e4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 39, - "charOffset": 175, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 81, - "charLength": 150, - "snippet": { - "text": " {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "708b1384cdb01e391714b5fef06fc141c245b1270f2173d05f0d38627ab79583" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExceptTransitionTo' is never used", - "markdown": "Method 'ExceptTransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 567, - "startColumn": 35, - "charOffset": 18813, - "charLength": 18, - "snippet": { - "text": "ExceptTransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 565, - "startColumn": 1, - "charOffset": 18762, - "charLength": 166, - "snippet": { - "text": " }\n \n public FSMLexerBuilder ExceptTransitionTo(char[] exceptions, string toNodeMark,\n TransitionPrecondition precondition)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7106bad4e647b8848ef993f34019ed59648cf51cdf70368cdd6ade96a4fa2559" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'A' is never used", - "markdown": "Method 'A' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 30, - "charOffset": 2625, - "charLength": 1, - "snippet": { - "text": "A" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 2534, - "charLength": 152, - "snippet": { - "text": " [Production(\"A : a \")]\n [Production(\"A : z \")]\n public static object A(List args)\n {\n var result = \"A(\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "71d7edb6fa5d7dfc182eaaf05d4e7b5b89eb1cb222d00f3c110ac6b906d7c554" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PostFixExpression' is never used", - "markdown": "Method 'PostFixExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 23, - "charOffset": 1870, - "charLength": 17, - "snippet": { - "text": "PostFixExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1770, - "charLength": 206, - "snippet": { - "text": "\n [Postfix((int) ExpressionToken.FACTORIAL, Associativity.Right, 100)]\n public double PostFixExpression(double value, Token operation)\n {\n var factorial = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "72227c59228e9d2a304212e69f1721668ffeec9628c0065424ebaa890fdd0af4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Set' is never used", - "markdown": "Method 'Set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 20, - "charOffset": 703, - "charLength": 3, - "snippet": { - "text": "Set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 631, - "charLength": 146, - "snippet": { - "text": " \n [Production(\"set : id SET[d] int\")]\n public Ast Set(Identifier id, Integer i)\n {\n return new Set(id, i);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "726b2e8d9d15d9ed4c7d6dda9f8391fe36a4ae3916aa8d19ad2aacb1a2ba6456" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 674, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 614, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "72911583d14e5b480d2afb4e071fd2b5e52aad07467c49b2c5f20dc2810c24d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 46, - "charOffset": 118, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 172, - "snippet": { - "text": " public enum JsonToken\n {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "72f5fcad7069f4c5f7a6697d8e3482e22afceaab7b16c0e7aa1bcc90671dd645" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsInt' is never used", - "markdown": "Property 'IsInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 314, - "charLength": 5, - "snippet": { - "text": "IsInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 244, - "charLength": 142, - "snippet": { - "text": " public bool IsString => value is string;\n\n public bool IsInt => value is int;\n\n public bool IsDouble => value is double;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "730a405c4566c10dfad49142e9bc2f497f0235739431dbe70c3edc56720b347f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Token' is never used", - "markdown": "Method 'Token' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 26, - "charOffset": 636, - "charLength": 5, - "snippet": { - "text": "Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 600, - "charLength": 93, - "snippet": { - "text": " }\n\n public Token Token(int i)\n {\n return Items[i].Token;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "73cdf407c028ee457bd67fcffd49d68d3594626ace5e336ecc325a2b971128fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Misc' is never used", - "markdown": "Method 'Misc' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 23, - "charOffset": 1755, - "charLength": 4, - "snippet": { - "text": "Misc" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1676, - "charLength": 131, - "snippet": { - "text": "\n [Production(\"misc : [comment | pi | content]\")]\n public string Misc(string misc)\n {\n return misc;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "73fa9ec8f298b68ae57dde26b3a75e1232e8558c9fac9e9ff4d9780d3b9e32da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DO' is never used", - "markdown": "Enum member 'DO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 26, - "charOffset": 298, - "charLength": 2, - "snippet": { - "text": "DO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 233, - "charLength": 110, - "snippet": { - "text": " [Lexeme(\"(while)\")] WHILE = 4,\n\n [Lexeme(\"(do)\")] DO = 5,\n\n [Lexeme(\"(skip)\")] SKIP = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "73fbcb95919689e4d8f50af475b952fd215173264abeda72dc1986c8e53aa7ed" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsObject' is never used", - "markdown": "Property 'IsObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 29, - "charOffset": 105, - "charLength": 8, - "snippet": { - "text": "IsObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 40, - "charLength": 186, - "snippet": { - "text": " public abstract class JSon\n {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7404e0064b88bcbf30a3b7fbdf7ecf62654784fbb21cc0553443346648bb86c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2799, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2717, - "charLength": 174, - "snippet": { - "text": "\n [Production(\"listElements: value additionalValue*\")]\n public JSon listElements(JSon head, List tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "740c6bea9b2f3d4505a9c1867d42ba3328ebf4be1998434ab2ae9985f848c769" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 216, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 125, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"IF\")] [Lexeme(GenericToken.KeyWord, \"if\")]\n IF = 1,\n\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "746fc753c6cb7bd174db3a283e040270c6fed9321e38d67f7ec7b685203dfef6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Previous' is never used", - "markdown": "Method 'Previous' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 147, - "startColumn": 25, - "charOffset": 4436, - "charLength": 8, - "snippet": { - "text": "Previous" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 145, - "startColumn": 1, - "charOffset": 4393, - "charLength": 120, - "snippet": { - "text": " }\n \n public Token Previous(int channelId)\n {\n TokenChannel channel = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "747262fac4d6fdf30ddd0fb7eb7dff7d05ffc58d1e964a39abfb014410ff5088" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'id' is never used", - "markdown": "Method 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 23, - "charOffset": 1832, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1758, - "charLength": 135, - "snippet": { - "text": " [Operand]\n [Production(\"atom : ID\")]\n public object id(Token i)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "747da352e3dcb71cb9427096ac57d904561cccd998b42f543db406beb9461224" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 147, - "startColumn": 15, - "charOffset": 3202, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 145, - "startColumn": 1, - "charOffset": 3157, - "charLength": 74, - "snippet": { - "text": " [String] STRING = 21,\n\n [Int] INT = 22,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74a4e1ffc5be57a05d9322ad39cd81c7522da345869a14a866d78b7bf6612ebe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 21, - "charOffset": 1536, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1475, - "charLength": 178, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74cfe4a733915c312613c86f11fe8c31d0da00c1409cd94ae1d483c1ddc5bcb6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 21, - "charOffset": 2000, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1943, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "753cdbf89a6e7995b9b23c83735d3ac59f235f856187566190afd77983d5db04" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2916, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "75616d03ade884ad803bd66397216177b973c5597f6b99468ca386941f17210a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ifStmt' is never used", - "markdown": "Method 'ifStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 25, - "charOffset": 3248, - "charLength": 6, - "snippet": { - "text": "ifStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 3120, - "charLength": 320, - "snippet": { - "text": "\n [Production(\"statementPrim: IF WhileParserGeneric_expressions THEN statement ELSE statement\")]\n public WhileAST ifStmt(Token discardIf, WhileAST cond, Token dicardThen,\n WhileAST thenStmt, Token dicardElse, Statement elseStmt)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "75aed3239ca7140dd7910a1fcca1f37df449e86ed75565b96757acf15fbe8797" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'elseBlock' is never used", - "markdown": "Method 'elseBlock' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 26, - "charOffset": 1731, - "charLength": 9, - "snippet": { - "text": "elseBlock" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1628, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"elseBlock : OPEN_CODE[d] ELSE[d] CLOSE_CODE[d] item*\")]\n public ITemplate elseBlock(List items)\n {\n return new Block(items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "75dce3b3cfd4d092ea356f65a5251028806e96f107cab38401db656d0cee8dda" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 21, - "charOffset": 2808, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2747, - "charLength": 158, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(Token crog, Token crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "76a048e1d43a5a8c68651781d57d715e3824a62543f864ce6d800ccf69234a5a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SingleMember' is never used", - "markdown": "Method 'SingleMember' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 157, - "startColumn": 21, - "charOffset": 4070, - "charLength": 12, - "snippet": { - "text": "SingleMember" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 155, - "startColumn": 1, - "charOffset": 4006, - "charLength": 141, - "snippet": { - "text": "\n [Production(\"members : property\")]\n public JSon SingleMember(JObject pair)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "76b9f2db3e64924be415cbbd8727c8c23388f9e8cfa0b1fad9cb995c8a8be957" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 23, - "charOffset": 3393, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 3308, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7766baba4c36a5c0a802a625683804da5b8f636126250e7ebec9bd0457b79c32" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOS' is never used", - "markdown": "Enum member 'EOS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 9, - "charOffset": 86, - "charLength": 3, - "snippet": { - "text": "EOS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 44, - "charLength": 115, - "snippet": { - "text": " public enum ScriptToken\n {\n EOS = 0,\n [Lexeme(GenericToken.SugarToken,\",\")]\n COMMA = 1," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "77a8f10ebb0a60f2da0be250336a44ea3f3f0b2401fa5482a3dccaecb72b907c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 5, - "charOffset": 924, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 881, - "charLength": 74, - "snippet": { - "text": " [Keyword(\"if\")]\n [Mode(\"code\")]\n IF,\n \n [Keyword(\"endif\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "77aa97355b82998e80cded3c2c5fa17a92d837c491f9a4a79d80a0e8f60cc2c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Term' is never used", - "markdown": "Method 'Term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 20, - "charOffset": 1347, - "charLength": 4, - "snippet": { - "text": "Term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1229, - "charLength": 219, - "snippet": { - "text": " [Production(\"term : factor TIMES term\")]\n [Production(\"term : factor DIVIDE term\")]\n public int Term(int left, Token operatorToken, int right)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78278d9b479744fec6b3ceebf08b0e98e1e8dd9092c7487535a6db4a1265e61d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClauseDiscarded' is never used", - "markdown": "Method 'GroupClauseDiscarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 214, - "startColumn": 32, - "charOffset": 8186, - "charLength": 20, - "snippet": { - "text": "GroupClauseDiscarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 212, - "startColumn": 1, - "charOffset": 8096, - "charLength": 251, - "snippet": { - "text": "\n [Production(\"groupclause : IDENTIFIER DISCARD \")]\n public GroupClause GroupClauseDiscarded(Token id, Token discarded)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "786dc6e1e49ad8da59f64f69f1cb4ccd4dbbb1cfab89bafe74a5ac67a7afb681" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncActualArgsA' is never used", - "markdown": "Method 'FuncActualArgsA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 23, - "charOffset": 610, - "charLength": 15, - "snippet": { - "text": "FuncActualArgsA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 537, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"fun_actual_args : kw_args\")]\n public object FuncActualArgsA(object kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78b5b46fd09e9c32fc2b2ec7f1cb88f90c6696da0f577606ad86158362ceacee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryBool' is never used", - "markdown": "Method 'PrimaryBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 25, - "charOffset": 4740, - "charLength": 11, - "snippet": { - "text": "PrimaryBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 4639, - "charLength": 231, - "snippet": { - "text": " [Production(\"primary: TRUE\")]\n [Production(\"primary: FALSE\")]\n public WhileAST PrimaryBool(Token boolToken)\n {\n return new BoolConstant(bool.Parse(boolToken.StringWithoutQuotes));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a2f3a25621f35deef07e456bb4d4db6fe9533777386ab829ebdf6f4f6f870f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 37, - "charOffset": 166, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 67, - "charLength": 192, - "snippet": { - "text": " {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a48412de082df2ff7be431d3a884bbf3aaffadbb4dc7563c4a2c3d56070d178" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPEN_VALUE' is never used", - "markdown": "Enum member 'OPEN_VALUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 39, - "charOffset": 591, - "charLength": 10, - "snippet": { - "text": "OPEN_VALUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 496, - "charLength": 122, - "snippet": { - "text": " [Sugar(\"{%\")] [Push(\"code\")] OPEN_CODE,\n \n [Sugar(\"{=\")] [Push(\"value\")] OPEN_VALUE,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a7547b7274a717c0e7c9e480545e5869792658b87bd73981f9a414aebf57d47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsDouble' is never used", - "markdown": "Property 'IsDouble' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 21, - "charOffset": 347, - "charLength": 8, - "snippet": { - "text": "IsDouble" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 283, - "charLength": 138, - "snippet": { - "text": " public bool IsInt => value is int;\n\n public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a7903beafa43e4d9a1f71137b0c1a80e19fa182998b8aa819087924bc42acc3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Run' is never used", - "markdown": "Method 'Run' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileFunction.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 14, - "charOffset": 90, - "charLength": 3, - "snippet": { - "text": "Run" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 36, - "charLength": 68, - "snippet": { - "text": " public interface WhileFunction\n {\n void Run();\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7a89b64ac1f04d6f6a50f724e5d590e43ae49d5b0f1cab00474fe45f9ae0bd0b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExceptTransition' is never used", - "markdown": "Method 'ExceptTransition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 318, - "startColumn": 35, - "charOffset": 9194, - "charLength": 16, - "snippet": { - "text": "ExceptTransition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 316, - "startColumn": 1, - "charOffset": 9149, - "charLength": 207, - "snippet": { - "text": " }\n\n public FSMLexerBuilder ExceptTransition(char[] exceptions, TransitionPrecondition precondition)\n {\n return ExceptTransitionTo(exceptions, Fsm.NewNodeId, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7af9e3753b82c2f8b7ba67ceb269f5a10463f72c6c244186af95f512e133d933" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoiceOptional' is never used", - "markdown": "Method 'ChoiceOptional' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 28, - "charOffset": 5931, - "charLength": 14, - "snippet": { - "text": "ChoiceOptional" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 5849, - "charLength": 220, - "snippet": { - "text": "\n [Production(\"clause : choiceclause OPTION \")]\n public IClause ChoiceOptional(ChoiceClause choices,Token discardOption)\n {\n return new OptionClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b8d900d680d0994d7e5725edab8be519e9b46e04bda33b3ba4916495aa01b37" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandParens' is never used", - "markdown": "Method 'OperandParens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 27, - "charOffset": 2224, - "charLength": 13, - "snippet": { - "text": "OperandParens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 2117, - "charLength": 230, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN FormulaParser_expressions RPAREN\")]\n public Expression OperandParens(Token lparen, Expression value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7baf90bdbcd539f37f6157fc1c642606c5dc4d8b473bae20f956c0015eabefda" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'b' is never used", - "markdown": "Enum member 'b' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 23, - "charOffset": 1614, - "charLength": 1, - "snippet": { - "text": "b" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1557, - "charLength": 122, - "snippet": { - "text": " {\n [Lexeme(\"a\")] a = 1,\n [Lexeme(\"b\")] b = 2,\n [Lexeme(\"c\")] c = 3,\n [Lexeme(\"z\")] z = 26," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7be9d6616a924c88e09dfa87751272b6f1accf970101bcdf7b182ae4aaa022e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 21, - "charOffset": 2754, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c063ca7c6a72fe2cecbeac9804415df3d2c2611ba12e9a626de33f8812f75d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandValue' is never used", - "markdown": "Method 'OperandValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 20, - "charOffset": 2386, - "charLength": 12, - "snippet": { - "text": "OperandValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2301, - "charLength": 175, - "snippet": { - "text": " [Operand]\n [Production(\"operand : primary_value\")]\n public int OperandValue(int value,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c42ecfe4408e57790692dd7252bf5e49be9748a952ced5f57b755583aeae96a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PRINT' is never used", - "markdown": "Enum member 'PRINT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 9, - "charOffset": 1361, - "charLength": 5, - "snippet": { - "text": "PRINT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1264, - "charLength": 128, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"PRINT\")] [Lexeme(GenericToken.KeyWord, \"print\")]\n PRINT = 12,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c9fbd3badef11f538cdc5b8c272248989b04383290b59d7890f42accb8d9299" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' is never used", - "markdown": "Method 'TransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 35, - "charOffset": 17851, - "charLength": 12, - "snippet": { - "text": "TransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 17798, - "charLength": 190, - "snippet": { - "text": " }\n \n public FSMLexerBuilder TransitionTo(char[] inputs, string toNodeMark, TransitionPrecondition precondition)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7cc1b9fa7fd9dd1df46d7cbbd06437ade2161fd2b6fca897c1e4e85f3574c6c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 48, - "charOffset": 527, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 366, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7cc9a42bc0ca66a2d22d617401284deece21347c37053de2d1eab305909d0b83" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 894, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 799, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"TRUE\")] [Lexeme(GenericToken.KeyWord, \"true\")]\n TRUE = 7,\n\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ccbd24a7e4aac641b7907e06a44cf58f39db4a12739280f1fa216951e68b0bf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 9, - "charOffset": 2366, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 2317, - "charLength": 101, - "snippet": { - "text": "\n [Keyword(\"IF\")] [Keyword(\"if\")]\n IF = 1,\n\n [Keyword(\"THEN\")] [Keyword(\"then\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d13a3c4a9505e21880c0ff9dfdcfa4353ddca2e978aafe584531cf0584f0044" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'additional' is never used", - "markdown": "Method 'additional' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 25, - "charOffset": 2835, - "charLength": 10, - "snippet": { - "text": "additional" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2735, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalStatements : SEMICOLON [d] statementPrim\")]\n public WhileAST additional(WhileAST statement)\n {\n return statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d3b9ff28740c1214d43c3b97d1372902f084d5cdec0d92a6784c7777bb76df6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WORD_CHAR' is never used", - "markdown": "Enum member 'WORD_CHAR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 27, - "charOffset": 283, - "charLength": 9, - "snippet": { - "text": "WORD_CHAR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 188, - "charLength": 160, - "snippet": { - "text": " [Lexeme(@\"-?((\\d+([.]\\d+)?)|([.]\\d+))\")]\n DOUBLE = 1,\n [Lexeme(\"[A-Z]\")] WORD_CHAR = 2,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 3,\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d4a606d25370c4f4fc7184f4869ed37c35671f5683f40f48c9322dab4962d9b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 21, - "charOffset": 2566, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2505, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e51003a632d14f2be8a7ceb3007d7cdc5e8e5922870ed268b6088abe84ec088" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandValue' is never used", - "markdown": "Method 'OperandValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 27, - "charOffset": 1608, - "charLength": 12, - "snippet": { - "text": "OperandValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 1516, - "charLength": 158, - "snippet": { - "text": " [Operand]\n [Production(\"operand : primary_value\")]\n public Expression OperandValue(Expression value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7f9d3dd0f0a894e0139585315e27024cb382897fbe8166e7b162220a5d0f79b3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoicesManyImplicit' is never used", - "markdown": "Method 'ChoicesManyImplicit' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 106, - "startColumn": 28, - "charOffset": 3927, - "charLength": 19, - "snippet": { - "text": "ChoicesManyImplicit" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 104, - "startColumn": 1, - "charOffset": 3838, - "charLength": 308, - "snippet": { - "text": " \n [Production(\"choices : STRING OR choices \")]\n public IClause ChoicesManyImplicit(Token head, Token discardOr, ChoiceClause tail)\n {\n var headClause = BuildTerminalOrNonTerimal(head.Value,discard:false,explicitToken:true); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7faaeac86b86e23e267c79ff90426a6998200dbface814ee469adc3a7b444821" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Clauses' is never used", - "markdown": "Method 'Clauses' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 32, - "charOffset": 627, - "charLength": 7, - "snippet": { - "text": "Clauses" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 546, - "charLength": 201, - "snippet": { - "text": "\n [Production(\"clauses : clause clauses\")]\n public GrammarNode Clauses(IClause clause, ClauseSequence clauses)\n {\n var list = new ClauseSequence(clause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7fb76ed47f2ba17e479e6c15eb149de17d58d4319a77039ea340246d9829703d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClauseExplicit' is never used", - "markdown": "Method 'GroupClauseExplicit' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 204, - "startColumn": 32, - "charOffset": 7843, - "charLength": 19, - "snippet": { - "text": "GroupClauseExplicit" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 202, - "startColumn": 1, - "charOffset": 7765, - "charLength": 253, - "snippet": { - "text": "\n [Production(\"groupclause : STRING \")]\n public GroupClause GroupClauseExplicit(Token explicitToken)\n {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value,discard:true, explicitToken :true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7fc2f347029f9f5c99b532216b43f032a568d2841a5798672afd9142f9a91c92" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryFactorExpression' is never used", - "markdown": "Method 'BinaryFactorExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 20, - "charOffset": 1136, - "charLength": 22, - "snippet": { - "text": "BinaryFactorExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 943, - "charLength": 339, - "snippet": { - "text": " [Operation((int) ExpressionToken.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) ExpressionToken.DIVIDE, Affix.InFix, Associativity.Left, 50)]\n public int BinaryFactorExpression(int left, Token operation, int right,Dictionary context)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "80350239cdbbdac98787bc65cd6c8eb395cf0c2b0b1c0fcc972de11049381caa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Mode' is never used", - "markdown": "Property 'Mode' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/LexemeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 25, - "charOffset": 349, - "charLength": 4, - "snippet": { - "text": "Mode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 267, - "charLength": 209, - "snippet": { - "text": " internal string Pushtarget { get; set; }\n \n internal string Mode { get; set; }\n \n public LexemeAttribute(string pattern, bool isSkippable = false, bool isLineEnding = false)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8095605086c7ddd4f820e9dfeec24e34343ea14b491760d81b25dbf1c01c72b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryFactorExpression' is never used", - "markdown": "Method 'BinaryFactorExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 23, - "charOffset": 790, - "charLength": 22, - "snippet": { - "text": "BinaryFactorExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 616, - "charLength": 267, - "snippet": { - "text": " [Operation((int) Issue165Lexer.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation(\"DIVIDE\", Affix.InFix, Associativity.Left, 50)]\n public object BinaryFactorExpression(double left, Token operation, object right)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "80ab32162fc3e56f2be3c3b2791960fa92a5a06989477a102fc9db5ac16ee636" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 9, - "charOffset": 841, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 746, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"TRUE\")] [Lexeme(GenericToken.KeyWord, \"true\")]\n TRUE = 7,\n\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "81a4071b305643e72738f1d377379a6a1cd974f6d361748c1be6f7ef5a795e67" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NextTokens' is never used", - "markdown": "Method 'NextTokens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 31, - "charOffset": 2116, - "charLength": 10, - "snippet": { - "text": "NextTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2068, - "charLength": 127, - "snippet": { - "text": " \n \n public List> NextTokens(int channelId)\n {\n TokenChannel channel = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "820ea953b4afa4d92018b0eaa16191ecd441f6fba7f43f0fdb9886c27813b912" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 1037, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 977, - "charLength": 150, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "822c0efb1575ef4b60e078191ca29a118aa7165ef48fda7c92907c4d8a71bf08" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryFactorNumericExpression' is never used", - "markdown": "Method 'binaryFactorNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 27, - "charOffset": 5886, - "charLength": 29, - "snippet": { - "text": "binaryFactorNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 5689, - "charLength": 319, - "snippet": { - "text": " [Operation((int) TemplateLexer.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) TemplateLexer.DIVIDE, Affix.InFix, Associativity.Right, 50)]\n public Expression binaryFactorNumericExpression(Expression left, Token operatorToken,\n Expression right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8232be8f53813d8bd0cdf42cbd2c27177ad2800516d1e2c97d798a441b48e1a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Item.get' is never used", - "markdown": "Accessor 'Item.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 13, - "charOffset": 720, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 661, - "charLength": 128, - "snippet": { - "text": " public JSon this[string key]\n {\n get => Values[key];\n set => Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83281c15fb4dd21529466877c627a9041b2c84d2b65ffbf561bb2b08af0c9963" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 670, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 610, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83a9f66d962d8ba5fbea23d1d4ca2d4fe7c13e6fceeb9eda58b7cf5879f62b52" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ONEORMORE' is never used", - "markdown": "Enum member 'ONEORMORE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 9, - "charOffset": 868, - "charLength": 9, - "snippet": { - "text": "ONEORMORE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 805, - "charLength": 132, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"+\")]\n ONEORMORE = 4,\n \n [Lexeme(GenericToken.SugarToken,\"?\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83abecda2da7eacd1bbe8c298e685a9e4a475f75165cf865f8e3326d1c34993f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'argies' is never used", - "markdown": "Method 'argies' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 23, - "charOffset": 900, - "charLength": 6, - "snippet": { - "text": "argies" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 825, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8409bcfd4c775aea1ad23c57a211ad93ac981893721dd474d587481863d1c735" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SingleClause' is never used", - "markdown": "Method 'SingleClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 35, - "charOffset": 917, - "charLength": 12, - "snippet": { - "text": "SingleClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 840, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"clauses : clause \")]\n public ClauseSequence SingleClause(IClause clause)\n {\n return new ClauseSequence(clause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84121f0d8d50491465170001fee31375691af2841ac46d70665e694cadb8da4e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 504, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 446, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "843737da9641003383f09530850392dc81a5378f315923308ebaee4d5c691bf5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 23, - "charOffset": 3753, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3670, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "84ad22b04310b5c70d4929c3ec7b6b578778b0da9bee8dcd857ef1b3eca84098" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncActualArgsB' is never used", - "markdown": "Method 'FuncActualArgsB' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 23, - "charOffset": 1339, - "charLength": 15, - "snippet": { - "text": "FuncActualArgsB" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1239, - "charLength": 214, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args optional_kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption> kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "85d8ca19481a78517dbc9ff850f3d4dc6688202a36a37d079db14dfa29107584" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EQ' is never used", - "markdown": "Enum member 'EQ' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 49, - "charOffset": 357, - "charLength": 2, - "snippet": { - "text": "EQ" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 251, - "charLength": 170, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"else\")] ELSE = 3,\n\n [Lexeme(GenericToken.SugarToken, \"==\")] EQ = 4,\n\n [Lexeme(GenericToken.SugarToken, \"=\")] SET = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "85f29db00db3562fe8f6fafd601d0b650f291f3ce2c86449a2139c4f59abce43" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Item.get' is never used", - "markdown": "Accessor 'Item.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 13, - "charOffset": 709, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 650, - "charLength": 128, - "snippet": { - "text": " public JSon this[string key]\n {\n get => Values[key];\n set => Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "866c70f4fc7421526aba49b934be582c6a7e2b928199f997ef6daaa5478b2096" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 21, - "charOffset": 2572, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2501, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(Token accg, JObject members, Token accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "866cd36bddbee5c26447ea3c6c8ae09f21303fd7b4ca347511ef1dc5bd098118" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryTermExpression' is never used", - "markdown": "Method 'BinaryTermExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 325, - "charLength": 20, - "snippet": { - "text": "BinaryTermExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 151, - "charLength": 296, - "snippet": { - "text": " [Operation((int) ExpressionToken.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation(\"MINUS\", Affix.InFix, Associativity.Left, 10)]\n public double BinaryTermExpression(double left, Token operation, double right)\n {\n double result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "870df71548e1ec832f8e8331cdce46c66f7b8b8ea5574d73e9b32f4b30b332ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INCREMENT' is never used", - "markdown": "Enum member 'INCREMENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 471, - "charLength": 9, - "snippet": { - "text": "INCREMENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 388, - "charLength": 124, - "snippet": { - "text": " // the ++ operator\n [Lexeme(GenericToken.SugarToken, \"++\")]\n INCREMENT = 6,\n\n // the - operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8714d63e91681d984a997edb5fae98ee61b353a15fbd428fb0a4bbc189a08860" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 181, - "startColumn": 23, - "charOffset": 3728, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 179, - "startColumn": 1, - "charOffset": 3677, - "charLength": 99, - "snippet": { - "text": " #region sugar 50 ->\n\n [Sugar( \"(\")] LPAREN = 50,\n\n [Sugar( \")\")] RPAREN = 51," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "872c792c9940c9353567c94fd0cee3fc2164af016ecb7a0e8af0b63aa17e276c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'a' is never used", - "markdown": "Method 'a' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 23, - "charOffset": 3437, - "charLength": 1, - "snippet": { - "text": "a" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3337, - "charLength": 146, - "snippet": { - "text": " [Production(\"arg : kw_arg\")]\n [Production(\"arg : arith_expr\")]\n public object a(object v)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "885bdd39b0de43da8f7165b9c61854b5d0b9518b9a40ae6197a7ac9d86bc6bb9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TIMES' is never used", - "markdown": "Enum member 'TIMES' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 22, - "charOffset": 442, - "charLength": 5, - "snippet": { - "text": "TIMES" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 394, - "charLength": 87, - "snippet": { - "text": "\n // the * operator\n [Sugar(\"*\")] TIMES = 8,\n\n // the / operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "887163f02c0c97b61e390a799e1e53604cadbb6e4f9818589d4575b2c68109e9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FirstRecurse' is never used", - "markdown": "Method 'FirstRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1599, - "startColumn": 23, - "charOffset": 54376, - "charLength": 12, - "snippet": { - "text": "FirstRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1597, - "startColumn": 1, - "charOffset": 54293, - "charLength": 167, - "snippet": { - "text": " {\n [Production(\"first : second* third COMMA[d]\")]\n public object FirstRecurse(List seconds, object third)\n {\n return third;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8911a6807b3e9f8edd69f996fdc272ab69ae48b17e6a791a99a12602baa78e1c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 1019, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 959, - "charLength": 150, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "897b46f66717eb3b6c29ab86762600f1e394adca6df302d440a9e7becff9c1ae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 688, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 628, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8adc8a6bb7ac5e3be95f9791cb5ad6c43d301af9bb17ea0a5881c1e9151f3124" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ContainsKey' is never used", - "markdown": "Method 'ContainsKey' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 935, - "charLength": 11, - "snippet": { - "text": "ContainsKey" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 904, - "charLength": 108, - "snippet": { - "text": " }\n\n public bool ContainsKey(string key)\n {\n return Values.ContainsKey(key);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b458eea13396f04e0f986ac92fbbf865bb3fb4e50af021e6b5466861548f1cd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 21, - "charOffset": 1990, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1933, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b4c59f04e147ff3504ea5fa78d9e37e2d17eacf1ae029ceb6f95a53ae0d5a38" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'program' is never used", - "markdown": "Method 'program' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 25, - "charOffset": 2306, - "charLength": 7, - "snippet": { - "text": "program" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 2231, - "charLength": 132, - "snippet": { - "text": " \n [Production(\"program: sequence\")]\n public WhileAST program(WhileAST prog)\n {\n return prog;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b6c8ff07f6a9ccb2be903b79ecad2d63f53913ceba6294b59b614455b8e28f4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExpExpression' is never used", - "markdown": "Method 'ExpExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 27, - "charOffset": 1343, - "charLength": 13, - "snippet": { - "text": "ExpExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 1227, - "charLength": 277, - "snippet": { - "text": " \n [Operation((int) FormulaToken.EXP, Affix.InFix, Associativity.Left, 90)]\n public Expression ExpExpression(Expression left, Token operation, Expression right)\n {\n return new BinaryOperation(left, operation.TokenID, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b7d87b31a8749596367f00432ad3127f52f8adf886494fc5f9c7d7b9ed46269" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 302, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 244, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8bc9105690e1371a39a2cd0c756599f72ce173130e4e83f5ca67c8c1f5355810" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 22, - "charOffset": 569, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 515, - "charLength": 100, - "snippet": { - "text": "\n // a left paranthesis (\n [Sugar(\"(\")] LPAREN = 10,\n\n // a right paranthesis )" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c136def05c05c9b5c6dec955267f80253bf9c7c0ff0113ab92231c3b34f9d3d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandInt' is never used", - "markdown": "Method 'OperandInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 20, - "charOffset": 2937, - "charLength": 10, - "snippet": { - "text": "OperandInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2873, - "charLength": 180, - "snippet": { - "text": "\n [Production(\"primary_value : INT\")]\n public int OperandInt(Token value,Dictionary context)\n {\n return value.IntValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c54d90d0b3d99c9597b7b6fcbf4a8fca1c9e1286a7cd5ea05daceed343bb49b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 36, - "charOffset": 1576, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1489, - "charLength": 116, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c6e51d536f4a695629997a158dc8391346dd04d1ace59462b2d40d7a9caacc3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsValue' is never used", - "markdown": "Property 'IsValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 29, - "charOffset": 194, - "charLength": 7, - "snippet": { - "text": "IsValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 66, - "charLength": 204, - "snippet": { - "text": " public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c703bf08a6853401f8fbfabf02bcacaebef7f6e745a03d8a63223d08523bf2a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ID' is never used", - "markdown": "Enum member 'ID' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 5, - "charOffset": 696, - "charLength": 2, - "snippet": { - "text": "ID" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 653, - "charLength": 69, - "snippet": { - "text": " [Mode(\"value\")]\n [Mode(\"code\")]\n ID,\n \n [Sugar(\"=}\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c94af01b877cddc9bad38d9c1a5e72336d3a6114979af0568150eeff9e76d54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsMany' is never used", - "markdown": "Method 'ListElementsMany' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 21, - "charOffset": 3097, - "charLength": 16, - "snippet": { - "text": "ListElementsMany" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3013, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8c98f2cb461e0f541fbc043ae3888ac666b8842ffe2dc9e702e76b16b33d8e09" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 23, - "charOffset": 3693, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3610, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d1afb97e0492c1918f0b2aec5fab474dba38554d0bf2d548da6c73a468b9c93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'whileStmt' is never used", - "markdown": "Method 'whileStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 25, - "charOffset": 3363, - "charLength": 9, - "snippet": { - "text": "whileStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 3248, - "charLength": 256, - "snippet": { - "text": "\n [Production(\"statementPrim: WHILE [d] WhileParser_expressions DO [d] statement\")]\n public WhileAST whileStmt(WhileAST cond, WhileAST blockStmt)\n {\n var stmt = new WhileStatement(cond as Expression, blockStmt as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d1cc2792807f72a7794cc72ddd098ecd5ad62d35253f40715fb50440693d221" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 21, - "charOffset": 2156, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2087, - "charLength": 131, - "snippet": { - "text": "\n [Production(\"object: ACCG[d] ACCD[d]\")]\n public JSon EmptyObjectValue()\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d23cf7b75070d04a10ee5c7a830c334e3900394b428dbe8f3826471225d9181" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 28, - "charOffset": 581, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 459, - "charLength": 139, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d407a9d8eb9e29889f324bb14ca089ee5bc6148db5bb97f8e9cac15b0670aa9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 21, - "charOffset": 2374, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2303, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d4173e8630e46ace6b306905098df0e1db0ec25e785de365c14928aa64b77bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 21, - "charOffset": 2032, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1975, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d8e34a2c4571001ca10f4dd3819bd7368fc44f4eb9c8db7e82fffcef6e6a80c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AlternateClause' is never used", - "markdown": "Method 'AlternateClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 28, - "charOffset": 2550, - "charLength": 15, - "snippet": { - "text": "AlternateClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2468, - "charLength": 174, - "snippet": { - "text": " \n [Production(\"clause : choiceclause\")]\n public IClause AlternateClause(ChoiceClause choices)\n {\n choices.IsDiscarded = false;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d9d09b4c1cb10ec431c118b5466517b543f3449ee6120e7933224c27b4e1b9c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AutoElement' is never used", - "markdown": "Method 'AutoElement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 23, - "charOffset": 822, - "charLength": 11, - "snippet": { - "text": "AutoElement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 725, - "charLength": 221, - "snippet": { - "text": "\n [Production(\"element : OPEN[d] ID attributes SLASH[d] CLOSE[d]\")]\n public string AutoElement(Token id, string attributes)\n {\n return $\"autoTag({id.Value}, {attributes})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8dd4971be07a7b001876b0cfc47df6b9535eb7d5582a7a0e30659038dea20140" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 25, - "charOffset": 4296, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 4198, - "charLength": 202, - "snippet": { - "text": "\n [Production(\"statementPrim: PRINT [d] WhileParser_expressions\")]\n public WhileAST skipStmt(WhileAST expression)\n {\n return new PrintStatement(expression as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8df0ca0adfe54f53cee067d6f73b1db60c01a7d206d374169f2c30f9077888cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 21, - "charOffset": 1757, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1696, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e31ca89d7825a4eec6742aaadd7609b13df1c98e50f1cb3fda7a1f2aa8ada06" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 670, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 610, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e56e5cd459b5af96152dbbdb6d2ac3c5d0c0e9f7d9a4d570a6fdd4eb60e557f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 23, - "charOffset": 1538, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1475, - "charLength": 180, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e7803145e3f3574d28bcc93fb8d31d8828ec01f68bc5b86f0c1273b46dcd430" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RCROG' is never used", - "markdown": "Enum member 'RCROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 9, - "charOffset": 1396, - "charLength": 5, - "snippet": { - "text": "RCROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1333, - "charLength": 125, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"]\")]\n RCROG = 12,\n\n [Lexeme(GenericToken.String, \"'\",\"\\\\\")] " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e9d2e358231b49de0fd74e75261f658da1bbd6c3465579f1bd67589d54abf36" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PostFixExpression' is never used", - "markdown": "Method 'PostFixExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 20, - "charOffset": 2053, - "charLength": 17, - "snippet": { - "text": "PostFixExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1939, - "charLength": 248, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.FACTORIAL, Affix.PostFix, Associativity.Right, 100)]\n public int PostFixExpression(int value, Token operation,Dictionary context)\n {\n var factorial = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8efef024cc50d9cff1da050e35817f2a2d040b25ec0348bb40fff7336a8d3db6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 494, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 433, - "charLength": 119, - "snippet": { - "text": " public List Items { get; }\n\n public int Count => Items.Count;\n\n public JSon this[int index]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f1b67fd68a625fbc7e7eec57967f034da3821242f8f68d1b786fdbf30d064d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 149, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 78, - "charLength": 145, - "snippet": { - "text": " EOS = 0,\n [Lexeme(GenericToken.SugarToken,\",\")]\n COMMA = 1,\n [Lexeme(GenericToken.SugarToken,\"(\")]\n LPAR = 2," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8fd2ca2319b096b6cc7d173cb236885456b4562448882e0669d21a2b7c32f8ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 21, - "charOffset": 2734, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8fded5088261d3f1f034c481ec8c4651e8d87f6a5051f770c558ce98fb145d5d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Token' is never used", - "markdown": "Method 'Token' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 26, - "charOffset": 881, - "charLength": 5, - "snippet": { - "text": "Token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 845, - "charLength": 147, - "snippet": { - "text": " }\n\n public Token Token(string name)\n {\n return ItemsByName.ContainsKey(name) ? ItemsByName[name].Token : null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ff662634e4b7344bd031923fd4c82bcd5870f8916aae448242fe34004bac8d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SetVariable' is never used", - "markdown": "Method 'SetVariable' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 21, - "charOffset": 1892, - "charLength": 11, - "snippet": { - "text": "SetVariable" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 1861, - "charLength": 130, - "snippet": { - "text": " }\n\n public void SetVariable(string name, bool value)\n {\n variables[name] = new TypedValue(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "900e86bc92dcb61de2926003951be19282251317687cbd2810f68254c8a6cf54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 131, - "startColumn": 21, - "charOffset": 3348, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 129, - "startColumn": 1, - "charOffset": 3283, - "charLength": 143, - "snippet": { - "text": "\n [Production(\"listElements: value\")]\n public JSon ListElementsOne(JSon element)\n {\n return new JList(element);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "909812300ae678a3874e0d975203e40a2d0da0744f2f6768d65080b732a6daef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CLOSE_CODE' is never used", - "markdown": "Enum member 'CLOSE_CODE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 5, - "charOffset": 864, - "charLength": 10, - "snippet": { - "text": "CLOSE_CODE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 831, - "charLength": 69, - "snippet": { - "text": " [Mode(\"code\")]\n [Pop]\n CLOSE_CODE,\n \n [Keyword(\"if\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "90bcef833342ea7d45a89e752fd392444167d4c0ed5130137e239e2d789eba63" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SetVariable' is never used", - "markdown": "Method 'SetVariable' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 21, - "charOffset": 1629, - "charLength": 11, - "snippet": { - "text": "SetVariable" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1598, - "charLength": 132, - "snippet": { - "text": " }\n\n public void SetVariable(string name, string value)\n {\n variables[name] = new TypedValue(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "90edda72f4ff4676a0317bf98b504d11bc8bf2925f393eb7680e80075bc493c3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransition' is never used", - "markdown": "Method 'AnyTransition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 328, - "startColumn": 35, - "charOffset": 9524, - "charLength": 13, - "snippet": { - "text": "AnyTransition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 326, - "startColumn": 1, - "charOffset": 9479, - "charLength": 170, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransition(TransitionPrecondition precondition)\n {\n return AnyTransitionTo(Fsm.NewNodeId, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91525e1e31ebadc7078672cdca386338cb1e13c8ff48cb077faafb60ff8bf9ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 2825, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2741, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "915bcfd048e27f9d6810ceb46d2355dc8574ccc0f56f7be9d51f552e879d7c98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 48, - "charOffset": 577, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 416, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9164b99be2f576cca18cffdc203d5eff23ff2e82fe27fd8fa7d311ef9a572fa3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Conditional' is never used", - "markdown": "Method 'Conditional' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 26, - "charOffset": 1143, - "charLength": 11, - "snippet": { - "text": "Conditional" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 998, - "charLength": 370, - "snippet": { - "text": " elseBlock? \n OPEN_CODE[d] ENDIF[d] CLOSE_CODE[d] \")]\n public ITemplate Conditional(Expression cond, List thenBlock, ValueOption elseBlock)\n {\n var ifthenelse = new IfThenElse(cond, new Block(thenBlock), elseBlock.Match(x => x, () => new Block()) as Block);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "916517cf10d38950ae85f587a6f7948207742b0a2d82025e16485d9f2ce641c1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIVIDE' is never used", - "markdown": "Enum member 'DIVIDE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 48, - "charOffset": 2312, - "charLength": 6, - "snippet": { - "text": "DIVIDE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2205, - "charLength": 139, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"*\")] TIMES = 38,\n\n [Lexeme(GenericToken.SugarToken, \"/\")] DIVIDE = 39,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "919696acf36168bd2ff2c87034d15e52b338858df72e54640fe3eace156531de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ZEROORMORE' is never used", - "markdown": "Enum member 'ZEROORMORE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 9, - "charOffset": 789, - "charLength": 10, - "snippet": { - "text": "ZEROORMORE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 726, - "charLength": 133, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"*\")]\n ZEROORMORE = 3,\n \n [Lexeme(GenericToken.SugarToken,\"+\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91ca5d019465587561b3da487cb5b9d8e4fbbb63f2b57146feabb40177017adb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryNumber' is never used", - "markdown": "Method 'PrimaryNumber' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 27, - "charOffset": 216, - "charLength": 13, - "snippet": { - "text": "PrimaryNumber" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 147, - "charLength": 175, - "snippet": { - "text": " {\n [Production(\"primary: INT\")]\n public Expression PrimaryNumber(Token intToken)\n {\n return new Number(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91ffa2c06946e6134977a0f14a9ab879c32f985cd488c76b7594867d2bc598bc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 39, - "charOffset": 168, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 74, - "charLength": 150, - "snippet": { - "text": " {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "925240467e335bf662086eb9bf75557577a3a3678c0ed6d6cf0452eeb6264f0e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BuildCallbacks' is never used", - "markdown": "Method 'BuildCallbacks' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 28, - "charOffset": 156, - "charLength": 14, - "snippet": { - "text": "BuildCallbacks" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 122, - "charLength": 133, - "snippet": { - "text": " {\n\n public static void BuildCallbacks(GenericLexer lexer) where IN : struct\n {\n var attributes =" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9273979c205946400f828049951b27a5e839cd54d6abeef41b88dd67a3ee99e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 23, - "charOffset": 1726, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1666, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "92d8435fd1ef478b730ee22b07a097a04e3e3fcab32aba5e10ef1d442a4e921e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1560, - "startColumn": 9, - "charOffset": 53553, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1558, - "startColumn": 1, - "charOffset": 53493, - "charLength": 80, - "snippet": { - "text": " {\n [Lexeme(GenericToken.SugarToken,\",\")]\n COMMA = 1\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "92d8a46398d6fac44b92ac84825388216fd4dd2e191f01907e2336f6ed6dd953" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Primary' is never used", - "markdown": "Method 'Primary' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 20, - "charOffset": 171, - "charLength": 7, - "snippet": { - "text": "Primary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 109, - "charLength": 150, - "snippet": { - "text": " {\n [Production(\"primary: INT\")]\n public int Primary(Token intToken)\n {\n return intToken.IntValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9312613afc1acff4ffbeefc323341d65977e3e4a20039dcac36821d03212a32a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'ModeAttribute' is never used", - "markdown": "Constructor 'ModeAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ModeAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 278, - "charLength": 13, - "snippet": { - "text": "ModeAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 223, - "charLength": 128, - "snippet": { - "text": " public string[] Modes { get; }\n\n public ModeAttribute()\n {\n Modes = new[] { DefaultLexerMode };" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "931500dd1e60e7d1a32b31f92bc6938a79e3275ed3e0d158ebe0a57cbb18bc99" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Operand' is never used", - "markdown": "Method 'Operand' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 166, - "startColumn": 25, - "charOffset": 5567, - "charLength": 7, - "snippet": { - "text": "Operand" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 164, - "startColumn": 1, - "charOffset": 5484, - "charLength": 140, - "snippet": { - "text": " [Operand]\n [Production(\"operand: primary\")]\n public WhileAST Operand(WhileAST prim)\n {\n return prim;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9326adcc4fc91eb2513aac004185fcd09bc66125230fa0930e8235de2bc75f70" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 48, - "charOffset": 642, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 480, - "charLength": 236, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "934366d9f31c9ccc0cf90d2333250433de0b3a1848ce9e7019b45ac275a17ad5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryId' is never used", - "markdown": "Method 'PrimaryId' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 159, - "startColumn": 25, - "charOffset": 5347, - "charLength": 9, - "snippet": { - "text": "PrimaryId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 157, - "startColumn": 1, - "charOffset": 5278, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"primary: IDENTIFIER\")]\n public WhileAST PrimaryId(Token varToken)\n {\n return new Variable(varToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9349e4cd9c28109f85dc3de2c72bb187ca42ec6e0f0dcfe9435785138c2279b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 23, - "charOffset": 3947, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3871, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "943d2199d1117376226cefe794a8c72d09dda1dd186585160e0bb0bdd366d3bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 23, - "charOffset": 1750, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1690, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "94706ae350c41e95362db0ec4d394ab082c2885f589d291b93d9c0d3be19dd7b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 35, - "charOffset": 288, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 175, - "charLength": 199, - "snippet": { - "text": " [Lexeme(\"\\\\*\")] ZEROORMORE = 3,\n [Lexeme(\"\\\\+\")] ONEORMORE = 4,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 5,\n [Lexeme(\"^\\\\?\")] OPTION = 6,\n [Lexeme(\"^\\\\[d\\\\]\")] DISCARD = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9524b8aa03b37b6367d58a67cd91d0c6c743626a7933ff9504fcead981b3508c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 23, - "charOffset": 447, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 358, - "charLength": 195, - "snippet": { - "text": " [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9557c669c23409937df5a4b436484c64a3771b5ff8f389ff667d622ace5bd393" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 626, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 549, - "charLength": 137, - "snippet": { - "text": " private Dictionary Values { get; }\n\n public int Count => Values.Count;\n\n public JSon this[string key]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "958adc396f4c12a7fc5e191628812615687bf1c4c8910f5b32c766fb39f72938" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WHILE' is never used", - "markdown": "Enum member 'WHILE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 9, - "charOffset": 576, - "charLength": 5, - "snippet": { - "text": "WHILE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 479, - "charLength": 190, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]\n WHILE = 4,\n\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95bc828f8584e48f397d8df4b7e41cdc417fe425beab9738bd2a26c1d3e6a227" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 48, - "charOffset": 356, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 232, - "charLength": 247, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95eabe5854efa4de85e0db1a849e97df6fdec9d40d82afc4280987f33b8aac75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 9, - "charOffset": 694, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 650, - "charLength": 92, - "snippet": { - "text": " \n [String(\"'\",\"\\\\\")]\n STRING = 12,\n \n [Keyword(\"hello\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95ff6a450afd510f47ceeb8a28e572457d3d440f77c5a932eb0cfaaa76ee39f7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 289, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 224, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "968132a05fd67626301086503fa3aa65cdb9f3f6ffa5a1dd5d7206bc8c87ee2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 21, - "charOffset": 1863, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1803, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96948c34afcaf85abb01e44911db7fca71ecd0a0b79e6fdec73c4fd36260c758" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsNull' is never used", - "markdown": "Property 'IsNull' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 29, - "charOffset": 244, - "charLength": 6, - "snippet": { - "text": "IsNull" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 117, - "charLength": 155, - "snippet": { - "text": " public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96aa44177caa362f391365b93d6bb91946de5bcbd1b4a256c619f2562b9bea2b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DO' is never used", - "markdown": "Enum member 'DO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 9, - "charOffset": 686, - "charLength": 2, - "snippet": { - "text": "DO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 595, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]\n DO = 5,\n\n [Lexeme(GenericToken.KeyWord, \"SKIP\")] [Lexeme(GenericToken.KeyWord, \"skip\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96dd52e440c8cb2d3b2a73505b8f76973c456eeb5659265da47b6a0e95e8dbfe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RBR' is never used", - "markdown": "Enum member 'RBR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 9, - "charOffset": 729, - "charLength": 3, - "snippet": { - "text": "RBR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 666, - "charLength": 126, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"]\")]\n RBR = 8,\n \n [Lexeme(GenericToken.SugarToken,\":\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96fc0d73cec81a58eb88ec3f00addca252514679140b37eae987c52b3febfaf5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 48, - "charOffset": 305, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 206, - "charLength": 162, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int,channel:101)] INT = 22,\n \n [SingleLineComment(\"//\", channel:2)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "972079906684ecc3d5003bb5be03e35d63d757edb86899b5311fa6c113080e35" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandInt' is never used", - "markdown": "Method 'OperandInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 23, - "charOffset": 2499, - "charLength": 10, - "snippet": { - "text": "OperandInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2424, - "charLength": 163, - "snippet": { - "text": " \n [Production(\"primary_value : INT\")]\n public double OperandInt(Token value)\n {\n return value.DoubleValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "972f60810047c7d542f9cfc6c69c74e8584601be7b17a7d154bf9388afabcdf7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'statementSequence' is never used", - "markdown": "Method 'statementSequence' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 25, - "charOffset": 2329, - "charLength": 17, - "snippet": { - "text": "statementSequence" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2259, - "charLength": 145, - "snippet": { - "text": "\n [Production(\"statement : sequence\")]\n public WhileAST statementSequence(WhileAST sequence)\n {\n return sequence;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "979140d63c2cff3327a22f909ebb6df0cbbf801fc1aa8881f76d89bcf3c16f8f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Term_Factor' is never used", - "markdown": "Method 'Term_Factor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 20, - "charOffset": 1919, - "charLength": 11, - "snippet": { - "text": "Term_Factor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 1861, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"term : factor\")]\n public int Term_Factor(int factorValue)\n {\n return factorValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9801bd6ecb9effffd8416bf44fdf6de790fa817c40de23c474f35c100108a8d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetDebug' is never used", - "markdown": "Method 'GetDebug' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 286, - "startColumn": 23, - "charOffset": 8302, - "charLength": 8, - "snippet": { - "text": "GetDebug" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 284, - "startColumn": 1, - "charOffset": 8245, - "charLength": 100, - "snippet": { - "text": " [ExcludeFromCodeCoverage]\n\n public string GetDebug()\n {\n if (IsEOS)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98898e86db699a8a1776a6139a64473c873ea8eb6170e779e7d72558a3358be8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoiceZeroOrMore' is never used", - "markdown": "Method 'ChoiceZeroOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 28, - "charOffset": 5681, - "charLength": 16, - "snippet": { - "text": "ChoiceZeroOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 5595, - "charLength": 234, - "snippet": { - "text": "\n [Production(\"clause : choiceclause ZEROORMORE \")]\n public IClause ChoiceZeroOrMore(ChoiceClause choices,Token discardZeroOrMore)\n {\n return new ZeroOrMoreClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9898ca5848b8e10cddf18e71de7d0e17742ef14b400b755d74b22b21b1b01031" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupClauses' is never used", - "markdown": "Method 'GroupClauses' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 184, - "startColumn": 32, - "charOffset": 7183, - "charLength": 12, - "snippet": { - "text": "GroupClauses" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 182, - "startColumn": 1, - "charOffset": 7087, - "charLength": 221, - "snippet": { - "text": "\n [Production(\"groupclauses : groupclause groupclauses\")]\n public GroupClause GroupClauses(GroupClause group, GroupClause groups)\n {\n if (groups != null) group.AddRange(groups);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98fb3f3a1ef4ba806de676af5014cae87fbc41744327d97049e3a6d279559737" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryFactorExpression' is never used", - "markdown": "Method 'BinaryFactorExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 23, - "charOffset": 1030, - "charLength": 22, - "snippet": { - "text": "BinaryFactorExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 854, - "charLength": 300, - "snippet": { - "text": " [Operation((int) ExpressionToken.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation(\"DIVIDE\", Affix.InFix, Associativity.Left, 50)]\n public double BinaryFactorExpression(double left, Token operation, double right)\n {\n double result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "99a26e8717d6fb849fc1fad8c04ec09a3a76c9572be7089c08a3f922ec8345c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EQUALS' is never used", - "markdown": "Enum member 'EQUALS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 158, - "startColumn": 9, - "charOffset": 3373, - "charLength": 6, - "snippet": { - "text": "EQUALS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 156, - "startColumn": 1, - "charOffset": 3341, - "charLength": 68, - "snippet": { - "text": "\n [Sugar( \"==\")]\n EQUALS = 32,\n\n [Sugar( \"!=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "99dc34229381e16555b68cd7bea4ff72a0b71b5f878734d9b366ad812a07b4f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 2933, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2849, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "99fbfb3f5b4351862a4b9d75bcc40e7d24dcf280b9d303bc870fcb999d4f7f0b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 20, - "charOffset": 1009, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 948, - "charLength": 139, - "snippet": { - "text": "\n [Production(\"root: statement*\")]\n public Ast Root(List statements)\n {\n return new Block(statements);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a5b9f9117df0eba026407185176f03a4d0403c7f35869855fc66b8eefa50a64" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'returnStmt' is never used", - "markdown": "Method 'returnStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 25, - "charOffset": 4080, - "charLength": 10, - "snippet": { - "text": "returnStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 3981, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"statementPrim: RETURN [d] WhileParser_expressions\")]\n public WhileAST returnStmt(WhileAST expression)\n {\n return new ReturnStatement(expression as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a5ef63a7db5c8b823d20d84ec9628944c52fe86d8fcf99aa034acaf40828349" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransition' is never used", - "markdown": "Method 'AnyTransition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 323, - "startColumn": 35, - "charOffset": 9402, - "charLength": 13, - "snippet": { - "text": "AnyTransition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 321, - "startColumn": 1, - "charOffset": 9357, - "charLength": 121, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransition()\n {\n return AnyTransitionTo(Fsm.NewNodeId);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a5eff20906e8a58a8e689b6936aea40056b44018780ca29176ba1821f0ef8a0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAR' is never used", - "markdown": "Enum member 'RPAR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 9, - "charOffset": 278, - "charLength": 4, - "snippet": { - "text": "RPAR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 206, - "charLength": 147, - "snippet": { - "text": " LPAR = 2,\n [Lexeme(GenericToken.SugarToken,\")\")]\n RPAR = 3,\n [Lexeme(GenericToken.SugarToken,\"=\")]\n DEFINE = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a66c5b9c77b344d1cf0f93decc873d6e1e0de8b372d5a476537ec97fa657474" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Expression' is never used", - "markdown": "Method 'Expression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 20, - "charOffset": 567, - "charLength": 10, - "snippet": { - "text": "Expression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 431, - "charLength": 243, - "snippet": { - "text": " [Production(\"expression : term PLUS expression\")]\n [Production(\"expression : term MINUS expression\")]\n public int Expression(int left, Token operatorToken, int right)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a8f123a6dc08a97c1269b9aa53873d70b632e1adf979dbc978b60ab270b65be" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LESSER' is never used", - "markdown": "Enum member 'LESSER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 155, - "startColumn": 23, - "charOffset": 3328, - "charLength": 6, - "snippet": { - "text": "LESSER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 153, - "startColumn": 1, - "charOffset": 3269, - "charLength": 95, - "snippet": { - "text": " [Sugar( \">\")] GREATER = 30,\n\n [Sugar( \"<\")] LESSER = 31,\n\n [Sugar( \"==\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9aacfa40d1269bfd7b60a25d3da8ecd1e2991f56e0a90efde1456ffa4a07fb4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 23, - "charOffset": 839, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 777, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9aadfe769efce2076081c9ba8bc55e1086ca0a2183a65d1c8238e2284247b256" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'id' is never used", - "markdown": "Method 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 20, - "charOffset": 224, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 164, - "charLength": 148, - "snippet": { - "text": " \n [Production(\"id : ID\")]\n public Ast id(Token tok)\n {\n return new Identifier(tok.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ad11f2acbfd14b50519a4c08c1014b898e0eca2eecfdfb3be98b2523ac0927d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 23, - "charOffset": 3753, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3670, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ad352760e7a29f15e7bb9d0b58f3d7866cd135f4733f42a3481f6e6181bc0d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsBool' is never used", - "markdown": "Property 'IsBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 21, - "charOffset": 408, - "charLength": 6, - "snippet": { - "text": "IsBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 338, - "charLength": 126, - "snippet": { - "text": " public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;\n\n public T GetValue()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b0b2d39c2362893d0d0cc9a843481ba2373610b26cd8ae58eb1e9922b5975f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'MINUS' is never used", - "markdown": "Enum member 'MINUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 22, - "charOffset": 383, - "charLength": 5, - "snippet": { - "text": "MINUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 335, - "charLength": 85, - "snippet": { - "text": "\n // the - operator\n [Sugar(\"-\")] MINUS = 7,\n\n // the * operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b1141e56fb3a0a4e28724dd358202b35f65e5d25def6a9a04ae98f28390918f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 36, - "charOffset": 215, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 80, - "charLength": 200, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3,\n\n [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b33332e76af78cf2f68795b2e04e9a53ca237391d129f9a99b0b7387406941f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 23, - "charOffset": 653, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 594, - "charLength": 154, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b7b072a9cc8238b952be0a36f59a97ba6c07f574f637ffa3449ba053814fdf3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryAndExpression' is never used", - "markdown": "Method 'binaryAndExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 203, - "startColumn": 27, - "charOffset": 7075, - "charLength": 19, - "snippet": { - "text": "binaryAndExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 201, - "startColumn": 1, - "charOffset": 6965, - "charLength": 283, - "snippet": { - "text": "\n [Operation((int) TemplateLexer.AND, Affix.InFix, Associativity.Right, 50)]\n public Expression binaryAndExpression(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, BinaryOperator.AND, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b87ab4a22077fae16598e41431f659d7410cd2465956c8062b4e031ff57f10c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ContainsKey' is never used", - "markdown": "Method 'ContainsKey' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 946, - "charLength": 11, - "snippet": { - "text": "ContainsKey" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 915, - "charLength": 108, - "snippet": { - "text": " }\n\n public bool ContainsKey(string key)\n {\n return Values.ContainsKey(key);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ba329bd7ea6ddf46c695c5b79d396a182d2d47edcb9ec94d6ecb310953b7243" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 21, - "charOffset": 2306, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2229, - "charLength": 153, - "snippet": { - "text": "\n [Production(\"object: ACCG[d] members ACCD[d]\")]\n public JSon AttributesObjectValue(JObject members)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c0d2244956c2588c86bbfbda8803fcf783c5a939fccf4075a1808d5e787e73b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 39, - "charOffset": 160, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 91, - "charLength": 108, - "snippet": { - "text": " {\n // float number \n [Lexeme(GenericToken.Double)] DOUBLE = 1,\n\n // integer " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c64fbf0867b3870bf6801f186de9c1be5d52189772060ec138353d3976427c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OptionClause' is never used", - "markdown": "Method 'OptionClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 28, - "charOffset": 1716, - "charLength": 12, - "snippet": { - "text": "OptionClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1637, - "charLength": 231, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER OPTION\")]\n public IClause OptionClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c9860089adbba433c9ea10659dd8fa8bc25ddc2afdb067557b55238a800e97f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 9, - "charOffset": 1435, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1356, - "charLength": 140, - "snippet": { - "text": " public enum DoubleExponent {\n [Lexeme(GenericToken.Double)]\n DOUBLE = 1,\n \n [Lexeme(GenericToken.Extension)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d79bb3e670fc359316b89206d809469e5d2fc4ce1258faf65588388ad110031" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 9, - "charOffset": 477, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 382, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]\n ELSE = 3,\n\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9dbb670254f28a2a50afc5585ae25df7cfe53e86c84e752768349d71a6ba08c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attribute' is never used", - "markdown": "Method 'Attribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 23, - "charOffset": 2503, - "charLength": 9, - "snippet": { - "text": "Attribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2426, - "charLength": 217, - "snippet": { - "text": "\n [Production(\"attribute: ID EQUALS[d] VALUE\")]\n public string Attribute(Token id, Token value)\n {\n return $\"{id.Value} = {value.StringWithoutQuotes}\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9e3ebc53110b7ab17db266da0fe60f0b07a6c2e7941abbb2d7acce17f21fd176" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 306, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 248, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9e45b3ddeeac1db6ed250dbfe8720f17a3b2d415fa57023ae324fb634e368005" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'KeyWordIgnoreCase.set' is never used", - "markdown": "Accessor 'KeyWordIgnoreCase.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 13, - "charOffset": 939, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 849, - "charLength": 134, - "snippet": { - "text": " {\n get => keyWordIgnoreCase ?? Defaults.KeyWordIgnoreCase;\n set => keyWordIgnoreCase = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9e53e7b28b76faf526329786e705dba3cb723c5732186b56f6f792c9c910b255" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 21, - "charOffset": 2164, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9eb260ed2ac854603cacf27e2babe1d9184878039434bdb86115681116d925d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 23, - "charOffset": 314, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 214, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9efb81e2ac9e0e45ccdd0a66c0a64518e0725f69405c3b1f87f38fed5907ac63" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Posobject2' is never used", - "markdown": "Method 'Posobject2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 150, - "startColumn": 23, - "charOffset": 4235, - "charLength": 10, - "snippet": { - "text": "Posobject2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 148, - "startColumn": 1, - "charOffset": 4138, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"pos_args : ( arith_expr COMMA [d] )* arith_expr\")]\n public object Posobject2(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9f1bde430dc5a9fb29346e96134f3461eaf4c6e25e6055a862466e610d405f0e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WHILE' is never used", - "markdown": "Enum member 'WHILE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 584, - "charLength": 5, - "snippet": { - "text": "WHILE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 487, - "charLength": 190, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]\n WHILE = 4,\n\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9f3b23067f44708bed4f77014fb8c73e7af81000c0b65523f1e67a7c52ae980b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 23, - "charOffset": 421, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 331, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fa66d5bd2860d3068f19b37f5eaccd203f4f5c244041d04c72cffa56b01eb9e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'a' is never used", - "markdown": "Enum member 'a' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 23, - "charOffset": 1585, - "charLength": 1, - "snippet": { - "text": "a" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 1531, - "charLength": 118, - "snippet": { - "text": " public enum TokenType\n {\n [Lexeme(\"a\")] a = 1,\n [Lexeme(\"b\")] b = 2,\n [Lexeme(\"c\")] c = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fcc9af7a67231186c2eae26a22b109c4e4f37f68d39193358ef9c863bf50734" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'THEN' is never used", - "markdown": "Enum member 'THEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 372, - "charLength": 4, - "snippet": { - "text": "THEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 277, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]\n THEN = 2,\n\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fd834368f736daf458bb8d17f7a1b8ef50d61eb6c461a038b6ce2d85c638e5f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'VisitTree' is never used", - "markdown": "Method 'VisitTree' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 24, - "charOffset": 604, - "charLength": 9, - "snippet": { - "text": "VisitTree" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 543, - "charLength": 156, - "snippet": { - "text": " private int NodeCounter = 0;\n\n public DotNode VisitTree(ISyntaxNode root)\n {\n Graph = new DotGraph(\"syntaxtree\", true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a017e7086788dbc2f1a6ac4e8c12b8637a76ae55f5b9c892472ee49eadc5b3e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 31, - "charOffset": 699, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 634, - "charLength": 126, - "snippet": { - "text": " #region literals 20 -> 29\n\n [Lexeme(\"[a-zA-Z]+\")] IDENTIFIER = 20,\n\n [Lexeme(\"\\\"[^\\\"]*\\\"\")] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a026fa33d6fefe8e2039ef8a1c84482a6f7284b3507a19a82a5cb676a8c9a304" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryInt' is never used", - "markdown": "Method 'PrimaryInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 27, - "charOffset": 3981, - "charLength": 10, - "snippet": { - "text": "PrimaryInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 3907, - "charLength": 203, - "snippet": { - "text": " \n [Production(\"primary: INT\")]\n public Expression PrimaryInt(Token intToken)\n {\n return new IntegerConstant(intToken.IntValue, intToken.Position);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0c4ac204cee5f689fceac8030dd1d80eac10555be490a428dae2df93e236f42" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 23, - "charOffset": 1726, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1666, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0cecad142056dfc27a2d7abc03be723f7fe132f521b32a9e39cf57eaec30473" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Statement' is never used", - "markdown": "Method 'Statement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 20, - "charOffset": 702, - "charLength": 9, - "snippet": { - "text": "Statement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 622, - "charLength": 153, - "snippet": { - "text": "\n [Production(\"statement: [set|ifthenelse]? EOL[d]\")]\n public Ast Statement(ValueOption stat)\n {\n return stat.Match(" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0dcb0ae396af775ea6b09094758760b74222b1a9fa00784edcd858b83a5288b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EQ' is never used", - "markdown": "Enum member 'EQ' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 9, - "charOffset": 875, - "charLength": 2, - "snippet": { - "text": "EQ" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 812, - "charLength": 88, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"=\")]\n EQ = 8,\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0e2145cdfca8e55a8efaeb52f23c4e379b4a47e08121bc45112e76386e059af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 21, - "charOffset": 2754, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a12453e165a1ee460224d5f4993a474ca372199a5dfb6ebca1b99fc74e538295" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExplicitTokenClause' is never used", - "markdown": "Method 'ExplicitTokenClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 121, - "startColumn": 28, - "charOffset": 4523, - "charLength": 19, - "snippet": { - "text": "ExplicitTokenClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 119, - "startColumn": 1, - "charOffset": 4455, - "charLength": 263, - "snippet": { - "text": "\n [Production(\"clause : STRING\")]\n public IClause ExplicitTokenClause(Token explicitToken) {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value,discard:false, explicitToken :true);\n return clause;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a21857be25ea2909753a75d52757b6550e7c9225cf76568ecdd57065f5eeb288" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'GREATER' is never used", - "markdown": "Enum member 'GREATER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 23, - "charOffset": 3291, - "charLength": 7, - "snippet": { - "text": "GREATER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 3233, - "charLength": 107, - "snippet": { - "text": " #region operators 30 -> 49\n\n [Sugar( \">\")] GREATER = 30,\n\n [Sugar( \"<\")] LESSER = 31," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3122accd2a10a943f6a31ac96edc4d7fb0e59b6519cd165efb229fa11420d5d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryString' is never used", - "markdown": "Method 'PrimaryString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 153, - "startColumn": 25, - "charOffset": 5126, - "charLength": 13, - "snippet": { - "text": "PrimaryString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 151, - "startColumn": 1, - "charOffset": 5061, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"primary: STRING\")]\n public WhileAST PrimaryString(Token stringToken)\n {\n return new StringConstant(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a391cdf2ef35684a3f3c84d5ef5eb4a99e4de303ec036d391b2c4d50c2cb5caa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SingleMember' is never used", - "markdown": "Method 'SingleMember' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 157, - "startColumn": 21, - "charOffset": 4176, - "charLength": 12, - "snippet": { - "text": "SingleMember" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 155, - "startColumn": 1, - "charOffset": 4112, - "charLength": 141, - "snippet": { - "text": "\n [Production(\"members : property\")]\n public JSon SingleMember(JObject pair)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3942d20fc91fc5405295d4078731beedde93538f515122a36390b3c00beb102" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'RangeTransitionTo' is never used", - "markdown": "Method 'RangeTransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 554, - "startColumn": 35, - "charOffset": 18313, - "charLength": 17, - "snippet": { - "text": "RangeTransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 552, - "startColumn": 1, - "charOffset": 18268, - "charLength": 162, - "snippet": { - "text": " }\n\n public FSMLexerBuilder RangeTransitionTo(char start, char end, string toNodeMark,\n TransitionPrecondition precondition)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3ea50508c4dfd93170768d34ce3950be701cd517a230a05f296eafc637f8861" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 21, - "charOffset": 1725, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1664, - "charLength": 114, - "snippet": { - "text": "\n [Production(\"value : NULL[d]\")]\n public JSon NullValue()\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a422799860671c8920ef6c8a444577f08ae067a73c5ab084e0a266c7712070c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Expression_Term' is never used", - "markdown": "Method 'Expression_Term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 27, - "charOffset": 1169, - "charLength": 15, - "snippet": { - "text": "Expression_Term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 1100, - "charLength": 146, - "snippet": { - "text": "\n [Production(\"expression : term\")]\n public Expression Expression_Term(Expression termValue)\n {\n return termValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a467c4c36bd94e0724189c38ded25df120bbb1642d427c1e5faa0b6953008e54" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'assignStmt' is never used", - "markdown": "Method 'assignStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 107, - "startColumn": 25, - "charOffset": 3650, - "charLength": 10, - "snippet": { - "text": "assignStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 105, - "startColumn": 1, - "charOffset": 3540, - "charLength": 259, - "snippet": { - "text": "\n [Production(\"statementPrim: IDENTIFIER ASSIGN [d] WhileParser_expressions\")]\n public WhileAST assignStmt(Token variable, Expression value)\n {\n var assign = new AssignStatement(variable.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a467c5b9cb07fed9253b4e687aa32ce6cfcfe7c210ccc234288c1965fd385ee4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 166, - "startColumn": 9, - "charOffset": 3502, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 164, - "startColumn": 1, - "charOffset": 3470, - "charLength": 78, - "snippet": { - "text": "\n [Sugar( \":=\")]\n ASSIGN = 35,\n\n [Sugar( \"+\")] PLUS = 36," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a515b4eb5f62dd0f34837c55845f1886d5aa6873156f58b05765fcaa7c07b040" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'DoubleValue' is never used", - "markdown": "Property 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 237, - "startColumn": 24, - "charOffset": 6911, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 235, - "startColumn": 1, - "charOffset": 6858, - "charLength": 90, - "snippet": { - "text": " \n [JsonIgnore]\n public double DoubleValue\n {\n get" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5b9c044f0f2c59c87268744f6387b2e946c561cc69bce54a32ee92d2eeb5a4c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetChannels' is never used", - "markdown": "Method 'GetChannels' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 46, - "charOffset": 1015, - "charLength": 11, - "snippet": { - "text": "GetChannels" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 959, - "charLength": 147, - "snippet": { - "text": " }\n\n public IEnumerable> GetChannels()\n {\n return _tokenChannels.Values.OrderBy(x => x.ChannelId);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5cbe6be0d8f6e7b22226c5557e541eabb52166481cd2e31e5228292f947d4b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 23, - "charOffset": 3471, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 3386, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5d56e186a147434882b62823bf736ef9dbdd05dfb2dc8bc0fa4e4bbd3d2124c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupOneOrMore' is never used", - "markdown": "Method 'GroupOneOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 28, - "charOffset": 6180, - "charLength": 14, - "snippet": { - "text": "GroupOneOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 6080, - "charLength": 275, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN ONEORMORE \")]\n public IClause GroupOneOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token oneZeroOrMore)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a61d2cb47ac930c5025a8bc3572a3245e7bae1929cc1923997a3e36cc245381a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sq' is never used", - "markdown": "Method 'sq' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 23, - "charOffset": 2134, - "charLength": 2, - "snippet": { - "text": "sq" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2053, - "charLength": 125, - "snippet": { - "text": " [Operand]\n [Production(\"atom : sqbr_expr\")]\n public object sq(object i)\n {\n return i;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a67063b15bd5dfca3d20aa2be09c40b36a0c134f7384c403fae46aed4e360746" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 19, - "charOffset": 3139, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3086, - "charLength": 100, - "snippet": { - "text": " #region literals 20 -> 29\n\n [AlphaId] IDENTIFIER = 20,\n\n [String] STRING = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a67291ad15fbd49f36181fc3d83381cfc6b6553022a67aa1efed8bb5618f486a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 28, - "charOffset": 212, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 80, - "charLength": 218, - "snippet": { - "text": " [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6ad4a3279559a11055a196fe8b0f97abe409d480a227d7e5ca74a1b61a0635c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'assign' is never used", - "markdown": "Method 'assign' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 23, - "charOffset": 200, - "charLength": 6, - "snippet": { - "text": "assign" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 110, - "charLength": 169, - "snippet": { - "text": " \n [Production(\"test_stmt : ID EQ [d] arith_expr \")]\n public object assign(Token id, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a6f3c251542f3ae8a91c1636fc5c62c5eb5d111a1ac8be2f8705b9f5598efec2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 23, - "charOffset": 816, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 754, - "charLength": 144, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n double dbl;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7255157c61d375117ef0045bfe3ac959eb0f67c20915ef54e77842a9f5489de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'actargs2' is never used", - "markdown": "Method 'actargs2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 23, - "charOffset": 758, - "charLength": 8, - "snippet": { - "text": "actargs2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 686, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"fun_actual_args2 : args2\")]\n public object actargs2(object args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7311ac13e43846858a6af54e921dae4f81a18f688a53e5e8e5a22859ca21e3b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 9, - "charOffset": 1467, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1408, - "charLength": 78, - "snippet": { - "text": "\n [Lexeme(GenericToken.String, \"'\",\"\\\\\")] \n STRING = 13,\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7486fcc63a71977c520c9caefbf5ca3a47ff06ede878d6ff3c2cbc5a21a745e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 21, - "charOffset": 2710, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7fb3358b69060b82a04283456cf6d93d55f07977785f946ff95d60dd56c63ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'primaryFactor' is never used", - "markdown": "Method 'primaryFactor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 20, - "charOffset": 2061, - "charLength": 13, - "snippet": { - "text": "primaryFactor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2000, - "charLength": 129, - "snippet": { - "text": "\n [Production(\"factor : primary\")]\n public int primaryFactor(int primValue)\n {\n return primValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a811e626227016cd0fc79521eeeb962636aa15d79dd8974370339732d0c85842" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'BOOLEAN' is never used", - "markdown": "Enum member 'BOOLEAN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 9, - "charOffset": 329, - "charLength": 7, - "snippet": { - "text": "BOOLEAN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 254, - "charLength": 221, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord,channel:0, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken,channel:0, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken,channel:0, \"}\")] ACCD = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8916bcbfaebaaa66691220ffb2410c1f3db5d3d724bcc7983ece984d9723905" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 21, - "charOffset": 3231, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3157, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a906e0f7dbdbdf821bd893c6edfa0b10d9565c1bbd10436d7bb1de0fcac64170" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 723, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 577, - "charLength": 197, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"\\r\\n\",IsLineEnding = true)]\n [Lexeme(GenericToken.SugarToken, \"\\r\",IsLineEnding = true)]\n EOL = 7,\n \n [SingleLineComment(\"//\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a91b6eed32456fae27a99141ef326565da7de70f294a77f8966dc37992401cfb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 21, - "charOffset": 486, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 426, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9c4ee115f6f6c3fed22d54747fa6c08f69de9656e05b247180102d393db3972" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 118, - "startColumn": 21, - "charOffset": 2915, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 116, - "startColumn": 1, - "charOffset": 2831, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"listElements: value (COMMA [d] value)*\")]\n public JSon listElements(JSon head, List> tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9c6c7d7ac9cba8d6f79e47f405fbe55f51529fd80e65a219a0307e258351852" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 508, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 450, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa260caad896f971265ddca2e2879b1149d3fc914a35c27f57ad70d3d3896b28" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DO' is never used", - "markdown": "Enum member 'DO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 9, - "charOffset": 633, - "charLength": 2, - "snippet": { - "text": "DO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 542, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]\n DO = 5,\n\n [Lexeme(GenericToken.KeyWord, \"SKIP\")] [Lexeme(GenericToken.KeyWord, \"skip\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa4d2767a5e08518d65c33d39cd9251adbccacd4be09961eff23e138c2362ccb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMENT' is never used", - "markdown": "Enum member 'COMMENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 9, - "charOffset": 2747, - "charLength": 7, - "snippet": { - "text": "COMMENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2705, - "charLength": 74, - "snippet": { - "text": "\n [SingleLineComment(\"#\")]\n COMMENT=1236\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa62b295ab35386bca644bedcb667c55c0cdea62002bdb71aaeec7dc3b5f257a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 449, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 389, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab40fc9475cef6c9b56d1144e25fc9254a4a0661f3f9c98b7b952f544132d79c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 46, - "charOffset": 118, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 172, - "snippet": { - "text": " public enum JsonToken\n {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ab88f1184d1fdf7f2fdefbaba67924647463d6f2a431e4153a358480ad3d3e55" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 22, - "charOffset": 637, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 582, - "charLength": 103, - "snippet": { - "text": "\n // a right paranthesis )\n [Sugar(\")\")] RPAREN = 11,\n \n [String(\"'\",\"\\\\\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "abfc31d4eebd51553eb0eb1482f87f52fa855d550dd8c79bc3ecaaf606c94af4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 1019, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 959, - "charLength": 150, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac067c5f92926838126148b0c99ac4f0168dffa20f0fb758050f81ec40ac8faa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ifStmt' is never used", - "markdown": "Method 'ifStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 25, - "charOffset": 3157, - "charLength": 6, - "snippet": { - "text": "ifStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 3024, - "charLength": 297, - "snippet": { - "text": "\n [Production(\"statement: IF[d] IndentedWhileParserGeneric_expressions THEN[d] block ELSE[d] block\")]\n public WhileAST ifStmt( WhileAST cond, WhileAST thenStmt, Statement elseStmt)\n {\n var stmt = new IfStatement(cond as Expression, thenStmt as Statement, elseStmt);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac260fec01ef48810bf141c62ce7c801d0b1cad14b09b01b0a310613a60398bb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RETURN' is never used", - "markdown": "Enum member 'RETURN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 9, - "charOffset": 1533, - "charLength": 6, - "snippet": { - "text": "RETURN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 1426, - "charLength": 139, - "snippet": { - "text": " \n [Lexeme(GenericToken.KeyWord, \"RETURN\")] [Lexeme(GenericToken.KeyWord, \"return\")]\n RETURN = 13,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac5a5d78fda2d63aacf95edd4cc4d882c3e54494cd77f4b11b17bcbc526d81bc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 23, - "charOffset": 164, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 77, - "charLength": 176, - "snippet": { - "text": " {\n [Lexeme(\"^[A-Za-z][A-Za-z0-9_]*\")] IDENTIFIER = 1,\n [Lexeme(\":\")] COLON = 2,\n [Lexeme(\"\\\\*\")] ZEROORMORE = 3,\n [Lexeme(\"\\\\+\")] ONEORMORE = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad471dd7cc541d2d42d633d57aae016d278fc7ecdf39b8d6dcdf583247c49d97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 21, - "charOffset": 1771, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1710, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad73553010a648b1f7ef1953a7f447309e1223b58bbab1ad4f27d0b067dd1227" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 39, - "charOffset": 125, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 48, - "charLength": 182, - "snippet": { - "text": " public enum JsonTokenGeneric\n {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ada090b9230bb138b22efb17f25338e7f09265c62f0284bb11106881bcb0d514" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RANGE' is never used", - "markdown": "Enum member 'RANGE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 5, - "charOffset": 1247, - "charLength": 5, - "snippet": { - "text": "RANGE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 1206, - "charLength": 73, - "snippet": { - "text": " [Sugar(\"..\")]\n [Mode(\"code\")]\n RANGE,\n \n #region literals" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "adc264c9924fd833b9efc48a8d5e8a96a67f38a0a1d70fc91640a471dd4e27d1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 39, - "charOffset": 118, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 182, - "snippet": { - "text": " public enum JsonTokenGeneric\n {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "adc692ef0af9c948eb9277d41af35d31f18b1c0abd1c2f4af8334094c2f1548e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 9, - "charOffset": 948, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 851, - "charLength": 192, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]\n FALSE = 8,\n\n [Lexeme(GenericToken.KeyWord, \"NOT\")] [Lexeme(GenericToken.KeyWord, \"not\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ae160bdeb1a7d7c22599393f9ea9ccfb9117b244145b08d81b16f3f007cffb81" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Indexer 'this' is never used", - "markdown": "Indexer 'this' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 548, - "charLength": 4, - "snippet": { - "text": "this" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 486, - "charLength": 120, - "snippet": { - "text": " public int Count => Items.Count;\n\n public JSon this[int index]\n {\n get => Items[index];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ae3211747a8e9429c3008a0dfd1e5e1fcc0880845b77e833ce4076bc4c41020d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Kwobject' is never used", - "markdown": "Method 'Kwobject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 23, - "charOffset": 4430, - "charLength": 8, - "snippet": { - "text": "Kwobject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 4343, - "charLength": 183, - "snippet": { - "text": "\n [Production(\"kw_args : ( COMMA [d] kw_arg )* kw_arg \")]\n public object Kwobject(List> head, object tail )\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ae40f7f260e9edf5ad04d7482d68f040a6c181cdab0a0595e82df27aac2bed35" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 48, - "charOffset": 2422, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2346, - "charLength": 149, - "snippet": { - "text": " #region sugar 50 ->\n\n [Lexeme(GenericToken.SugarToken, \"(\")] LPAREN = 50,\n\n [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 51," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af3f884ffbb26f41057231c36137665dc4e87aeeb056888b81411cc29f92570b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandParens' is never used", - "markdown": "Method 'OperandParens' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 23, - "charOffset": 2710, - "charLength": 13, - "snippet": { - "text": "OperandParens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 2598, - "charLength": 237, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParser_expressions RPAREN\")]\n public double OperandParens(Token lparen, double value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af8cd8877bf858f3281abff9cc771410499cb04e4af189812c2de38c10e062ba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 21, - "charOffset": 468, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 408, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b03887f5c66ffab8b03c0f04f2e5d92e816fe56390e01920d754e7ed30343f1a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LCROG' is never used", - "markdown": "Enum member 'LCROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 52, - "startColumn": 9, - "charOffset": 1321, - "charLength": 5, - "snippet": { - "text": "LCROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 50, - "startColumn": 1, - "charOffset": 1258, - "charLength": 129, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"[\")]\n LCROG = 11,\n \n [Lexeme(GenericToken.SugarToken,\"]\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b0531c083ca7bb5106592c2e7d70ceb52fcc7b8348dee075381a72ed0ceb14b6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'MINUS' is never used", - "markdown": "Enum member 'MINUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 9, - "charOffset": 288, - "charLength": 5, - "snippet": { - "text": "MINUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 225, - "charLength": 128, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"-\")]\n MINUS = 3,\n \n [Lexeme(GenericToken.SugarToken,\"*\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b0d28c54ab2757c85dd80393cfdea806d17bdcb8d6326d12c75e1c77724315b3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 9, - "charOffset": 801, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 738, - "charLength": 128, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\":\")]\n COLON = 7,\n \n [Lexeme(GenericToken.SugarToken,\"=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b10c546d21aa0b6f0056cee1ce3fbf5b782ebd173023a5a17b8eea0376100f73" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 21, - "charOffset": 2710, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b17bb754e07469a65310c1f07aa065f95a1a3f05d4d3ea920d8a42d81e28d193" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoicesString' is never used", - "markdown": "Method 'ChoicesString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 92, - "startColumn": 28, - "charOffset": 3278, - "charLength": 13, - "snippet": { - "text": "ChoicesString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 90, - "startColumn": 1, - "charOffset": 3201, - "charLength": 229, - "snippet": { - "text": " \n [Production(\"choices : STRING\")]\n public IClause ChoicesString(Token head)\n {\n var choice = BuildTerminalOrNonTerimal(head.Value, discard: false,explicitToken:true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1cfec2b34566ab2d7cd37df8e5912005e3a20d74dcda50c046d4c6f936874dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NOT_A_TOKEN' is never used", - "markdown": "Enum member 'NOT_A_TOKEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 9, - "charOffset": 132, - "charLength": 11, - "snippet": { - "text": "NOT_A_TOKEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 86, - "charLength": 80, - "snippet": { - "text": " public enum MinimalXmlLexer\n {\n NOT_A_TOKEN = 0,\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b220af787fea1d4ce94690bdc8089c19df164571d635a6234f8d2147b6c75de0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryOrExpression' is never used", - "markdown": "Method 'binaryOrExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 237, - "startColumn": 25, - "charOffset": 8014, - "charLength": 18, - "snippet": { - "text": "binaryOrExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 235, - "startColumn": 1, - "charOffset": 7895, - "charLength": 268, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b29c95da4ac237116496d58763cbdde4bd76e19963aa5460ec1e4ef35f206142" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncActualArgsB' is never used", - "markdown": "Method 'FuncActualArgsB' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 132, - "startColumn": 23, - "charOffset": 3662, - "charLength": 15, - "snippet": { - "text": "FuncActualArgsB" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 130, - "startColumn": 1, - "charOffset": 3571, - "charLength": 185, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b353b50d4dd8a587d25174f42cee2c90cd33a6b0a87cf6bd8793a3cd3a4f0e05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandVariable' is never used", - "markdown": "Method 'OperandVariable' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 27, - "charOffset": 1772, - "charLength": 15, - "snippet": { - "text": "OperandVariable" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1686, - "charLength": 194, - "snippet": { - "text": " \n [Production(\"primary_value : IDENTIFIER\")]\n public Expression OperandVariable(Token identifier)\n {\n return new Variable(identifier.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b3e58b9cc96f6ece596113e1eee6e535ff83158ea1e02e759c6280dff8c7a372" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 23, - "charOffset": 3876, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3800, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b3fb5c4e7d474437d1ab36cecdbc3a48146b3d4bdde3f7acbc8dcfe9e59d3f21" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 25, - "charOffset": 348, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 260, - "charLength": 164, - "snippet": { - "text": " [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b4cff8ea82481200e842561a596be853d0d0831b0098e7b7593caab2ba96ad9d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 1023, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 963, - "charLength": 150, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b4dffc82df3c47e1ccd256255d88365cfd8a8231142699201cc2d01a4b5602b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 122, - "startColumn": 9, - "charOffset": 2737, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 120, - "startColumn": 1, - "charOffset": 2683, - "charLength": 112, - "snippet": { - "text": "\n [Keyword( \"TRUE\")] [Keyword(\"true\")]\n TRUE = 7,\n\n [Keyword( \"FALSE\")] [Keyword( \"false\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b54d61a28df222ddd5fa928578264b4b0510b7a8c29ecf87177a51a9abc9d62f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestTokenCallBacks' is never used", - "markdown": "Method 'TestTokenCallBacks' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 456, - "startColumn": 28, - "charOffset": 14597, - "charLength": 18, - "snippet": { - "text": "TestTokenCallBacks" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 454, - "startColumn": 1, - "charOffset": 14559, - "charLength": 158, - "snippet": { - "text": " }\n\n public static void TestTokenCallBacks()\n {\n var res = LexerBuilder.BuildLexer(new BuildResult>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b550b38d1d0db7be799af34c0086adc69e5d30870353cac1c2953320be271bc0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 36, - "charOffset": 499, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 407, - "charLength": 169, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"=\")] SET = 5,\n\n [Lexeme(GenericToken.Int)] INT = 6,\n\n [Lexeme(GenericToken.SugarToken, \"\\n\",IsLineEnding = true)]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b5899b75b35ce5e1f76a1de36ff0d2a7ea5657aa5e68cf11fc67b51cca1d35db" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 25, - "charOffset": 355, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 267, - "charLength": 164, - "snippet": { - "text": " [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b5bdbf0b84c10eabfe87264bf123d9f9278c5ae2ca796c2daeb0028a5b236474" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'integer' is never used", - "markdown": "Method 'integer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 23, - "charOffset": 1979, - "charLength": 7, - "snippet": { - "text": "integer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1904, - "charLength": 138, - "snippet": { - "text": " [Operand]\n [Production(\"atom : INT\")]\n public object integer(Token i)\n {\n return i;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b6a25fb1ec7f4306b119400f51448b4df54f26466c4be568533768323cab2e16" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 21, - "charOffset": 2670, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2590, - "charLength": 139, - "snippet": { - "text": "\n [Production(\"list: CROG[d] listElements CROD[d]\")]\n public JSon List(JList elements)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b6cca338579fb28b7e760f589071711c77e948a5c0c73669f30461dd1d0fe555" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'MINUS' is never used", - "markdown": "Enum member 'MINUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 48, - "charOffset": 2191, - "charLength": 5, - "snippet": { - "text": "MINUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2085, - "charLength": 119, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"+\")] PLUS = 36,\n\n [Lexeme(GenericToken.SugarToken, \"-\")] MINUS = 37,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b78f7829e279d1f7d05baccf491a324f0e0d697f67dfd836deb33a9332c754ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 21, - "charOffset": 2164, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7a4c9ad8c15a0d03af5fd5a2230322b7181b3c03cfd47377c8af6f07cf7b089" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 25, - "charOffset": 4044, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3976, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"statement: SKIP[d]\")]\n public WhileAST skipStmt()\n {\n return new SkipStatement();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7a57f53b40b0a569fe110a12d7f50f77eec4f73ceca0c6579e03fda18c82289" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PLUS' is never used", - "markdown": "Enum member 'PLUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 22, - "charOffset": 252, - "charLength": 4, - "snippet": { - "text": "PLUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 204, - "charLength": 85, - "snippet": { - "text": "\n // the + operator\n [Sugar(\"+\")] PLUS = 5,\n\n // the ++ operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b7ef550bc0c5b5421df51ca8690b806581ac279aa7577691d36679d391685828" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 21, - "charOffset": 2188, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b8450af52b1a57671efde4eb418c9082593a75142e7eac44004d8825490fc9cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 21, - "charOffset": 2356, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b8602ba87e5b4adbb81b97c1475cd9fb1026a9da029f8afea18bcd48b3fe18f4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CLOSE_PAREN' is never used", - "markdown": "Enum member 'CLOSE_PAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 5, - "charOffset": 2450, - "charLength": 11, - "snippet": { - "text": "CLOSE_PAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 2410, - "charLength": 137, - "snippet": { - "text": " [Sugar(\")\")]\n [Mode(\"code\")]\n CLOSE_PAREN,\n \n [Lexeme(GenericToken.KeyWord, \"NOT\")] [Lexeme(GenericToken.KeyWord, \"not\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b879b1f01419116b3f60c4821a009c41699df7d0d093216865d043a7654e28fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 21, - "charOffset": 2734, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b980af99da3eb5029b0674bffbe3da231e9bea35a12dfa43bed41ea583cf5c21" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 32, - "charOffset": 272, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 184, - "charLength": 234, - "snippet": { - "text": "\n [Production(\"rule : IDENTIFIER COLON clauses\")]\n public GrammarNode Root(Token name, Token discarded, ClauseSequence clauses)\n {\n var rule = new Rule();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9e9a8e05337714c9c679383060faac6a1d1ade07c80608711ba91bc0b52f7f5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sqrbrack' is never used", - "markdown": "Method 'sqrbrack' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 23, - "charOffset": 1487, - "charLength": 8, - "snippet": { - "text": "sqrbrack" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1382, - "charLength": 189, - "snippet": { - "text": "\n [Production(\"sqbr_expr : ID LBR [d] Issue165Parser_expressions RBR [d]\")]\n public object sqrbrack(Token token, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb7e1bd064fb98d310464fd4fffbb5f17b1ab2eb6b0bb71b8e3f4093ee25470a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SimpleDiscardedClause' is never used", - "markdown": "Method 'SimpleDiscardedClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 28, - "charOffset": 2014, - "charLength": 21, - "snippet": { - "text": "SimpleDiscardedClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1933, - "charLength": 241, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER DISCARD \")]\n public IClause SimpleDiscardedClause(Token id, Token discard)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc14e3b4dbbc3e186f7f4483ac193562090e554c8f680f1a4b4a559bf4fe0820" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ASSIGN' is never used", - "markdown": "Enum member 'ASSIGN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 9, - "charOffset": 2199, - "charLength": 6, - "snippet": { - "text": "ASSIGN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2142, - "charLength": 128, - "snippet": { - "text": "\n [Lexeme(GenericToken.SugarToken, \":=\")]\n ASSIGN = 35,\n\n [Lexeme(GenericToken.SugarToken, \"+\")] PLUS = 36," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc155d1211998b8c516205a0395d557f8e5bb3e9dfb526056acb85ecb9326314" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TEXT' is never used", - "markdown": "Enum member 'TEXT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 9, - "charOffset": 481, - "charLength": 4, - "snippet": { - "text": "TEXT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 442, - "charLength": 101, - "snippet": { - "text": " \n [UpTo(\"{%\", \"{=\")]\n TEXT,\n \n [Sugar(\"{%\")] [Push(\"code\")] OPEN_CODE," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc24b5865e608ccf6d85b2450c25c58981f328e556ead6370762db78d40fe31c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 21, - "charOffset": 3213, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3139, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc93e3e1b88b810a955e3646052e37b15fa820b197871e318f55a8a31eb644c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsObject' is never used", - "markdown": "Property 'IsObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 29, - "charOffset": 94, - "charLength": 8, - "snippet": { - "text": "IsObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 29, - "charLength": 186, - "snippet": { - "text": " public abstract class JSon\n {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bcfdac3bac6f88f8eaa8f2ff659d93551146a5ecdeefbccd42c1b0193b0ee6ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryTermNumericExpression' is never used", - "markdown": "Method 'binaryTermNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 174, - "startColumn": 25, - "charOffset": 5669, - "charLength": 27, - "snippet": { - "text": "binaryTermNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 172, - "startColumn": 1, - "charOffset": 5482, - "charLength": 331, - "snippet": { - "text": " [Operation((int) WhileToken.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) WhileToken.MINUS, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryTermNumericExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.ADD;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bd91e94c73ac1d543e073282bd9033778563b7dbd99d812a143489a75d680b42" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 626, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 549, - "charLength": 137, - "snippet": { - "text": " private Dictionary Values { get; }\n\n public int Count => Values.Count;\n\n public JSon this[string key]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bde8ec66516224a2cc21e71688eb8f9656c9c9a301304b93b292881dc909ece2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'arith' is never used", - "markdown": "Method 'arith' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 23, - "charOffset": 2357, - "charLength": 5, - "snippet": { - "text": "arith" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2253, - "charLength": 168, - "snippet": { - "text": " [Production(\"arith_expr: ID\")]\n [Production(\"arith_expr: STRING\")]\n public object arith(Token tok)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "be7eb2f260858dd6773d55db9be5f238134155bc424fae6eae07075a55d25067" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 21, - "charOffset": 625, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 568, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public JSon IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "be8bbcfa368e9516d6f40767ec7a2ba15748e79599ca215544aaebc0b18f10c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAR' is never used", - "markdown": "Enum member 'LPAR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 9, - "charOffset": 214, - "charLength": 4, - "snippet": { - "text": "LPAR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 141, - "charLength": 146, - "snippet": { - "text": " COMMA = 1,\n [Lexeme(GenericToken.SugarToken,\"(\")]\n LPAR = 2,\n [Lexeme(GenericToken.SugarToken,\")\")]\n RPAR = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bea1e5d6bee8c4b82577ef3b8966c7ecf370798224bd31beb8934dd9de13601e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestIndentedLang' is never used", - "markdown": "Method 'TestIndentedLang' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 814, - "startColumn": 28, - "charOffset": 28994, - "charLength": 16, - "snippet": { - "text": "TestIndentedLang" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 812, - "startColumn": 1, - "charOffset": 28965, - "charLength": 100, - "snippet": { - "text": "\n\n public static void TestIndentedLang()\n {\n string source = @\"if truc == 1" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "beb5ddec812e2523e47ad6843bee6861a8016fbb294d254cc8edec08a7304802" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 58, - "charOffset": 466, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 321, - "charLength": 288, - "snippet": { - "text": " BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken,channel:0, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken,channel:0, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken,channel:0, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken,channel:0, \"]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "beb85790067751504a3bd1d927370e390a193d1cd1d4a47845ec8c6f9b3599f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 23, - "charOffset": 798, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 736, - "charLength": 144, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n double dbl;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bed5f92a702544da6d0509427ec93c99a58e22c5f5f78d9f75ca73f61e49f2aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsValue' is never used", - "markdown": "Property 'IsValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 29, - "charOffset": 194, - "charLength": 7, - "snippet": { - "text": "IsValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 66, - "charLength": 204, - "snippet": { - "text": " public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bf60f946af2e42993ecfb7d7f3fdb980c1f1526e3d6ff707e66dc4e90cfe1efd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 504, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 446, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfba921f0b24b401e485428d8385b5392a7f3f412cf36b5d8bfc11faacd13e8e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ifthenelse' is never used", - "markdown": "Method 'ifthenelse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 20, - "charOffset": 1451, - "charLength": 10, - "snippet": { - "text": "ifthenelse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1344, - "charLength": 257, - "snippet": { - "text": " \n [Production(\"ifthenelse: IF cond EOL[d] block ELSE[d] EOL[d] block \")]\n public Ast ifthenelse(Token si, Cond cond, Block thenblk, Block elseblk)\n {\n var previous = si.Previous(Channels.Comments);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bfce23fb5645604764402c1b774597db4e4b1d2e8a9f17c859277b90d14788d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ExplicitTokenClauseDiscarded' is never used", - "markdown": "Method 'ExplicitTokenClauseDiscarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 127, - "startColumn": 28, - "charOffset": 4813, - "charLength": 28, - "snippet": { - "text": "ExplicitTokenClauseDiscarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 125, - "startColumn": 1, - "charOffset": 4729, - "charLength": 320, - "snippet": { - "text": " \n [Production(\"clause : STRING DISCARD\")]\n public IClause ExplicitTokenClauseDiscarded(Token explicitToken, Token discard) {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value,discard:true, explicitToken :true);\n return clause;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bffd5d221452f748bd2151b7043953a6b3d56caf4513bee01d2446c73d281be9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsMany' is never used", - "markdown": "Method 'ListElementsMany' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 21, - "charOffset": 3191, - "charLength": 16, - "snippet": { - "text": "ListElementsMany" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3107, - "charLength": 203, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, Token comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c00ac6177be7e547fbb72034943878c55ff290a8832bfd2741e0a152010218b5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 21, - "charOffset": 1753, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1692, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public JSon BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c03aff5c84147ab138cab8ef1049fcb828f4dbe751194b105333e7477ae2e694" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsList' is never used", - "markdown": "Property 'IsList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 29, - "charOffset": 145, - "charLength": 6, - "snippet": { - "text": "IsList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 60, - "charLength": 204, - "snippet": { - "text": " {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }\n public virtual bool IsNull { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c05084e58cb750ca6c5d164a484bb18397bc83dc45f3a74b6903443a80a71931" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PLUS' is never used", - "markdown": "Enum member 'PLUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 48, - "charOffset": 2132, - "charLength": 4, - "snippet": { - "text": "PLUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2063, - "charLength": 139, - "snippet": { - "text": " ASSIGN = 35,\n\n [Lexeme(GenericToken.SugarToken, \"+\")] PLUS = 36,\n\n [Lexeme(GenericToken.SugarToken, \"-\")] MINUS = 37," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c0bb835d1a470f474721c54ce0070229507875e0490138f511446ab91b732cd9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Block' is never used", - "markdown": "Method 'Block' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 23, - "charOffset": 942, - "charLength": 5, - "snippet": { - "text": "Block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 882, - "charLength": 163, - "snippet": { - "text": "\n [Production(\"block: word+\")]\n public IDumbo Block(List tail)\n {\n return new Block {Words = tail.Cast().ToArray()}; " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c0f7598f8ae28b348a5c2d54ce7c10e8f6872e12ee459e1eb0916f114a7ed4ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'block' is never used", - "markdown": "Method 'block' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 25, - "charOffset": 2182, - "charLength": 5, - "snippet": { - "text": "block" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 2088, - "charLength": 160, - "snippet": { - "text": "\n [Production(\"statement : LPAREN [d] statement RPAREN [d]\")]\n public WhileAST block(Statement statement)\n {\n return statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c12411c4e9fe12414cb991002773cb266d53f95fd82e78b66d510ec40883fea6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 9, - "charOffset": 1099, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1036, - "charLength": 129, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"(\")]\n LPAREN = 8,\n \n [Lexeme(GenericToken.SugarToken,\")\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c1d915da6e275b6d5dd7691902dd3f500a48488b391ec7af64054e0b068b73dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SingleMember' is never used", - "markdown": "Method 'SingleMember' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 157, - "startColumn": 21, - "charOffset": 4052, - "charLength": 12, - "snippet": { - "text": "SingleMember" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 155, - "startColumn": 1, - "charOffset": 3988, - "charLength": 141, - "snippet": { - "text": "\n [Production(\"members : property\")]\n public JSon SingleMember(JObject pair)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c22d481966aca45ec4fe867a268fed900a8fd1704d2e4868c5e2a500488d966d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 21, - "charOffset": 2370, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c31bcf7014fe9d3a631fb88fe52ab8b1acbc84ea86c86a8625c42323d869e9ac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'NULL' is never used", - "markdown": "Enum member 'NULL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 48, - "charOffset": 694, - "charLength": 4, - "snippet": { - "text": "NULL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 530, - "charLength": 181, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c32eb53d3b728d2c9ddf2d299ffbc7e96464aee6a551d8692a11b1190fd513b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 21, - "charOffset": 2210, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2153, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3728b1f69bda6a7530e0a808f37d7c12899d57ea899b631a95491bce4b1c75c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 21, - "charOffset": 2087, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2027, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c39ab7a81d4a9cecf1b6225bda895433131eec1b00e85171cf50cc22d6a5ff19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 9, - "charOffset": 993, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 896, - "charLength": 192, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"FALSE\")] [Lexeme(GenericToken.KeyWord, \"false\")]\n FALSE = 8,\n\n [Lexeme(GenericToken.KeyWord, \"NOT\")] [Lexeme(GenericToken.KeyWord, \"not\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c401568ef36d948c0ecff1c1c86183a23b0aade8c100c011db87ad01c65c7f93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupZeroOrMore' is never used", - "markdown": "Method 'GroupZeroOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 169, - "startColumn": 28, - "charOffset": 6520, - "charLength": 15, - "snippet": { - "text": "GroupZeroOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 167, - "startColumn": 1, - "charOffset": 6419, - "charLength": 281, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN ZEROORMORE \")]\n public IClause GroupZeroOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token discardZeroOrMore)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c4272011e322aba621a325c03e3a522f23c7cec0a1c0b1bed8f7e0c1328bdf07" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'QUESTIONMARK' is never used", - "markdown": "Enum member 'QUESTIONMARK' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 9, - "charOffset": 134, - "charLength": 12, - "snippet": { - "text": "QUESTIONMARK" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 74, - "charLength": 132, - "snippet": { - "text": " {\n [Lexeme(GenericToken.SugarToken,\"?\")]\n QUESTIONMARK = 1,\n \n [Lexeme(GenericToken.SugarToken,\"+\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c54733396b01091e67d4d161cbb8c1d858df3edfef771c0b9e9830cb0dfa3e9f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AttributesObjectValue' is never used", - "markdown": "Method 'AttributesObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 21, - "charOffset": 2556, - "charLength": 21, - "snippet": { - "text": "AttributesObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2485, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c55160ed9059601432fef4eba2e7bf4bf0b6a007e2af352b817e76ea5f682b19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ManyMembers' is never used", - "markdown": "Method 'ManyMembers' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 21, - "charOffset": 3779, - "charLength": 11, - "snippet": { - "text": "ManyMembers" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3701, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c58ac48e9ce4d0e699eea392b4763ffcd78a3a989112fcd76b7963cf901ed812" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CONCAT' is never used", - "markdown": "Enum member 'CONCAT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 5, - "charOffset": 2003, - "charLength": 6, - "snippet": { - "text": "CONCAT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 1962, - "charLength": 73, - "snippet": { - "text": " [Sugar( \"&\")]\n [Mode(\"code\")]\n CONCAT = 34,\n\n [Sugar( \":=\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c64d627abb858873d6c7bee912afb2646eb6474923e83fd61a1696907032c6d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 23, - "charOffset": 1750, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1690, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c67954531c95b894f66a779db64a1b1e43a46bff6280f1234c734661be0963c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'RangeTransition' is never used", - "markdown": "Method 'RangeTransition' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 296, - "startColumn": 35, - "charOffset": 8395, - "charLength": 15, - "snippet": { - "text": "RangeTransition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 294, - "startColumn": 1, - "charOffset": 8350, - "charLength": 208, - "snippet": { - "text": " }\n\n public FSMLexerBuilder RangeTransition(char start, char end, TransitionPrecondition precondition)\n {\n return RangeTransitionTo(start, end, Fsm.NewNodeId, precondition);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c6f8ba9fdd03227a552ec045f59418f93fbb891d22bca626e51e1e584eb2f4de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Indexer 'this' is never used", - "markdown": "Indexer 'this' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 31, - "startColumn": 21, - "charOffset": 537, - "charLength": 4, - "snippet": { - "text": "this" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 29, - "startColumn": 1, - "charOffset": 475, - "charLength": 120, - "snippet": { - "text": " public int Count => Items.Count;\n\n public JSon this[int index]\n {\n get => Items[index];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c701134f31652dfad5a7c3ae28ba02d2536b4026dcecf1c12a1bcbc7797fd6f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 25, - "charOffset": 1181, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1057, - "charLength": 187, - "snippet": { - "text": " [LexemeLabel(\"en\",\"closing parenthesis\")]\n [LexemeLabel(\"fr\",\"parenthèse fermante\")]\n [Lexeme(\"\\\\)\")] RPAREN = 10,\n\n [LexemeLabel(\"fr\",\"point d'exclamation\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c73c94d18ab1d5f365dba04240f5f134fc306cc721e7a6e5fe1ee932b0b5f956" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 21, - "charOffset": 320, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 262, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c76d35329ac9714bf7bda1b0cabbab5ce2c948d27040f9fdd969e09c25cd9230" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ENDIF' is never used", - "markdown": "Enum member 'ENDIF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 5, - "charOffset": 979, - "charLength": 5, - "snippet": { - "text": "ENDIF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 933, - "charLength": 79, - "snippet": { - "text": " [Keyword(\"endif\")]\n [Mode(\"code\")]\n ENDIF,\n \n [Keyword(\"else\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c78b8ce94875ddb0be7a4afa18dc7db58b180b1458cb8a33f312ee46c452fa8e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'THEN' is never used", - "markdown": "Enum member 'THEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 9, - "charOffset": 319, - "charLength": 4, - "snippet": { - "text": "THEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 224, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]\n THEN = 2,\n\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c795bfc500fa94662fe20635887f7e29ccd7719f1a5bf672f9b048f5b54e4a81" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TIMES' is never used", - "markdown": "Enum member 'TIMES' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 48, - "charOffset": 645, - "charLength": 5, - "snippet": { - "text": "TIMES" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 571, - "charLength": 113, - "snippet": { - "text": "\n // the * operator\n [Lexeme(GenericToken.SugarToken, \"*\")] TIMES = 8,\n\n // the / operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7f254f60d01dd403407150ab96c99b9a06344046ee5cf03a298b4648695bbd1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestAssociativityFactorExpressionParser' is never used", - "markdown": "Method 'TestAssociativityFactorExpressionParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 701, - "startColumn": 28, - "charOffset": 24797, - "charLength": 39, - "snippet": { - "text": "TestAssociativityFactorExpressionParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 699, - "startColumn": 1, - "charOffset": 24760, - "charLength": 168, - "snippet": { - "text": "\n \n public static void TestAssociativityFactorExpressionParser()\n {\n var StartingRule = $\"{nameof(SimpleExpressionParser)}_expressions\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7f3c20e23fa4efa0dfb7c700360a1e15b389518f180355f6db9653c4cab1e78" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 21, - "charOffset": 2008, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1951, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c858f07b40255f3a251ab8224d0706ae8481c48ba2abbb00e09cf0353306acb9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AlternateChoices' is never used", - "markdown": "Method 'AlternateChoices' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 28, - "charOffset": 2771, - "charLength": 16, - "snippet": { - "text": "AlternateChoices" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2681, - "charLength": 252, - "snippet": { - "text": "\n [Production(\"choiceclause : LCROG choices RCROG \")]\n public IClause AlternateChoices(Token discardleft, IClause choices, Token discardright)\n { \n return choices;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c89ce02266ab734b00d2f6993ffe98e1785d42ca60c6a90dd32bf01c546c4936" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 21, - "charOffset": 2069, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2009, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c8b098afe1f52a7a041ac1ee2da78a8751a31340759e9e5bf9a9f282dadb67ff" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ContainsKey' is never used", - "markdown": "Method 'ContainsKey' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 21, - "charOffset": 935, - "charLength": 11, - "snippet": { - "text": "ContainsKey" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 904, - "charLength": 108, - "snippet": { - "text": " }\n\n public bool ContainsKey(string key)\n {\n return Values.ContainsKey(key);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c964ab241a84af64e0f5f279a1d9fdbb8efa7f1415f8d8b91575dc7c5d341b6c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Term' is never used", - "markdown": "Method 'Term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 43, - "startColumn": 27, - "charOffset": 1383, - "charLength": 4, - "snippet": { - "text": "Term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 41, - "startColumn": 1, - "charOffset": 1258, - "charLength": 288, - "snippet": { - "text": " [Production(\"term : factor TIMES term\")]\n [Production(\"term : factor DIVIDE term\")]\n public Expression Term(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, operatorToken.TokenID, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c9ccd1994d8c10e0eba2501fe2864798047cf95c58fc0040c6f785c934c94761" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'test' is never used", - "markdown": "Method 'test' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1569, - "startColumn": 27, - "charOffset": 53708, - "charLength": 4, - "snippet": { - "text": "test" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1567, - "startColumn": 1, - "charOffset": 53620, - "charLength": 137, - "snippet": { - "text": " [Production(\"clauses : clause (COMMA [D] clause)*\")]\n\n public object test()\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c9dd04afca38c95ec4036bcafef3d31632ad96150fdf72016b29657120fce2f3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 23, - "charOffset": 671, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 612, - "charLength": 154, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c9ed94f05ce1bc0e4c78d23895c0a1388aca98144340bd4abe910f9a71adf7f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ToGraphViz' is never used", - "markdown": "Method 'ToGraphViz' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1143, - "startColumn": 23, - "charOffset": 43703, - "charLength": 10, - "snippet": { - "text": "ToGraphViz" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1141, - "startColumn": 1, - "charOffset": 43670, - "charLength": 101, - "snippet": { - "text": " }\n\n public string ToGraphViz()\n {\n return TempLexerFsm.ToGraphViz();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c9edc8b2d5f47989a0266975d663af6a8cedd2bbd48c3061e57c0ebc36992ec1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Dump' is never used", - "markdown": "Method 'Dump' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/BoolConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 23, - "charOffset": 281, - "charLength": 4, - "snippet": { - "text": "Dump" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 257, - "charLength": 93, - "snippet": { - "text": "\n\n public string Dump(string tab)\n {\n return $\"{tab}(BOOL {Value})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca0833fe606a7e7a2891442511c2ebf2398298af23db1a36fd5657363850add9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Condi' is never used", - "markdown": "Method 'Condi' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 20, - "charOffset": 860, - "charLength": 5, - "snippet": { - "text": "Condi" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 788, - "charLength": 149, - "snippet": { - "text": " \n [Production(\"cond : id EQ[d] int\")]\n public Ast Condi(Identifier id, Integer i)\n {\n return new Cond(id, i);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca3b8ff1b52d2b83292f7b58353a7d1c71d97dd41250175c175645666995c239" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WHILE' is never used", - "markdown": "Enum member 'WHILE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 113, - "startColumn": 9, - "charOffset": 2555, - "charLength": 5, - "snippet": { - "text": "WHILE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 111, - "startColumn": 1, - "charOffset": 2500, - "charLength": 102, - "snippet": { - "text": "\n [Keyword(\"WHILE\")] [Keyword(\"while\")]\n WHILE = 4,\n\n [Sugar(\"DO\")] [Sugar(\"do\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca7107989e8aac0a8555ef5557e011a31f543dbba57e491a60aba46fef170a0d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sequenceStatements' is never used", - "markdown": "Method 'sequenceStatements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 25, - "charOffset": 2511, - "charLength": 18, - "snippet": { - "text": "sequenceStatements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2415, - "charLength": 226, - "snippet": { - "text": "\n [Production(\"sequence : statementPrim additionalStatements*\")]\n public WhileAST sequenceStatements(WhileAST first, List next)\n {\n var seq = new SequenceStatement(first as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cac49b328833ade4c594293408cb287ba4f35a317e54030606f16ff2752cdb60" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'unaryNumericExpression' is never used", - "markdown": "Method 'unaryNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 222, - "startColumn": 25, - "charOffset": 7732, - "charLength": 22, - "snippet": { - "text": "unaryNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 220, - "startColumn": 1, - "charOffset": 7616, - "charLength": 249, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb1fd7ce7522ef1e31bcd5188dce1dc1bd9cfe0fac976f05140328b6b96ba884" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryBool' is never used", - "markdown": "Method 'PrimaryBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 25, - "charOffset": 5063, - "charLength": 11, - "snippet": { - "text": "PrimaryBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 4962, - "charLength": 238, - "snippet": { - "text": " [Production(\"primary: TRUE\")]\n [Production(\"primary: FALSE\")]\n public WhileAST PrimaryBool(Token boolToken)\n {\n return new BoolConstant(bool.Parse(boolToken.StringWithoutQuotes));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb8615b1cdb80a9d2a5da0dee3fe75e5d3287731c2a4497c5a6e8dbbce03d7f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'SequenceStatement' is never used", - "markdown": "Constructor 'SequenceStatement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/SequenceStatement.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 16, - "charOffset": 280, - "charLength": 17, - "snippet": { - "text": "SequenceStatement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 188, - "charLength": 169, - "snippet": { - "text": " public class SequenceStatement : Statement, IEnumerable\n {\n public SequenceStatement()\n {\n Statements = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cbaf4a6533f371d36c5aea7d56241fed0110d7f9b90723346237565bd3356327" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 23, - "charOffset": 1569, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1506, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc1d9167765b1ee0c348bb463e8409c9739776d2da5f7dec01c7d62580d8ea3f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 21, - "charOffset": 468, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 408, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc223f4d822170f2d0fbf50979a1450dbe42850c22e0af30b28a294b2d6502fa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ObjectValue' is never used", - "markdown": "Method 'ObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 21, - "charOffset": 1873, - "charLength": 11, - "snippet": { - "text": "ObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1813, - "charLength": 119, - "snippet": { - "text": "\n [Production(\"value : object\")]\n public JSon ObjectValue(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd091c0b4c0c1f79a31d80ccb440fd22c895dacac77474bb2a3dd560b4e5c9b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'sequenceStatements' is never used", - "markdown": "Method 'sequenceStatements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 25, - "charOffset": 2469, - "charLength": 18, - "snippet": { - "text": "sequenceStatements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 2374, - "charLength": 170, - "snippet": { - "text": " \n [Production(\"block : INDENT[d] sequence UINDENT[d]\")]\n public WhileAST sequenceStatements(SequenceStatement seq)\n {\n return seq;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd2ba9b7e983e15fc8191d78a04107b0c0dccd19f272385111bc64d434526f2a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryId' is never used", - "markdown": "Method 'PrimaryId' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 25, - "charOffset": 5152, - "charLength": 9, - "snippet": { - "text": "PrimaryId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 5083, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"primary: IDENTIFIER\")]\n public WhileAST PrimaryId(Token varToken)\n {\n return new Variable(varToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd41dac7f4e644ccf0ce9c4bc32cea1b57970171496d848d8ce9bc19355b22a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 24, - "charOffset": 3665, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3581, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public JObject property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd717072510c80150c3ad3e89b7f96d1f3ab2af8f58209d4c15549f726fd1c0a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Expression' is never used", - "markdown": "Method 'Expression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 27, - "charOffset": 920, - "charLength": 10, - "snippet": { - "text": "Expression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 777, - "charLength": 312, - "snippet": { - "text": " [Production(\"expression : term PLUS expression\")]\n [Production(\"expression : term MINUS expression\")]\n public Expression Expression(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, operatorToken.TokenID, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce5b2af8561f126345fb864d493064bb918cf43d128c8d1dd91a800b3a34b375" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 23, - "charOffset": 1768, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1708, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce6da4e2e840ff2c16471d1faa1de6a31a01c09aee69bc853cdec92d296f4d97" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 269, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 211, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce95d72c1b55628a4543153b7afeab0741a99070fb2ae2ae446c6a95ea13b000" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' is never used", - "markdown": "Method 'TransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 513, - "startColumn": 35, - "charOffset": 16985, - "charLength": 12, - "snippet": { - "text": "TransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 511, - "startColumn": 1, - "charOffset": 16932, - "charLength": 153, - "snippet": { - "text": " }\n \n public FSMLexerBuilder TransitionTo(char[] inputs, string toNodeMark)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cec487a6238d4b2ce4e228c0ea4918263cd82a4c4594c9446f9a2db5a6a1974b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 20, - "charOffset": 1352, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1322, - "charLength": 99, - "snippet": { - "text": " }\n\n public int Count => Tokens.Count;\n\n private Token GetToken(int index)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cec8d2c614a683a717f805b4fc7ff68f27fec5476fb0b9101007a230d6d5e181" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 21, - "charOffset": 2572, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cfe85eb523697385b5cb3625de70c817e1890f6736c0479d101d25467bb8c1ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OpenTag' is never used", - "markdown": "Method 'OpenTag' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 23, - "charOffset": 1045, - "charLength": 7, - "snippet": { - "text": "OpenTag" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 957, - "charLength": 216, - "snippet": { - "text": "\n [Production(\"opentag : OPEN[d] ID attributes CLOSE[d]\")]\n public string OpenTag(Token tagName, string attributes)\n {\n return $\"open ({tagName.Value}, {attributes})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0762acfe866175217cf80183d96b051131b757b7269877e78ac52c632126a4e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'id' is never used", - "markdown": "Method 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 20, - "charOffset": 225, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 165, - "charLength": 149, - "snippet": { - "text": " \n [Production(\"id : ID\")]\n public Ast id(Token tok)\n {\n return new Identifier(tok.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0a1c8fc2ef56c3d39621491a59d47e0145c9636d45da480c776e9b0ac048f02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAR' is never used", - "markdown": "Enum member 'LPAR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 9, - "charOffset": 511, - "charLength": 4, - "snippet": { - "text": "LPAR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 448, - "charLength": 127, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"(\")]\n LPAR = 6,\n \n [Lexeme(GenericToken.SugarToken,\")\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d0d978a37274d28ebfec420eac4ddb0deee6f6062b8112ac1baba7ab74604971" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'KeywordArg' is never used", - "markdown": "Method 'KeywordArg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 23, - "charOffset": 4801, - "charLength": 10, - "snippet": { - "text": "KeywordArg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 4720, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d21f40cbe94cbe65275721d365be794749cde790a8b6e35fa49cf2139cbf3a2b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsBool' is never used", - "markdown": "Property 'IsBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 21, - "charOffset": 397, - "charLength": 6, - "snippet": { - "text": "IsBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 327, - "charLength": 126, - "snippet": { - "text": " public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;\n\n public T GetValue()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d22dbd2a1678af2354f18aab6c058b48db1fde7867207a60074ea420a0d1c71a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Merge' is never used", - "markdown": "Method 'Merge' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 28, - "charOffset": 229, - "charLength": 5, - "snippet": { - "text": "Merge" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 145, - "charLength": 246, - "snippet": { - "text": " public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)\n {\n foreach (var item in merge) me[item.Key] = item.Value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d29f88a19bc9a029ed084498ea8e42d0cf81f183a780d537c434ccff610f2ced" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 48, - "charOffset": 298, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 197, - "charLength": 167, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2,\n\n [Lexeme(GenericToken.KeyWord, \"else\")] ELSE = 3,\n\n [Lexeme(GenericToken.SugarToken, \"==\")] EQ = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d2b5c757768384928daffef712bf45a8faed7f22f39f5712728eb244c5203be1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 48, - "charOffset": 406, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 281, - "charLength": 248, - "snippet": { - "text": " BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d320a99f5f4bafad5c93e06d7c72a94d51a67e9d8b646bf60e6c5d504c3d5aeb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Pi' is never used", - "markdown": "Method 'Pi' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 70, - "startColumn": 23, - "charOffset": 2080, - "charLength": 2, - "snippet": { - "text": "Pi" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 68, - "startColumn": 1, - "charOffset": 1991, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"pi : OPEN_PI[d] ID attributes CLOSE_PI[d]\")]\n public string Pi(Token id , string attributes)\n {\n return $\"pi({id.Value} :: {attributes.ToString()})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d334b1eefafdd9746ef0ca6f98a9457b9d91fa580a5d45c90c1cb0a0fe5e2736" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestScript' is never used", - "markdown": "Method 'TestScript' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 641, - "startColumn": 28, - "charOffset": 21837, - "charLength": 10, - "snippet": { - "text": "TestScript" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 639, - "startColumn": 1, - "charOffset": 21808, - "charLength": 104, - "snippet": { - "text": "\n\n public static void TestScript()\n {\n var parserInstance = new ScriptParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d3513c9f43b40a2a540e321ad1d049342d3a6a1ef7eb1158107cd207c60304e7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TAB' is never used", - "markdown": "Enum member 'TAB' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 9, - "charOffset": 266, - "charLength": 3, - "snippet": { - "text": "TAB" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 217, - "charLength": 115, - "snippet": { - "text": " [Sugar(\"\\t\", 28)]\n [Mode]\n TAB,\n [Sugar(\"\\r\\n\",28,IsLineEnding = true)]\n [Mode]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d35b2718af408eceaaf0e02681a408edb95d814c5ed9ca83e449e96adbfd3bf0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryInt' is never used", - "markdown": "Method 'PrimaryInt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 25, - "charOffset": 4670, - "charLength": 10, - "snippet": { - "text": "PrimaryInt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 4608, - "charLength": 184, - "snippet": { - "text": "\n [Production(\"primary: INT\")]\n public WhileAST PrimaryInt(Token intToken)\n {\n return new IntegerConstant(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d3d7e74f29b00396f06f7cbbade582b4dd20d9baa9aa340a037bb10a8792a743" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 48, - "charOffset": 339, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 238, - "charLength": 167, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2,\n\n [Lexeme(GenericToken.KeyWord, \"else\")] ELSE = 3,\n\n [Lexeme(GenericToken.SugarToken, \"==\")] EQ = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d426f14a512688210adde5dda2875f1a7e4466a0008f0aec22e7150ead80d720" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 21, - "charOffset": 2548, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d49da18b512702f08050a2a579d7c9cdf80645af0708fcb755f7ba428b2c034b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CloseTag' is never used", - "markdown": "Method 'CloseTag' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 45, - "startColumn": 23, - "charOffset": 1271, - "charLength": 8, - "snippet": { - "text": "CloseTag" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 43, - "startColumn": 1, - "charOffset": 1184, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"closetag : OPEN[d] SLASH[d] ID CLOSE[d]\")]\n public string CloseTag(Token id)\n {\n return $\"close({id.Value})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4a4961b0bc84ec528b463483a98588f7d8f9a3c5690832f907fc59634052a22" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method '_foreach' is never used", - "markdown": "Method '_foreach' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 26, - "charOffset": 2353, - "charLength": 8, - "snippet": { - "text": "_foreach" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 2202, - "charLength": 325, - "snippet": { - "text": " \n [Production(\"item : OPEN_CODE[d] FOR[d] ID AS[d] ID CLOSE_CODE[d] item* OPEN_CODE[d] END[d] CLOSE_CODE[d]\")]\n public ITemplate _foreach(Token listName, Token iterator, List items)\n {\n return new ForEach(listName.Value, iterator.Value, items);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4d84e196827149db63fa9fb8a8ea789730861497d826233e0b3fc845a70030c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TIMES' is never used", - "markdown": "Enum member 'TIMES' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 48, - "charOffset": 2252, - "charLength": 5, - "snippet": { - "text": "TIMES" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2203, - "charLength": 121, - "snippet": { - "text": "\n\n [Lexeme(GenericToken.SugarToken, \"*\")] TIMES = 38,\n\n [Lexeme(GenericToken.SugarToken, \"/\")] DIVIDE = 39," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4e378dbdae70ba1c7d4af50642e80700ad726aeb5e1942a1ab0f50ae3b849a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 494, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 433, - "charLength": 119, - "snippet": { - "text": " public List Items { get; }\n\n public int Count => Items.Count;\n\n public JSon this[int index]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4fe1c8a832e8bf2f0524e7092aac23b45dba3b2aef15c29bb8acaa7dc32ea3c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 23, - "charOffset": 821, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 759, - "charLength": 152, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public object DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d54145bd13ebe263144b1422ff097f0e5b6c9441bf8779291c9d7a69a27fb4a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BinaryTermExpression' is never used", - "markdown": "Method 'BinaryTermExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 23, - "charOffset": 489, - "charLength": 20, - "snippet": { - "text": "BinaryTermExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 317, - "charLength": 286, - "snippet": { - "text": " [Operation((int) Issue165Lexer.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation(\"MINUS\", Affix.InFix, Associativity.Left, 10)]\n public object BinaryTermExpression(object left, Token operation, object right)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d566a3d043843048b9f62b6cd3294599c306fa75d0d98594e46fea7bbfd95364" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'TRUE' is never used", - "markdown": "Enum member 'TRUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 5, - "charOffset": 1544, - "charLength": 4, - "snippet": { - "text": "TRUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 1478, - "charLength": 116, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"true\")]\n [Mode(\"code\")]\n TRUE,\n\n [Lexeme(GenericToken.KeyWord, \"FALSE\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d598d8c6f5dad53ecfb9e93b7eb79f9fae060bc3c91ab6e6f19ccd4c20067604" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AlternateDiscardedClause' is never used", - "markdown": "Method 'AlternateDiscardedClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 28, - "charOffset": 2294, - "charLength": 24, - "snippet": { - "text": "AlternateDiscardedClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 2212, - "charLength": 217, - "snippet": { - "text": "\n [Production(\"clause : choiceclause DISCARD\")]\n public IClause AlternateDiscardedClause(ChoiceClause choices, Token discarded)\n {\n choices.IsDiscarded = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d61c4dc0466c921c4916d4e0e2f2a262f0577613cec90bbd0c6d6ff6377dc72e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SKIP' is never used", - "markdown": "Enum member 'SKIP' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 9, - "charOffset": 736, - "charLength": 4, - "snippet": { - "text": "SKIP" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 641, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"SKIP\")] [Lexeme(GenericToken.KeyWord, \"skip\")]\n SKIP = 6,\n\n [Lexeme(GenericToken.KeyWord, \"TRUE\")] [Lexeme(GenericToken.KeyWord, \"true\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d632fc216bd777336a80f57247ffeb3a769487e886861c23b5c37d8913233afe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 21, - "charOffset": 472, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 412, - "charLength": 175, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d665726e969d524f6124014bfe8d0d6f24a14774f794bbfa07e929e0894ccab8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 48, - "charOffset": 635, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 473, - "charLength": 236, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d678e9fc6a0c121bf9196b6938fbf86309c50bf64b0f80f82b9025a8ea63e84d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DO' is never used", - "markdown": "Enum member 'DO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 9, - "charOffset": 2611, - "charLength": 2, - "snippet": { - "text": "DO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2566, - "charLength": 98, - "snippet": { - "text": "\n [Sugar(\"DO\")] [Sugar(\"do\")]\n DO = 5,\n\n [Keyword(\"SKIP\")] [Keyword( \"skip\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d6a61e785313ba443df17753b5b4f5484885b56c3d23c5c1358e37003cfb968f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetValue' is never used", - "markdown": "Method 'GetValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 18, - "charOffset": 451, - "charLength": 8, - "snippet": { - "text": "GetValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 388, - "charLength": 116, - "snippet": { - "text": " public bool IsBool => value is bool;\n\n public T GetValue()\n {\n return (T) value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d6d5804543e83fb0a793019f9541c2984660fa23f2ca4309ccb1b2d69e5f29fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCD' is never used", - "markdown": "Enum member 'ACCD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 23, - "charOffset": 321, - "charLength": 4, - "snippet": { - "text": "ACCD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 221, - "charLength": 177, - "snippet": { - "text": " [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7412b6f5f018f7abdc81708830d1c3a21c9f758e295c41daa98276c8de5fd0a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Next' is never used", - "markdown": "Method 'Next' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 25, - "charOffset": 3066, - "charLength": 4, - "snippet": { - "text": "Next" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3023, - "charLength": 116, - "snippet": { - "text": " }\n \n public Token Next(int channelId)\n {\n TokenChannel channel = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d74bce433024c99c2e367d82d0e164deb48070aba1c5dd070efe228819462333" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionTo' is never used", - "markdown": "Method 'TransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 536, - "startColumn": 35, - "charOffset": 17601, - "charLength": 12, - "snippet": { - "text": "TransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 534, - "startColumn": 1, - "charOffset": 17565, - "charLength": 170, - "snippet": { - "text": "\n\n public FSMLexerBuilder TransitionTo(char input, string toNodeMark, TransitionPrecondition precondition)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d75aad50dde6d2cc2a12751f2667a1102f4e30cf540f7dec40e973525b8d406c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'THEN' is never used", - "markdown": "Enum member 'THEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 107, - "startColumn": 9, - "charOffset": 2427, - "charLength": 4, - "snippet": { - "text": "THEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 105, - "startColumn": 1, - "charOffset": 2374, - "charLength": 107, - "snippet": { - "text": "\n [Keyword(\"THEN\")] [Keyword(\"then\")]\n THEN = 2,\n\n [Keyword(\"ELSE\")] [Keyword(\"else\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d79527d51377c9118210b9427ed16c0d088bed547b544174f10927ca8cd10f89" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetValue' is never used", - "markdown": "Method 'GetValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 18, - "charOffset": 440, - "charLength": 8, - "snippet": { - "text": "GetValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 377, - "charLength": 116, - "snippet": { - "text": " public bool IsBool => value is bool;\n\n public T GetValue()\n {\n return (T) value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7b9dd107b86f0ec5126e7e128d817e3af009e82043e226b5d6fab0d21c16442" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SET' is never used", - "markdown": "Enum member 'SET' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 48, - "charOffset": 413, - "charLength": 3, - "snippet": { - "text": "SET" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 309, - "charLength": 157, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"==\")] EQ = 4,\n\n [Lexeme(GenericToken.SugarToken, \"=\")] SET = 5,\n\n [Lexeme(GenericToken.Int)] INT = 6," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d7d2114b926d13e9617a3d1088900a5fec9bf3fcc559c6e72014b7de813bc1f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 289, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 185, - "charLength": 179, - "snippet": { - "text": " [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5,\n [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d82547a2952607971b6e67d3485eeeea3623925e35495490396e51d8450e6431" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsBool' is never used", - "markdown": "Property 'IsBool' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 21, - "charOffset": 397, - "charLength": 6, - "snippet": { - "text": "IsBool" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 327, - "charLength": 126, - "snippet": { - "text": " public bool IsDouble => value is double;\n\n public bool IsBool => value is bool;\n\n public T GetValue()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8d3ad09ba83d434a5c1bed470b9c91650c878ef67cb62757c1ffc2251aede30" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMENT' is never used", - "markdown": "Enum member 'COMMENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ChannelLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 9, - "charOffset": 377, - "charLength": 7, - "snippet": { - "text": "COMMENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 315, - "charLength": 93, - "snippet": { - "text": " \n [SingleLineComment(\"//\", channel:2)]\n COMMENT = 458\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8de523b054df4bc87214e6a652e550042507e4a3aae0ac87d6f9fb990f01f4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ChoicesOne' is never used", - "markdown": "Method 'ChoicesOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 85, - "startColumn": 28, - "charOffset": 3027, - "charLength": 10, - "snippet": { - "text": "ChoicesOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 83, - "startColumn": 1, - "charOffset": 2944, - "charLength": 197, - "snippet": { - "text": " \n [Production(\"choices : IDENTIFIER \")]\n public IClause ChoicesOne(Token head)\n {\n var choice = BuildTerminalOrNonTerimal(head.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8e8a175916e1272fd563380e902ecf13b747606305bb0413ce0dc25e977579f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 37, - "charOffset": 173, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 74, - "charLength": 192, - "snippet": { - "text": " {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9699b78bd598a4c17cd6700e4f66f4fe556bb5970732f59692c5742d223d29d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'c' is never used", - "markdown": "Enum member 'c' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 23, - "charOffset": 1643, - "charLength": 1, - "snippet": { - "text": "c" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 1563, - "charLength": 146, - "snippet": { - "text": " [Lexeme(\"a\")] a = 1,\n [Lexeme(\"b\")] b = 2,\n [Lexeme(\"c\")] c = 3,\n [Lexeme(\"z\")] z = 26,\n [Lexeme(\"r\")] r = 21," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9909d02d81875a8f8b2df788f1fc51490d4d590502c78b9b37be13e0531a495" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DISCARD' is never used", - "markdown": "Enum member 'DISCARD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 9, - "charOffset": 1023, - "charLength": 7, - "snippet": { - "text": "DISCARD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 958, - "charLength": 132, - "snippet": { - "text": " \n [Lexeme(GenericToken.SugarToken,\"[d]\")]\n DISCARD = 7,\n \n [Lexeme(GenericToken.SugarToken,\"(\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9d1af1d98a93f6f9bffb21abe9749ef1a4eeef06dd1ddd3d5f9e49dfebdb66c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'additional' is never used", - "markdown": "Method 'additional' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 25, - "charOffset": 3008, - "charLength": 10, - "snippet": { - "text": "additional" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2912, - "charLength": 197, - "snippet": { - "text": "\n [Production(\"additionalStatements : SEMICOLON statementPrim\")]\n public WhileAST additional(Token semi, WhileAST statement)\n {\n return statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da199e1d8506cb64ccc8ed1303012a3ef66f2b10924f05a7e53700fab93d3ffa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 48, - "charOffset": 349, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 225, - "charLength": 247, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da362c7a761cd57e769b42303fec9835bdbd97ffbc8eb8cefdde42f92be9efe3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PreFixExpression' is never used", - "markdown": "Method 'PreFixExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 23, - "charOffset": 1658, - "charLength": 16, - "snippet": { - "text": "PreFixExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1562, - "charLength": 197, - "snippet": { - "text": "\n [Prefix((int) ExpressionToken.MINUS, Associativity.Right, 100)]\n public double PreFixExpression(Token operation, double value)\n {\n return -value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "daf989e7f7e9d9ae98802318075657165ce6c5dfac9a1050449ef8030cf861b9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'DoubleValue' is never used", - "markdown": "Method 'DoubleValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 21, - "charOffset": 821, - "charLength": 11, - "snippet": { - "text": "DoubleValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 761, - "charLength": 150, - "snippet": { - "text": "\n [Production(\"value : DOUBLE\")]\n public JSon DoubleValue(Token doubleToken)\n {\n var dbl = double.MinValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db0eaf167c46b982fc2fd55043dd936897db31fce881b7922be429406b96da98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 20, - "charOffset": 505, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 444, - "charLength": 119, - "snippet": { - "text": " public List Items { get; }\n\n public int Count => Items.Count;\n\n public JSon this[int index]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db79e30d4a9ce1ab55bdda8f0bd65420831fdc09f767b606885108843e0333c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Dump' is never used", - "markdown": "Method 'Dump' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/model/expressions/IntegerConstant.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 23, - "charOffset": 426, - "charLength": 4, - "snippet": { - "text": "Dump" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 402, - "charLength": 96, - "snippet": { - "text": "\n\n public string Dump(string tab)\n {\n return $\"{tab}(INTEGER {Value})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dbbd13fa50421b7d3fd82f629b00eeec336d61ca11c195901911c958a0d55e0f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PLUS' is never used", - "markdown": "Enum member 'PLUS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 23, - "charOffset": 3538, - "charLength": 4, - "snippet": { - "text": "PLUS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 3494, - "charLength": 89, - "snippet": { - "text": " ASSIGN = 35,\n\n [Sugar( \"+\")] PLUS = 36,\n\n [Sugar( \"-\")] MINUS = 37," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc0a1124e7db06e89d5b528dc9d37ad54dd3e9e016f91756d388d6937a974052" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ZEROORMORE' is never used", - "markdown": "Enum member 'ZEROORMORE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 25, - "charOffset": 199, - "charLength": 10, - "snippet": { - "text": "ZEROORMORE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 83, - "charLength": 212, - "snippet": { - "text": " [Lexeme(\"^[A-Za-z][A-Za-z0-9_]*\")] IDENTIFIER = 1,\n [Lexeme(\":\")] COLON = 2,\n [Lexeme(\"\\\\*\")] ZEROORMORE = 3,\n [Lexeme(\"\\\\+\")] ONEORMORE = 4,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc9ba8eb02e6ad7a1a2661236be848149b7d55673b7964df1e74ff6ec0ec7fba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 58, - "charOffset": 533, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 342, - "charLength": 335, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken,channel:0, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken,channel:0, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken,channel:0, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken,channel:0, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken,channel:0, \",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dcb31f36e7515de0b5f5fcd9171ca075a65ad00710549a21ff75549579b06c18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'unaryNumericExpression' is never used", - "markdown": "Method 'unaryNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 221, - "startColumn": 25, - "charOffset": 7287, - "charLength": 22, - "snippet": { - "text": "unaryNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 219, - "startColumn": 1, - "charOffset": 7178, - "charLength": 235, - "snippet": { - "text": "\n [Operation((int) WhileToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dcf5fd93e6feb5e45abd3d6ee7829bc73e79195f3e8e92a1b5b13c19f782cae6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Text' is never used", - "markdown": "Method 'Text' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 26, - "charOffset": 552, - "charLength": 4, - "snippet": { - "text": "Text" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 490, - "charLength": 141, - "snippet": { - "text": "\n [Production(\"item : TEXT\")]\n public ITemplate Text(Token text)\n {\n return new Text(text.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd62bfdaa57c030e833d96e52ed0dc7bc7787efe9c845b331659613a630fbee9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROG' is never used", - "markdown": "Enum member 'CROG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 48, - "charOffset": 463, - "charLength": 4, - "snippet": { - "text": "CROG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 302, - "charLength": 285, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd981e15d40a135bb9fd98deb2dc69cb5cec37cc8d6ebf065758832c4e17298d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandValue' is never used", - "markdown": "Method 'OperandValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 23, - "charOffset": 2178, - "charLength": 12, - "snippet": { - "text": "OperandValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2090, - "charLength": 150, - "snippet": { - "text": " [Operand]\n [Production(\"operand : primary_value\")]\n public double OperandValue(double value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ddef8221fe5c7c2d15bbe59b1722e129d57b4e3b1722253be37bcb276c998274" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CLOSE_VALUE' is never used", - "markdown": "Enum member 'CLOSE_VALUE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 47, - "startColumn": 5, - "charOffset": 757, - "charLength": 11, - "snippet": { - "text": "CLOSE_VALUE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 45, - "startColumn": 1, - "charOffset": 723, - "charLength": 62, - "snippet": { - "text": " [Mode(\"value\")]\n [Pop]\n CLOSE_VALUE,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ddf1c4826c17b897be3ff1380365ec495db636b675d24466f493089326a71a1e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DO' is never used", - "markdown": "Enum member 'DO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 678, - "charLength": 2, - "snippet": { - "text": "DO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 587, - "charLength": 185, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"DO\")] [Lexeme(GenericToken.KeyWord, \"do\")]\n DO = 5,\n\n [Lexeme(GenericToken.KeyWord, \"SKIP\")] [Lexeme(GenericToken.KeyWord, \"skip\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de9c1d7b40481380d2c1dba7cafc9c5951675e6c6ed2b28a33e2fd9ca2308cad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constant 'start_double' is never used", - "markdown": "Constant 'start_double' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 29, - "charOffset": 2094, - "charLength": 12, - "snippet": { - "text": "start_double" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1974, - "charLength": 264, - "snippet": { - "text": " public const string start = \"start\";\n public const string in_int = \"in_int\";\n public const string start_double = \"start_double\";\n public const string in_double = \"in_double\";\n public const string in_identifier = \"in_identifier\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dec0602c77dd374a7223e2179800f37cbd12c19fb19383e705316d0a88e344c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LPAREN' is never used", - "markdown": "Enum member 'LPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 48, - "charOffset": 824, - "charLength": 6, - "snippet": { - "text": "LPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 744, - "charLength": 126, - "snippet": { - "text": "\n // a left paranthesis (\n [Lexeme(GenericToken.SugarToken, \"(\")] LPAREN = 10,\n\n // a right paranthesis )" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dee7d5e1c6f92e5fa1e4d195275b31685b43d4fa294373b885fdfc4e8794d7c9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RETURN' is never used", - "markdown": "Enum member 'RETURN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 30, - "charOffset": 600, - "charLength": 6, - "snippet": { - "text": "RETURN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 530, - "charLength": 102, - "snippet": { - "text": " [Lexeme(\"(print)\")] PRINT = 12,\n\n [Lexeme(\"(return)\")] RETURN = 13,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df2891ad8ee77ce5b1c86a28d4ae56da529243bdadb7e29096ce42f74a7df21e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 43, - "charOffset": 544, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df4c2567677553aeb14474c76a6a7fcd31805c89765d3497aaf41b73e0f7c66c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 21, - "charOffset": 1950, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1892, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df4c548169a1cb07a8fdb011e45cad34a95fcca5cf54cdac779a59ec922c8a02" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 36, - "charOffset": 458, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 366, - "charLength": 164, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"=\")] SET = 5,\n\n [Lexeme(GenericToken.Int)] INT = 6,\n \n [SingleLineComment(\"//\")] SINGLE_COMMENT = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dfa8f2959fcb8218423a2aa9b9cc4148986c96ba7500ee53fc379f002a9d5471" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'CROD' is never used", - "markdown": "Enum member 'CROD' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 25, - "charOffset": 382, - "charLength": 4, - "snippet": { - "text": "CROD" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 292, - "charLength": 166, - "snippet": { - "text": " [Lexeme(\"}\")] ACCD = 6,\n [Lexeme(\"\\\\[\")] CROG = 7,\n [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dfbbf873de22e55b0cb81b5718923b32f86f2755a4c30691430ef01108b57c57" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryId' is never used", - "markdown": "Method 'PrimaryId' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 155, - "startColumn": 25, - "charOffset": 5489, - "charLength": 9, - "snippet": { - "text": "PrimaryId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 153, - "startColumn": 1, - "charOffset": 5420, - "charLength": 186, - "snippet": { - "text": "\n [Production(\"primary: IDENTIFIER\")]\n public WhileAST PrimaryId(Token varToken)\n {\n return new Variable(varToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e0d8e01df1dcc5112162d3d340dc124751626cd8bde1924c8470fc8518c23acd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryId' is never used", - "markdown": "Method 'PrimaryId' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 135, - "startColumn": 27, - "charOffset": 4701, - "charLength": 9, - "snippet": { - "text": "PrimaryId" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 133, - "startColumn": 1, - "charOffset": 4630, - "charLength": 170, - "snippet": { - "text": " \n [Production(\"primary: ID\")]\n public Expression PrimaryId(Token varToken)\n {\n return new Variable(varToken.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e10e3c86690506759732e2638326de7bf453d43cc8baa001973f34f1efacf368" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'AS' is never used", - "markdown": "Enum member 'AS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 5, - "charOffset": 1142, - "charLength": 2, - "snippet": { - "text": "AS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 1098, - "charLength": 74, - "snippet": { - "text": " [Keyword(\"as\")] \n [Mode(\"code\")]\n AS,\n \n [Keyword(\"end\")] " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e1102311279bcf863e8c49ce6e685706b8d98bba9993bb7668c9bf56dc7a3698" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 23, - "charOffset": 2138, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2080, - "charLength": 109, - "snippet": { - "text": " [Sugar( \"(\")] LPAREN = 50,\n\n [Sugar( \")\")] RPAREN = 51,\n\n [Sugar( \";\")] SEMICOLON = 52," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e11090415c6ee2676126f18dae3f184148e7909dd00b03ad0c95d8389cb0080c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Dump' is never used", - "markdown": "Method 'Dump' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotGraph.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 23, - "charOffset": 1696, - "charLength": 4, - "snippet": { - "text": "Dump" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1663, - "charLength": 86, - "snippet": { - "text": " }\n\n public string Dump()\n {\n var roots = FindRoots();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e144732ed73a2be8314c04381e471f0a36a1943fb03be9f519483c198f180fdc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AnyTransitionTo' is never used", - "markdown": "Method 'AnyTransitionTo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 574, - "startColumn": 35, - "charOffset": 19091, - "charLength": 15, - "snippet": { - "text": "AnyTransitionTo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 572, - "startColumn": 1, - "charOffset": 19046, - "charLength": 133, - "snippet": { - "text": " }\n\n public FSMLexerBuilder AnyTransitionTo(string toNodeMark)\n {\n var toNode = Marks[toNodeMark];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e154f86c2ec83fb8a5cd8ce3e05fe226cdfc08c7362b8e3c09bc9a39d016ca87" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 108, - "startColumn": 5, - "charOffset": 1662, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 106, - "startColumn": 1, - "charOffset": 1595, - "charLength": 83, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"false\")]\n [Mode(\"code\")]\n FALSE,\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e1570f12552871774cda52a97bec41f38897383e8c14d3986b8ad479d4e1fc09" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GetValue' is never used", - "markdown": "Method 'GetValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 18, - "charOffset": 440, - "charLength": 8, - "snippet": { - "text": "GetValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 377, - "charLength": 116, - "snippet": { - "text": " public bool IsBool => value is bool;\n\n public T GetValue()\n {\n return (T) value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e18e3b2e8ccae76777a0467441e95a1b5f2f9ac100be0745e9c4e02ecf97dfa9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 24, - "charOffset": 3845, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3765, - "charLength": 196, - "snippet": { - "text": "\n [Production(\"property: STRING COLON[d] value\")]\n public JObject property(Token key, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2043db0b7319b03a6fe78e664eb896713bcef9c06dc91284554c8c98ec46f93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'id' is never used", - "markdown": "Method 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 23, - "charOffset": 2271, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 2189, - "charLength": 126, - "snippet": { - "text": " [Operand]\n [Production(\"atom : group_expr\")]\n public object id(object g)\n {\n return g;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e217b929f1064621178adc1505821a5bda9a99820bd5a3ffc859c10f71d8a34f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FuncActualArgsA' is never used", - "markdown": "Method 'FuncActualArgsA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 23, - "charOffset": 2942, - "charLength": 15, - "snippet": { - "text": "FuncActualArgsA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2869, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"fun_actual_args : kw_args\")]\n public object FuncActualArgsA(object kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2879b31403951fd429cf5fe70723fde5be74b034cd1bdf6ffd8c557c7409391" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 21, - "charOffset": 3146, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3072, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e32d62acec2440fe8b8bfe368332d5b3d754ae9fd58a3994928b71d42cae3f78" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIFFERENT' is never used", - "markdown": "Enum member 'DIFFERENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 161, - "startColumn": 9, - "charOffset": 3418, - "charLength": 9, - "snippet": { - "text": "DIFFERENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 159, - "startColumn": 1, - "charOffset": 3386, - "charLength": 83, - "snippet": { - "text": "\n [Sugar( \"!=\")]\n DIFFERENT = 33,\n\n [Sugar( \".\")] CONCAT = 34," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e340f4dd46fe1eecad0940c7bcdcd2d89345b7d87163e06c9f887fc44dd2ff76" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Attributes' is never used", - "markdown": "Method 'Attributes' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 23, - "charOffset": 2295, - "charLength": 10, - "snippet": { - "text": "Attributes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 2216, - "charLength": 199, - "snippet": { - "text": " \n [Production(\"attributes : attribute*\")]\n public string Attributes(List attributes)\n {\n return string.Join(\", \",attributes.Select(x => x.ToString()));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e3419b24f873bafbb47e7850c6a2fd92a508e91ab75e8d9135a72301f6c13617" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ifStmt' is never used", - "markdown": "Method 'ifStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 25, - "charOffset": 3049, - "charLength": 6, - "snippet": { - "text": "ifStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2916, - "charLength": 296, - "snippet": { - "text": "\n [Production(\"statementPrim: IF [d] WhileParser_expressions THEN [d] statement ELSE [d] statement\")]\n public WhileAST ifStmt(WhileAST cond, WhileAST thenStmt, Statement elseStmt)\n {\n var stmt = new IfStatement(cond as Expression, thenStmt as Statement, elseStmt);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e38a267bcbb19a4dec229fd9636f82a8956b82b0edc6bc17aa67018555f58d46" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'PRINT' is never used", - "markdown": "Enum member 'PRINT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 9, - "charOffset": 1414, - "charLength": 5, - "snippet": { - "text": "PRINT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1317, - "charLength": 207, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"PRINT\")] [Lexeme(GenericToken.KeyWord, \"print\")]\n PRINT = 12,\n \n [Lexeme(GenericToken.KeyWord, \"RETURN\")] [Lexeme(GenericToken.KeyWord, \"return\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e454528d0cd2be364c141dd45cd57e02fcdaf3f667e266ab51c91fd1a9d03d49" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'FirstRecurse' is never used", - "markdown": "Method 'FirstRecurse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1578, - "startColumn": 23, - "charOffset": 53893, - "charLength": 12, - "snippet": { - "text": "FirstRecurse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1576, - "startColumn": 1, - "charOffset": 53817, - "charLength": 130, - "snippet": { - "text": " {\n [Production(\"first : second COMMA[d]\")]\n public object FirstRecurse(object o)\n {\n return o;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e538753485d7797aa1a2299ca69619b1829da1d21ff38c3127626c5d538cf254" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Posobject' is never used", - "markdown": "Method 'Posobject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 23, - "charOffset": 4031, - "charLength": 9, - "snippet": { - "text": "Posobject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 3930, - "charLength": 197, - "snippet": { - "text": " \n [Production(\"pos_args : ( arith_expr COMMA [d] )* kw_arg\")]\n public object Posobject(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e5c8d465efe5da299937edb38a13e43d32c3f9a17c215c366af0e0e8cea3e8a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 35, - "charOffset": 1428, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 1355, - "charLength": 134, - "snippet": { - "text": " [Lexeme(\";\")] SEMICOLON = 52,\n\n [Lexeme(\"[ \\\\t]+\", true)] WS = 53,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 54," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e5f40c6f183ac7e4daa4301f4c2dab0c5f2aa1ae1ea5fb14dd39643702172c2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 32, - "charOffset": 748, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 669, - "charLength": 129, - "snippet": { - "text": " [Lexeme(\"[a-zA-Z]+\")] IDENTIFIER = 20,\n\n [Lexeme(\"\\\"[^\\\"]*\\\"\")] STRING = 21,\n\n [Lexeme(\"[0-9]+\")] INT = 22," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6685b7b77f07445e8f986785628a393a1e259bb6ca9cf6cd5f1664bf0ac0fde" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'binaryFactorNumericExpression' is never used", - "markdown": "Method 'binaryFactorNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 202, - "startColumn": 25, - "charOffset": 6837, - "charLength": 29, - "snippet": { - "text": "binaryFactorNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 200, - "startColumn": 1, - "charOffset": 6618, - "charLength": 349, - "snippet": { - "text": " [Operation((int) IndentedWhileTokenGeneric.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) IndentedWhileTokenGeneric.DIVIDE, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryFactorNumericExpression(WhileAST left, Token operatorToken,\n WhileAST right)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e669efe9cc023cca47f94efba4983290d6a88947d08c737ada5e1fedeaffb222" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TranslateIdentifier' is never used", - "markdown": "Method 'TranslateIdentifier' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/TestCallbacks.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 45, - "charOffset": 208, - "charLength": 19, - "snippet": { - "text": "TranslateIdentifier" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 107, - "charLength": 204, - "snippet": { - "text": "\n [TokenCallback((int)CallbackTokens.IDENTIFIER)]\n public static Token TranslateIdentifier(Token token)\n {\n if (token.Value.StartsWith(\"b\"))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6818285b4a24181e984e8e41d2efb14994e77cf8d6c2702b5781fadecb3a251" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'SEMICOLON' is never used", - "markdown": "Enum member 'SEMICOLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 23, - "charOffset": 2174, - "charLength": 9, - "snippet": { - "text": "SEMICOLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 2116, - "charLength": 75, - "snippet": { - "text": " [Sugar( \")\")] RPAREN = 51,\n\n [Sugar( \";\")] SEMICOLON = 52,\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6be25a90cb7f1a010843d4078b9c3fe796aff12c6461aa0e3e9d19aea9e575f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Factor' is never used", - "markdown": "Method 'Factor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 20, - "charOffset": 2206, - "charLength": 6, - "snippet": { - "text": "Factor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2140, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"factor : MINUS factor\")]\n public int Factor(Token discardedMinus, int factorValue)\n {\n return -factorValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6eb1604e72ad651eaf754c564e7be3ee73b91c386c3ec36cb9356fc486660ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DOUBLE' is never used", - "markdown": "Enum member 'DOUBLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 18, - "charOffset": 106, - "charLength": 6, - "snippet": { - "text": "DOUBLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 44, - "charLength": 101, - "snippet": { - "text": " public enum GenericShortAttributes\n {\n [Double] DOUBLE = 1,\n\n // integer " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e713c85cf6d69f1c81b93d98de9b2c706d99004d71847279880fec89a16f6c7a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IgnoreWS.set' is never used", - "markdown": "Accessor 'IgnoreWS.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 13, - "charOffset": 487, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 415, - "charLength": 107, - "snippet": { - "text": " {\n get => ignoreWS ?? Defaults.IgnoreWS;\n set => ignoreWS = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e714f48adcf932cd29126017fe401a5cd551a8660de57e60bec7f8114b558100" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'Count' is never used", - "markdown": "Property 'Count' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 20, - "charOffset": 499, - "charLength": 5, - "snippet": { - "text": "Count" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 469, - "charLength": 53, - "snippet": { - "text": " }\n\n public int Count => Items.Count;\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e72968bdca171d55d0512910e6e03d9b4c1fc4df203c84c905048f16255e85e1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 35, - "charOffset": 332, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 237, - "charLength": 127, - "snippet": { - "text": " DOUBLE = 1,\n [Lexeme(\"[A-Z]\")] WORD_CHAR = 2,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 3,\n \n EOS = 0" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7eb0a238126859de82e281b379445a920234f0f298f437cfa60e95f53eb43d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TestIndentedParserNeverEnding' is never used", - "markdown": "Method 'TestIndentedParserNeverEnding' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 967, - "startColumn": 28, - "charOffset": 33521, - "charLength": 29, - "snippet": { - "text": "TestIndentedParserNeverEnding" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 965, - "startColumn": 1, - "charOffset": 33484, - "charLength": 117, - "snippet": { - "text": "\n \n public static void TestIndentedParserNeverEnding()\n {\n var source =@\"if truc == 1" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7f50e7696a940ff2a466aed0043f0f5f478131d1c6c676d5b32026945bf6d76" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'LF' is never used", - "markdown": "Enum member 'LF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 9, - "charOffset": 415, - "charLength": 2, - "snippet": { - "text": "LF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 347, - "charLength": 94, - "snippet": { - "text": " [Sugar(\"\\n\",28,IsLineEnding = true)]\n [Mode]\n LF,\n \n #region TEXT" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e823188511f83dc8058d7625c5860edb88b06ebe68f52e1a7f9cc01b65e287f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PreFixExpression' is never used", - "markdown": "Method 'PreFixExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 20, - "charOffset": 1799, - "charLength": 16, - "snippet": { - "text": "PreFixExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1690, - "charLength": 238, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public int PreFixExpression(Token operation, int value,Dictionary context)\n {\n return -value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e858ca5232d1b7787e67e591c3a127e4610fabb8ffb9830f26f3af69c9c1a04b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 35, - "charOffset": 493, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 392, - "charLength": 198, - "snippet": { - "text": " [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8aa391c8509f8f12f958aadd2e8e3d7527e20182b3a908fb9707b17cb7c8d5e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 21, - "charOffset": 2572, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e8acf00a0c2eaa8cab6d338a9b48f779cd25b60ef4b1a011fb3c3678d00cef83" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 23, - "charOffset": 3675, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3592, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e980d35f142664a001ea19780b9722bc03076c060797a29cef9e81ff10988b23" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Word' is never used", - "markdown": "Method 'Word' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue192.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 41, - "startColumn": 23, - "charOffset": 705, - "charLength": 4, - "snippet": { - "text": "Word" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 39, - "startColumn": 1, - "charOffset": 630, - "charLength": 241, - "snippet": { - "text": " {\n [Production(\"word: WORD_CHAR DOUBLE\")]\n public IDumbo Word(Token charToken, Token valueToken)\n {\n return new Word {Char = charToken.CharValue.ToString(), Value = valueToken.DoubleValue};" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9dceb6396330c782ac290158831fd33b5f8e0bf6f56fc2d4587cba203a10e47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 35, - "charOffset": 1744, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 1650, - "charLength": 161, - "snippet": { - "text": " [Lexeme(\"z\")] z = 26,\n [Lexeme(\"r\")] r = 21,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 100,\n [Lexeme(\"[\\\\r\\\\n]+\", true, true)] EOL = 101\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e9dd8ddecfbbe870d66a88017a37ac2d722f56236e8b9b19110203677adc0422" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 23, - "charOffset": 3375, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 3290, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea0ea92dde3ee013d2c71e55039965edcaeed1f65e52d63da5298b2d9841d03b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'statementSequence' is never used", - "markdown": "Method 'statementSequence' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 25, - "charOffset": 2506, - "charLength": 17, - "snippet": { - "text": "statementSequence" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2436, - "charLength": 145, - "snippet": { - "text": "\n [Production(\"statement : sequence\")]\n public WhileAST statementSequence(WhileAST sequence)\n {\n return sequence;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea7855ad71ac3b8b71138a5fcc6d52e8925c57238d00a65a0660f4ffae4271de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FOR' is never used", - "markdown": "Enum member 'FOR' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 5, - "charOffset": 1092, - "charLength": 3, - "snippet": { - "text": "FOR" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1047, - "charLength": 71, - "snippet": { - "text": " [Keyword(\"for\")] \n [Mode(\"code\")]\n FOR,\n\n [Keyword(\"as\")] " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb01427a9f5452cb753636092344bc769c7249d42d43f07412cb65e0b1676535" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 58, - "charOffset": 399, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 255, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord,channel:0, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken,channel:0, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken,channel:0, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken,channel:0, \"[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb191b0034b214634f6e03f5094e8c7dd416a98e0718fa691036f9b6239fbb04" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'StringValue' is never used", - "markdown": "Method 'StringValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 431, - "charLength": 11, - "snippet": { - "text": "StringValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 371, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"value : STRING\")]\n public JSon StringValue(Token stringToken)\n {\n return new JValue(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb2dcb28f7538f3b3681c68d610750dc581ca69cf8f379369d20f7be92f6c446" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOL' is never used", - "markdown": "Enum member 'EOL' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 43, - "charOffset": 1443, - "charLength": 3, - "snippet": { - "text": "EOL" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1357, - "charLength": 96, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 11,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 12\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb6f398d5576a77baba2cbe128eb01f268c5b8d9820e185c6dc19852679f88b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PrimaryString' is never used", - "markdown": "Method 'PrimaryString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 150, - "startColumn": 25, - "charOffset": 4946, - "charLength": 13, - "snippet": { - "text": "PrimaryString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 148, - "startColumn": 1, - "charOffset": 4881, - "charLength": 191, - "snippet": { - "text": "\n [Production(\"primary: STRING\")]\n public WhileAST PrimaryString(Token stringToken)\n {\n return new StringConstant(stringToken.StringWithoutQuotes);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ebc61f41b6c11f883da1a1a134a2dddaba39633603706547395d29d59df8c679" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'integer' is never used", - "markdown": "Method 'integer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedParser2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 20, - "charOffset": 379, - "charLength": 7, - "snippet": { - "text": "integer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 325, - "charLength": 148, - "snippet": { - "text": "\n [Production(\"int : INT\")]\n public Ast integer(Token tok)\n {\n return new Integer(tok.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec1197952242f3cb971e3953eb23fcf7566077c5afb48dcf781b3300e6082e65" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2916, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec1fea2d42a77e306339db0d0137dfb61a0ec5dd9a03a668977423ad003ee77b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsMany' is never used", - "markdown": "Method 'ListElementsMany' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 21, - "charOffset": 3115, - "charLength": 16, - "snippet": { - "text": "ListElementsMany" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3031, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec62b60e5aac9d744d8f51631be01cec13b96899e3ae9f8273f3d5310b3c756c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 49, - "charOffset": 128, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 212, - "snippet": { - "text": " public enum JsonTokenGeneric\n {\n [Lexeme(GenericToken.String,channel:0)] STRING = 1,\n [Lexeme(GenericToken.Double,channel:0)] DOUBLE = 2,\n [Lexeme(GenericToken.Int,channel:0)] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec862c24e0577870e37332c25be45586bcb0cac81493c4d1af725087c6a9feb9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsString' is never used", - "markdown": "Property 'IsString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 253, - "charLength": 8, - "snippet": { - "text": "IsString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 186, - "charLength": 139, - "snippet": { - "text": " public override bool IsValue => true;\n\n public bool IsString => value is string;\n\n public bool IsInt => value is int;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ecce8bece3185419177961d4a0677d1e224eced1984eed948069a2455737b777" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer2.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 46, - "charOffset": 283, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 221, - "charLength": 127, - "snippet": { - "text": " ID = 1,\n\n [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2,\n\n [Lexeme(GenericToken.KeyWord, \"else\")] ELSE = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ecfa79be4fa54f53e704c7b61621405d7f39bf274c5c12a6f4cc81447dce0ca8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SimpleClause' is never used", - "markdown": "Method 'SimpleClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 114, - "startColumn": 28, - "charOffset": 4305, - "charLength": 12, - "snippet": { - "text": "SimpleClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 112, - "startColumn": 1, - "charOffset": 4232, - "charLength": 185, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER \")]\n public IClause SimpleClause(Token id)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed3749457705a9706939aa50202b0c5d36dc7dbfcf90a174a8b4164a56c11359" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'OPTION' is never used", - "markdown": "Enum member 'OPTION' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 26, - "charOffset": 321, - "charLength": 6, - "snippet": { - "text": "OPTION" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 215, - "charLength": 160, - "snippet": { - "text": " [Lexeme(\"\\\\+\")] ONEORMORE = 4,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 5,\n [Lexeme(\"^\\\\?\")] OPTION = 6,\n [Lexeme(\"^\\\\[d\\\\]\")] DISCARD = 7,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed4befeab25348afcbcac6e03d865b3be48a0ba320c198a83a2e5a265d7b4808" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIVIDE' is never used", - "markdown": "Enum member 'DIVIDE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 22, - "charOffset": 503, - "charLength": 6, - "snippet": { - "text": "DIVIDE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 453, - "charLength": 94, - "snippet": { - "text": "\n // the / operator\n [Sugar(\"/\")] DIVIDE = 9,\n\n // a left paranthesis (" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "edf394135745b88b9566568dda4257941c74465cb9d5e4b3731fc8ca903d23d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'Item.get' is never used", - "markdown": "Accessor 'Item.get' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 13, - "charOffset": 709, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 650, - "charLength": 128, - "snippet": { - "text": " public JSon this[string key]\n {\n get => Values[key];\n set => Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee373c7af61776224347970ac6a28b19400cdb432e89f1ef9a475b06e112f000" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsObject' is never used", - "markdown": "Property 'IsObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JSon.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 29, - "charOffset": 94, - "charLength": 8, - "snippet": { - "text": "IsObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 29, - "charLength": 186, - "snippet": { - "text": " public abstract class JSon\n {\n public virtual bool IsObject { get; set; }\n public virtual bool IsList { get; set; }\n public virtual bool IsValue { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee47099109e8556964506278dcfc0bcc66761e6d860f1a4a4784438c4e7339f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 9, - "charOffset": 469, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 374, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]\n ELSE = 3,\n\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee5aa44c2b3b88276fef1272563411ecae3b09f6ae1c97e9eac40cd08db30514" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 9, - "charOffset": 680, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 607, - "charLength": 91, - "snippet": { - "text": " INT = 8,\n [Lexeme(GenericToken.String,\"\\\"\",\"\\\\\")]\n STRING = 9\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee5baed05964c4d886b0b75a5a072ddced7c44c3d6235e40b27cd703970843d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INCREMENT' is never used", - "markdown": "Enum member 'INCREMENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 9, - "charOffset": 320, - "charLength": 9, - "snippet": { - "text": "INCREMENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 263, - "charLength": 98, - "snippet": { - "text": " // the ++ operator\n [Sugar(\"++\")]\n INCREMENT = 6,\n\n // the - operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee8e72a2dd5fe9a25366643280e0a77bc82adbe7f5f6733c099c863741c80474" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Root' is never used", - "markdown": "Method 'Root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 283, - "charLength": 4, - "snippet": { - "text": "Root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 225, - "charLength": 110, - "snippet": { - "text": "\n [Production(\"root : value\")]\n public JSon Root(JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eefc940420323a8c522fcca61e92a558099bb5443ab851b128ba9b5581af53d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IDENTIFIER' is never used", - "markdown": "Enum member 'IDENTIFIER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 44, - "charOffset": 126, - "charLength": 10, - "snippet": { - "text": "IDENTIFIER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 51, - "charLength": 163, - "snippet": { - "text": " public enum EbnfToken\n {\n [Lexeme(\"^[A-Za-z][A-Za-z0-9_]*\")] IDENTIFIER = 1,\n [Lexeme(\":\")] COLON = 2,\n [Lexeme(\"\\\\*\")] ZEROORMORE = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef2861fa40751ac9c4743b7a1b9e429b454d9bf70888a78437f0bd8c1070f47e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 21, - "charOffset": 2384, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2321, - "charLength": 169, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(Token accg, Token accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef29e5ed2730202f00bda0e7e0cdbafd1a67af86e20ff850dc12a21dac45f83d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Test192' is never used", - "markdown": "Method 'Test192' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 794, - "startColumn": 28, - "charOffset": 28527, - "charLength": 7, - "snippet": { - "text": "Test192" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 792, - "startColumn": 1, - "charOffset": 28489, - "charLength": 113, - "snippet": { - "text": " }\n\n public static void Test192()\n {\n var parser = Issue192.CreateBlockParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef3ddefe81374807d3e0993c4691245d3c52f4465968dd2e986ce6f125278ea0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 23, - "charOffset": 3453, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 3368, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef5ed420dbbb23eafe499fe239336064dd14642bfe3065bb2c13958401415263" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 57, - "startColumn": 36, - "charOffset": 1749, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 55, - "startColumn": 1, - "charOffset": 1662, - "charLength": 116, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f05316083b0b33a73ef5a6aa4b409af4ebb4e23255b4c680919ac4a329e1cdba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'GREATER' is never used", - "markdown": "Enum member 'GREATER' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 48, - "charOffset": 1735, - "charLength": 7, - "snippet": { - "text": "GREATER" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1652, - "charLength": 157, - "snippet": { - "text": " #region operators 30 -> 49\n\n [Lexeme(GenericToken.SugarToken, \">\")] GREATER = 30,\n\n [Lexeme(GenericToken.SugarToken, \"<\")] LESSER = 31," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0d94aab0cd68f57318581122882950c13a770955351e01a820aa734ee591658" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'List' is never used", - "markdown": "Method 'List' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2990, - "charLength": 4, - "snippet": { - "text": "List" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2916, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(Token crog, JList elements, Token crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1296ad314b7fc5d20998dd04f81a2383c813021987db9c3e6b9dbeb59e57a98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'DIVIDE' is never used", - "markdown": "Enum member 'DIVIDE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 48, - "charOffset": 732, - "charLength": 6, - "snippet": { - "text": "DIVIDE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 656, - "charLength": 120, - "snippet": { - "text": "\n // the / operator\n [Lexeme(GenericToken.SugarToken, \"/\")] DIVIDE = 9,\n\n // a left paranthesis (" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f12eb005d338b80bc8ca8da7987c6e9634429d7a078961d709471048accbb508" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COMMA' is never used", - "markdown": "Enum member 'COMMA' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 48, - "charOffset": 577, - "charLength": 5, - "snippet": { - "text": "COMMA" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 416, - "charLength": 287, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7,\n [Lexeme(GenericToken.SugarToken, \"]\")] CROD = 8,\n [Lexeme(GenericToken.SugarToken, \",\")] COMMA = 9,\n [Lexeme(GenericToken.SugarToken, \":\")] COLON = 10,\n [Lexeme(GenericToken.KeyWord, \"null\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f17c46b47b9623a1cf75e82310a01fe0fb86df9da39db955e1214e2e17303a70" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'z' is never used", - "markdown": "Enum member 'z' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 23, - "charOffset": 1672, - "charLength": 1, - "snippet": { - "text": "z" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 1592, - "charLength": 161, - "snippet": { - "text": " [Lexeme(\"b\")] b = 2,\n [Lexeme(\"c\")] c = 3,\n [Lexeme(\"z\")] z = 26,\n [Lexeme(\"r\")] r = 21,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 100," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f17db5ce7afeb8348e9e8a1a4753dee1c8d0147d89845fa057310539ef4687b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 23, - "charOffset": 3375, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 3290, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public object Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f182607b1e780382eb22ba63ebbb984b2e04061bafa8407f16b0a0581eaa1e37" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'COLON' is never used", - "markdown": "Enum member 'COLON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 23, - "charOffset": 454, - "charLength": 5, - "snippet": { - "text": "COLON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 365, - "charLength": 195, - "snippet": { - "text": " [Lexeme(\"\\\\]\")] CROD = 8,\n [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f19b8c9deed8dd7a3f5523f0644666928d331d25b3150c3a063ff7ece800bea7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Constructor 'JObject' is never used", - "markdown": "Constructor 'JObject' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 16, - "charOffset": 374, - "charLength": 7, - "snippet": { - "text": "JObject" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 348, - "charLength": 99, - "snippet": { - "text": " }\n\n public JObject(Dictionary dic)\n {\n Values = dic;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1c7ab73b3cf7cce1e25bdbfe6198e11f27e04aeda4974511e86d51c47b14487" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Members' is never used", - "markdown": "Method 'Members' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 21, - "charOffset": 3283, - "charLength": 7, - "snippet": { - "text": "Members" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 3200, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"members: property additionalProperty*\")]\n public JSon Members(JObject head, List tail)\n {\n var value = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1d0b306426e9101443c2ddaa9b88301634ec4c9ab31fa3e4d71c8b50aa41717" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Property 'IsString' is never used", - "markdown": "Property 'IsString' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JValue.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 21, - "charOffset": 264, - "charLength": 8, - "snippet": { - "text": "IsString" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 197, - "charLength": 139, - "snippet": { - "text": " public override bool IsValue => true;\n\n public bool IsString => value is string;\n\n public bool IsInt => value is int;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f1f3e5e734e555df4871defac67380a168c6321f1f5e16eda7e552fa5d93e030" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SingleMember' is never used", - "markdown": "Method 'SingleMember' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 157, - "startColumn": 21, - "charOffset": 4052, - "charLength": 12, - "snippet": { - "text": "SingleMember" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 155, - "startColumn": 1, - "charOffset": 3988, - "charLength": 141, - "snippet": { - "text": "\n [Production(\"members : property\")]\n public JSon SingleMember(JObject pair)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f2662f0086812c4cd90e89fcf6bda68412f1952e13f58431559ae54a923e58fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'PreFixExpression' is never used", - "markdown": "Method 'PreFixExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 27, - "charOffset": 1076, - "charLength": 16, - "snippet": { - "text": "PreFixExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 963, - "charLength": 253, - "snippet": { - "text": "\n [Operation((int) FormulaToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public Expression PreFixExpression(Token operation, Expression value)\n {\n return new UnaryOperation(FormulaToken.MINUS,value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f2aae749240687f910070fa379ec17e62ad3263328659135346c9b1c2b8ebc5d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 91, - "startColumn": 48, - "charOffset": 2483, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 89, - "startColumn": 1, - "charOffset": 2375, - "charLength": 184, - "snippet": { - "text": " [Lexeme(GenericToken.SugarToken, \"(\")] LPAREN = 50,\n\n [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 51,\n\n [Lexeme(GenericToken.SugarToken, \";\")] SEMICOLON = 52," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f306f2fb7926fc2deb3a877b4f998471434cd2ba07bdb685788ae63510918538" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyObjectValue' is never used", - "markdown": "Method 'EmptyObjectValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 21, - "charOffset": 2182, - "charLength": 16, - "snippet": { - "text": "EmptyObjectValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2119, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f3653b44417b23f3ff837731ceeb2a781cc3b467b1648b68abdd89d07bc4aa7d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'testJSON' is never used", - "markdown": "Method 'testJSON' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 484, - "startColumn": 28, - "charOffset": 15430, - "charLength": 8, - "snippet": { - "text": "testJSON" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 482, - "startColumn": 1, - "charOffset": 15392, - "charLength": 76, - "snippet": { - "text": " }\n\n public static void testJSON()\n {\n try {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f420af5aee35c604bd659363757a750b3dbad47850d2deb9d8c9dea603ed4ef5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupOptional' is never used", - "markdown": "Method 'GroupOptional' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 28, - "charOffset": 6862, - "charLength": 13, - "snippet": { - "text": "GroupOptional" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 6765, - "charLength": 262, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN OPTION \")]\n public IClause GroupOptional(Token discardLeft, GroupClause group,\n Token discardRight, Token option)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f45836f74183305b684fd68fddbf79010fd45b7b632debc9a7cdd78a9c32af67" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 36, - "charOffset": 1621, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1534, - "charLength": 116, - "snippet": { - "text": " [Lexeme(GenericToken.String)] STRING = 21,\n\n [Lexeme(GenericToken.Int)] INT = 22,\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f470fb544164b03298356ca7122bbfa0f4cfbe5c70ac4b588b453f8ba1b49638" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'BooleanValue' is never used", - "markdown": "Method 'BooleanValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 59, - "startColumn": 23, - "charOffset": 1538, - "charLength": 12, - "snippet": { - "text": "BooleanValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 57, - "startColumn": 1, - "charOffset": 1475, - "charLength": 180, - "snippet": { - "text": "\n [Production(\"value : BOOLEAN\")]\n public object BooleanValue(Token boolToken)\n {\n return new JValue(bool.Parse(boolToken.Value));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f482fa4734901f50caffdeb879f7e02ffd9c08a6d457a91d777a89c1850f7ac8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 114, - "startColumn": 25, - "charOffset": 3910, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 112, - "startColumn": 1, - "charOffset": 3837, - "charLength": 133, - "snippet": { - "text": "\n [Production(\"statementPrim: SKIP [d]\")]\n public WhileAST skipStmt()\n {\n return new SkipStatement();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f495708cbb25e0d1e8f7fdffe4f3f3ba08f1e072c6c0faa7ec0debfc2f3bcd89" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 21, - "charOffset": 3213, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3139, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f51a11e61388d6f82a9d8672d4579572a7d85d5bc9f1a36bfa9dacf9427720c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 23, - "charOffset": 1744, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1684, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5463e7c536bf9384d3a834eda755ab9d73fc209b7328e7873f726ef2220b864" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'unaryNumericExpression' is never used", - "markdown": "Method 'unaryNumericExpression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 186, - "startColumn": 27, - "charOffset": 6469, - "charLength": 22, - "snippet": { - "text": "unaryNumericExpression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 184, - "startColumn": 1, - "charOffset": 6372, - "charLength": 234, - "snippet": { - "text": "\n [Prefix((int) TemplateLexer.MINUS, Associativity.Right, 100)]\n public Expression unaryNumericExpression(Token operation, Expression value)\n {\n return new Neg(value, operation.Position);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f55e283cb25c0320c5094df52da37740e191119158f0fe63421a0e9d2d07b4d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ELSE' is never used", - "markdown": "Enum member 'ELSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 9, - "charOffset": 424, - "charLength": 4, - "snippet": { - "text": "ELSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 329, - "charLength": 193, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]\n ELSE = 3,\n\n [Lexeme(GenericToken.KeyWord, \"WHILE\")] [Lexeme(GenericToken.KeyWord, \"while\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5fe5a4da90dee6fae7b693ca685027bda8857982b97b5f0c818d62fab49cd2c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'IntValue' is never used", - "markdown": "Method 'IntValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 30, - "startColumn": 23, - "charOffset": 623, - "charLength": 8, - "snippet": { - "text": "IntValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 28, - "startColumn": 1, - "charOffset": 564, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"value : INT\")]\n public object IntValue(Token intToken)\n {\n return new JValue(intToken.IntValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6191852ad2f5eb14ef9f9b7d3df0140d436250c9fa9718beecc99ded30a6da4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 35, - "charOffset": 500, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 399, - "charLength": 198, - "snippet": { - "text": " [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f62aed662b09d29d18a3a1c1c86bdc6ad43ebf9fa7400ce8f3b549b7eba55ba8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'ACCG' is never used", - "markdown": "Enum member 'ACCG' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 48, - "charOffset": 349, - "charLength": 4, - "snippet": { - "text": "ACCG" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 225, - "charLength": 247, - "snippet": { - "text": " [Lexeme(GenericToken.KeyWord, \"true\", \"false\")]\n BOOLEAN = 4,\n [Lexeme(GenericToken.SugarToken, \"{\")] ACCG = 5,\n [Lexeme(GenericToken.SugarToken, \"}\")] ACCD = 6,\n [Lexeme(GenericToken.SugarToken, \"[\")] CROG = 7," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f64214552ae308b8f3d878bc25ef09d56d3dea20e7b8bd3568a4b26725098e8d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'NullValue' is never used", - "markdown": "Method 'NullValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 21, - "charOffset": 1932, - "charLength": 9, - "snippet": { - "text": "NullValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1874, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f67bcd35d75d88f6fbfbd8328cc2cc17f74c13c205709c8dec69d9fb6482434f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INCREMENT' is never used", - "markdown": "Enum member 'INCREMENT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 9, - "charOffset": 481, - "charLength": 9, - "snippet": { - "text": "INCREMENT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 398, - "charLength": 124, - "snippet": { - "text": " // the ++ operator\n [Lexeme(GenericToken.SugarToken, \"++\")]\n INCREMENT = 6,\n\n // the - operator" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f699e6cfb56562b6bdd2c843e460d33009b2cd6a41b9089d5250ef930cf6cfe7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'HELLO' is never used", - "markdown": "Enum member 'HELLO' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 40, - "startColumn": 9, - "charOffset": 751, - "charLength": 5, - "snippet": { - "text": "HELLO" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 38, - "startColumn": 1, - "charOffset": 707, - "charLength": 62, - "snippet": { - "text": " \n [Keyword(\"hello\")]\n HELLO = 13\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6bc5eb4eaf144502a19b4e46a1efdacdc79af803e1654db2a840081f1624c40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GroupChoiceClause' is never used", - "markdown": "Method 'GroupChoiceClause' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 228, - "startColumn": 32, - "charOffset": 8854, - "charLength": 17, - "snippet": { - "text": "GroupChoiceClause" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 226, - "startColumn": 1, - "charOffset": 8770, - "charLength": 186, - "snippet": { - "text": "\n [Production(\"groupclause : choiceclause \")]\n public GroupClause GroupChoiceClause(ChoiceClause choices)\n {\n return new GroupClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6f5231ae05aaea3a5201962a86237850e71ac90c0ab3caa3ca572251ca2ec39" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'IgnoreEOL.set' is never used", - "markdown": "Accessor 'IgnoreEOL.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 13, - "charOffset": 627, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 553, - "charLength": 110, - "snippet": { - "text": " {\n get => ignoreEOL ?? Defaults.IgnoreEOL;\n set => ignoreEOL = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f75920dea63194a3a489b937099f4b975398fe13342437cda2571cfc0301019d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 48, - "charOffset": 918, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 837, - "charLength": 115, - "snippet": { - "text": "\n // a right paranthesis )\n [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 11\n\n // a variable" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f777237166d4c1278ac348567d79b446b59917a70663b10b9be5499fa014c7b6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 28, - "charOffset": 205, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 73, - "charLength": 218, - "snippet": { - "text": " [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3,\n [Lexeme(\"(true|false)\")] BOOLEAN = 4,\n [Lexeme(\"{\")] ACCG = 5," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8241c7926902c007d1ab403478cd1dd9d0c8126052b8592b139f1e98097dd2e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'EmptyList' is never used", - "markdown": "Method 'EmptyList' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 21, - "charOffset": 2526, - "charLength": 9, - "snippet": { - "text": "EmptyList" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2459, - "charLength": 120, - "snippet": { - "text": "\n [Production(\"list: CROG[d] CROD[d]\")]\n public JSon EmptyList()\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f89e24430996fa36103b71dbc0e5c0dd63e61a406b5c713274b8724ded8f83f7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListValue' is never used", - "markdown": "Method 'ListValue' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 21, - "charOffset": 2196, - "charLength": 9, - "snippet": { - "text": "ListValue" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 2139, - "charLength": 113, - "snippet": { - "text": "\n [Production(\"value: list\")]\n public JSon ListValue(JList list)\n {\n return list;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8e69524aca4ba1e112d34e38608508a33f30ee01e801b41ac09db2b62922ca7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SetVariable' is never used", - "markdown": "Method 'SetVariable' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 84, - "startColumn": 21, - "charOffset": 1762, - "charLength": 11, - "snippet": { - "text": "SetVariable" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 82, - "startColumn": 1, - "charOffset": 1731, - "charLength": 129, - "snippet": { - "text": " }\n\n public void SetVariable(string name, int value)\n {\n variables[name] = new TypedValue(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f8ebe95638ac9702da2e77553379f46d4e985b3e523273a1e0e06f3fc2f85abc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'IF' is never used", - "markdown": "Enum member 'IF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/IndentedLangLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 46, - "charOffset": 242, - "charLength": 2, - "snippet": { - "text": "IF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 180, - "charLength": 127, - "snippet": { - "text": " ID = 1,\n\n [Lexeme(GenericToken.KeyWord, \"if\")] IF = 2,\n\n [Lexeme(GenericToken.KeyWord, \"else\")] ELSE = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f988d9377d395b5f1e6b911d96150990fa747e97d652d5acaefceae4ca343d98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'FALSE' is never used", - "markdown": "Enum member 'FALSE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 29, - "charOffset": 411, - "charLength": 5, - "snippet": { - "text": "FALSE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 345, - "charLength": 112, - "snippet": { - "text": " [Lexeme(\"(true)\")] TRUE = 7,\n\n [Lexeme(\"(false)\")] FALSE = 8,\n [Lexeme(\"(not)\")] NOT = 9,\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9a1f4f7b770a18ba602849b28b5c3401566251c57c009b6b77f9caae623e6fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ListElementsOne' is never used", - "markdown": "Method 'ListElementsOne' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 21, - "charOffset": 3128, - "charLength": 15, - "snippet": { - "text": "ListElementsOne" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3054, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9c349ce20d40389a9282d5d214ea6aa290c09c01323722555330ed224005fa7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 26, - "charOffset": 439, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 376, - "charLength": 126, - "snippet": { - "text": " [Lexeme(\"^\\\\(\")] LPAREN = 8,\n\n [Lexeme(\"^\\\\)\")] RPAREN = 9,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 10" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f9f656251817fa1f25f9e64262295753246dc7c4b6452cf068a05b58f09e38eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'EOF' is never used", - "markdown": "Enum member 'EOF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 9, - "charOffset": 3826, - "charLength": 3, - "snippet": { - "text": "EOF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 3816, - "charLength": 37, - "snippet": { - "text": "\n\n EOF = 0\n\n #endregion" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa06eb9cdaf2b120119b154c57ff65603ebc7ec8903789a8a6f5a1183bf916da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 46, - "charOffset": 125, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 48, - "charLength": 172, - "snippet": { - "text": " public enum JsonToken\n {\n [Lexeme(\"(\\\\\\\")([^(\\\\\\\")]*)(\\\\\\\")\")] STRING = 1,\n [Lexeme(\"[0-9]+\\\\.[0-9]+\")] DOUBLE = 2,\n [Lexeme(\"[0-9]+\")] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa19acab18dd8c99183d62d2b186200d8f307154af2f85b0a2a1ed3fe5135c21" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OperandVariable' is never used", - "markdown": "Method 'OperandVariable' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 20, - "charOffset": 2567, - "charLength": 15, - "snippet": { - "text": "OperandVariable" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2488, - "charLength": 225, - "snippet": { - "text": " \n [Production(\"primary_value : IDENTIFIER\")]\n public int OperandVariable(Token identifier,Dictionary context)\n {\n if (context.ContainsKey(identifier.Value))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa5244d771bfc5ace3a9ab95e5da652d711e9a6a2bc63de3f727b2aad50e90a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'listElements' is never used", - "markdown": "Method 'listElements' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 21, - "charOffset": 2889, - "charLength": 12, - "snippet": { - "text": "listElements" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2807, - "charLength": 174, - "snippet": { - "text": "\n [Production(\"listElements: value additionalValue*\")]\n public JSon listElements(JSon head, List tail)\n {\n var values = new JList(head);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa56ad9fa1fda1f554a0097025662482e7e38011519070c6bd6d94cdf74aea4a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'STRING' is never used", - "markdown": "Enum member 'STRING' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 39, - "charOffset": 118, - "charLength": 6, - "snippet": { - "text": "STRING" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 41, - "charLength": 182, - "snippet": { - "text": " public enum JsonTokenGeneric\n {\n [Lexeme(GenericToken.String)] STRING = 1,\n [Lexeme(GenericToken.Double)] DOUBLE = 2,\n [Lexeme(GenericToken.Int)] INT = 3," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "faa0896b2d44370f1a19a19c13e76eb0ebd748cc14bd49712683ed81a9feb0f7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'skipStmt' is never used", - "markdown": "Method 'skipStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 129, - "startColumn": 25, - "charOffset": 4446, - "charLength": 8, - "snippet": { - "text": "skipStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 127, - "startColumn": 1, - "charOffset": 4338, - "charLength": 212, - "snippet": { - "text": "\n [Production(\"statement: PRINT[d] IndentedWhileParserGeneric_expressions\")]\n public WhileAST skipStmt(WhileAST expression)\n {\n return new PrintStatement(expression as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fac1eb721628968f35ad6f901b0b551b24dc5ebabfa3cb0baa359066235e581f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'WS' is never used", - "markdown": "Enum member 'WS' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 35, - "charOffset": 493, - "charLength": 2, - "snippet": { - "text": "WS" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 392, - "charLength": 198, - "snippet": { - "text": " [Lexeme(\",\")] COMMA = 9,\n [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb959dc8823f193ae849fbad1cb112706c180e244b2dd7a68ce8c96500bbb4f9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 23, - "charOffset": 3675, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3592, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbbe637c4b173966a73fbf67160589191005b94e2bb6313cadacb8cbdcaeee57" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'THEN' is never used", - "markdown": "Enum member 'THEN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/GenericLexerWithCallbacks/Tokens.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 9, - "charOffset": 364, - "charLength": 4, - "snippet": { - "text": "THEN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 269, - "charLength": 191, - "snippet": { - "text": "\n [Lexeme(GenericToken.KeyWord, \"THEN\")] [Lexeme(GenericToken.KeyWord, \"then\")]\n THEN = 2,\n\n [Lexeme(GenericToken.KeyWord, \"ELSE\")] [Lexeme(GenericToken.KeyWord, \"else\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "GenericLexerWithCallbacks", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc0660f227841057e1d99a6482e54d11197390294d8ed2301ad8097f443f324b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'whileStmt' is never used", - "markdown": "Method 'whileStmt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 25, - "charOffset": 3683, - "charLength": 9, - "snippet": { - "text": "whileStmt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3569, - "charLength": 254, - "snippet": { - "text": "\n [Production(\"statementPrim: WHILE WhileParserGeneric_expressions DO statement\")]\n public WhileAST whileStmt(Token discardWhile, WhileAST cond,\n Token dicardDo, WhileAST blockStmt)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc1123147b6708f2bd86bef9596237b57060b74df38504ba073f92576d1d4904" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'RPAREN' is never used", - "markdown": "Enum member 'RPAREN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 48, - "charOffset": 928, - "charLength": 6, - "snippet": { - "text": "RPAREN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 847, - "charLength": 132, - "snippet": { - "text": "\n // a right paranthesis )\n [Lexeme(GenericToken.SugarToken, \")\")] RPAREN = 11,\n \n [Sugar(\",\")]COMMA=12," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fccff3c1bf4a4a2408e7c6eb56798bae2e4f6075fc84533ee80b388bd1a2b9fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum member 'INT' is never used", - "markdown": "Enum member 'INT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/GenericShortAttributes.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 15, - "charOffset": 160, - "charLength": 3, - "snippet": { - "text": "INT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 118, - "charLength": 85, - "snippet": { - "text": "\n // integer \n [Int] INT = 3,\n\n [AlphaId] IDENTIFIER = 4," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fd66c7cf12cad9b7680d2b26cbf4a34e0049f40ffc6a86ed70c75fa2066c84e2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Accessor 'WhiteSpace.set' is never used", - "markdown": "Accessor 'WhiteSpace.set' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 34, - "startColumn": 13, - "charOffset": 773, - "charLength": 3, - "snippet": { - "text": "set" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 32, - "startColumn": 1, - "charOffset": 697, - "charLength": 113, - "snippet": { - "text": " {\n get => whiteSpace ?? Defaults.WhiteSpace;\n set => whiteSpace = value;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fe446656a017636ae37a41307df38d9fc04c4e7d3af6ada0905af6b10658e7ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Group' is never used", - "markdown": "Method 'Group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 32, - "charOffset": 5180, - "charLength": 5, - "snippet": { - "text": "Group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 5086, - "charLength": 221, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN \")]\n public GroupClause Group(Token discardLeft, GroupClause clauses,\n Token discardRight)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fe74f616c7036334e3069e51130ce4463a56b35565e249391f08b28114116be4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'property' is never used", - "markdown": "Method 'property' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 21, - "charOffset": 3577, - "charLength": 8, - "snippet": { - "text": "property" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3503, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff9b0b0202f32690a33765d0b2fad66240f9b512df1d7ab17e8fc4de2508007c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Comment' is never used", - "markdown": "Method 'Comment' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 23, - "charOffset": 1883, - "charLength": 7, - "snippet": { - "text": "Comment" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1818, - "charLength": 162, - "snippet": { - "text": "\n [Production(\"comment : COMMENT\")]\n public string Comment(Token comment)\n {\n return $\"comment({comment.Value})\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ffe21d3d746bf440647cbde1bcbd9319a3882aeecb7e782209a5357dbb1e0173" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestDoubleExponent' is never used", - "markdown": "Method 'TestDoubleExponent' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 769, - "startColumn": 29, - "charOffset": 27804, - "charLength": 18, - "snippet": { - "text": "TestDoubleExponent" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 767, - "startColumn": 1, - "charOffset": 27757, - "charLength": 162, - "snippet": { - "text": " }\n \n private static void TestDoubleExponent()\n {\n var lex = LexerBuilder.BuildLexer(AddExponentExtension);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b3ebc5ed90a9e56d7bb912f75c648cbba20a26831d99cc83a3de9be7a0790a5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestRuleParser' is never used", - "markdown": "Method 'TestRuleParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 417, - "startColumn": 29, - "charOffset": 13042, - "charLength": 14, - "snippet": { - "text": "TestRuleParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 415, - "startColumn": 1, - "charOffset": 13003, - "charLength": 110, - "snippet": { - "text": " }\n\n private static void TestRuleParser()\n {\n Console.WriteLine(\"hum hum...\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11917d8b04babd3ec38e159945f9b5fd430ebe3bfb75977fb8beb0dfb14c3fbf" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestIndentedFactorial' is never used", - "markdown": "Method 'TestIndentedFactorial' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 29, - "charOffset": 4679, - "charLength": 21, - "snippet": { - "text": "TestIndentedFactorial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 4632, - "charLength": 144, - "snippet": { - "text": " }\n \n private static void TestIndentedFactorial()\n {\n var whileParser = new IndentedWhileParserGeneric();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "227a1b6f5d309e822c0fc98366eb93e2493f23616573edfde690add014e000f2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'testGenericLexerJson' is never used", - "markdown": "Method 'testGenericLexerJson' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 322, - "startColumn": 29, - "charOffset": 9214, - "charLength": 20, - "snippet": { - "text": "testGenericLexerJson" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 320, - "startColumn": 1, - "charOffset": 9175, - "charLength": 109, - "snippet": { - "text": " }\n\n private static void testGenericLexerJson()\n {\n var sw = new Stopwatch();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b49dbd68ef2cf0af99d0da8cd59eb09ad188979aac9f021786ff246a4609eae" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'EscapeIt' is never used", - "markdown": "Method 'EscapeIt' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1352, - "startColumn": 29, - "charOffset": 46690, - "charLength": 8, - "snippet": { - "text": "EscapeIt" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1350, - "startColumn": 1, - "charOffset": 46643, - "charLength": 99, - "snippet": { - "text": " }\n \n private static void EscapeIt()\n {\n char escape = '\\\\';" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d164d32a136906a0eace4e3114721c69068e7216959a02a1d49bcc665fe3fea" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'testJSONLexer' is never used", - "markdown": "Method 'testJSONLexer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 363, - "startColumn": 29, - "charOffset": 10939, - "charLength": 13, - "snippet": { - "text": "testJSONLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 361, - "startColumn": 1, - "charOffset": 10900, - "charLength": 128, - "snippet": { - "text": " }\n\n private static void testJSONLexer()\n {\n var builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "33621e5379d22b6a2b082a26bb8c5b3e0dab6d0727a15d7c855448b89ca972f5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'benchLexer' is never used", - "markdown": "Method 'benchLexer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 536, - "startColumn": 29, - "charOffset": 17536, - "charLength": 10, - "snippet": { - "text": "benchLexer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 534, - "startColumn": 1, - "charOffset": 17497, - "charLength": 118, - "snippet": { - "text": " }\n\n private static void benchLexer()\n {\n var content = File.ReadAllText(\"test.json\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38ccfac6b30360e8e657a7ff6a022f16ef90ef52c48a6a44a2e3548b737834a7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestGrammarParser' is never used", - "markdown": "Method 'TestGrammarParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 575, - "startColumn": 29, - "charOffset": 19020, - "charLength": 17, - "snippet": { - "text": "TestGrammarParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 573, - "startColumn": 1, - "charOffset": 18981, - "charLength": 144, - "snippet": { - "text": " }\n\n private static void TestGrammarParser()\n {\n string productionRule = \"clauses : clause (COMMA [D] clause)*\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e672b5102c709a446d77ec21f73694d2dc812c31ea712702cd0a47be75bcd2f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestTemplateFor' is never used", - "markdown": "Method 'TestTemplateFor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1052, - "startColumn": 29, - "charOffset": 36787, - "charLength": 15, - "snippet": { - "text": "TestTemplateFor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1050, - "startColumn": 1, - "charOffset": 36740, - "charLength": 146, - "snippet": { - "text": " }\n \n private static void TestTemplateFor()\n {\n var lexerResult = LexerBuilder.BuildLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "40ed9324a8a236b6a0d44d4e47682084a85915f9d8dd8faead5ac6af67f69776" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestThreadsafeGeneric' is never used", - "markdown": "Method 'TestThreadsafeGeneric' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 246, - "startColumn": 29, - "charOffset": 6911, - "charLength": 21, - "snippet": { - "text": "TestThreadsafeGeneric" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 244, - "startColumn": 1, - "charOffset": 6872, - "charLength": 128, - "snippet": { - "text": " }\n\n private static void TestThreadsafeGeneric()\n {\n var whileParser = new WhileParserGeneric();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4fd54f1ef91a20fd77078e6a05f14cf126e0bb289bf68ab8268cd57f91335fc9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'Issue351' is never used", - "markdown": "Method 'Issue351' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1375, - "startColumn": 29, - "charOffset": 47199, - "charLength": 8, - "snippet": { - "text": "Issue351" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1373, - "startColumn": 1, - "charOffset": 47160, - "charLength": 116, - "snippet": { - "text": " }\n\n private static void Issue351()\n {\n var parserInstance = new ExpressionParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "51d7a7fd040471015e2574acb3bd9426100f53b3637a10851222d60c7db78f17" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'testGenericLexerWhile' is never used", - "markdown": "Method 'testGenericLexerWhile' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 285, - "startColumn": 29, - "charOffset": 8172, - "charLength": 21, - "snippet": { - "text": "testGenericLexerWhile" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 283, - "startColumn": 1, - "charOffset": 8142, - "charLength": 101, - "snippet": { - "text": "\n\n private static void testGenericLexerWhile()\n {\n var sw = new Stopwatch();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "55e1cd3122aecaf2380a5363a42ef031b6bdeb6eee54f19bf0dbec8d9d4185ea" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestIssue239' is never used", - "markdown": "Method 'TestIssue239' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1333, - "startColumn": 29, - "charOffset": 46084, - "charLength": 12, - "snippet": { - "text": "TestIssue239" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1331, - "startColumn": 1, - "charOffset": 46045, - "charLength": 99, - "snippet": { - "text": " }\n\n private static void TestIssue239()\n {\n Issue239Tests.TestOk();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "58a14fc59343b5136e722f08a9332c6d0ad9cd9ed676912b4973098ab88495a8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestShortOperations' is never used", - "markdown": "Method 'TestShortOperations' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1320, - "startColumn": 29, - "charOffset": 45421, - "charLength": 19, - "snippet": { - "text": "TestShortOperations" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1318, - "startColumn": 1, - "charOffset": 45382, - "charLength": 158, - "snippet": { - "text": " }\n\n private static void TestShortOperations()\n {\n var startingRule = $\"{nameof(ShortOperationAttributesParser)}_expressions\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5d980c61ff82ec3fe5278ea81406cbac738dead3b7361a25d4154d06b65a6eb8" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'testErrors' is never used", - "markdown": "Method 'testErrors' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 395, - "startColumn": 29, - "charOffset": 12266, - "charLength": 10, - "snippet": { - "text": "testErrors" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 393, - "startColumn": 1, - "charOffset": 12236, - "charLength": 99, - "snippet": { - "text": "\n\n private static void testErrors()\n {\n var jsonParser = new JSONParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bff9293a3c99d1551790e970c04b30da17745ab454bb878c0b67edb70077a3c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestChars' is never used", - "markdown": "Method 'TestChars' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 549, - "startColumn": 29, - "charOffset": 17977, - "charLength": 9, - "snippet": { - "text": "TestChars" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 547, - "startColumn": 1, - "charOffset": 17930, - "charLength": 154, - "snippet": { - "text": " }\n \n private static void TestChars()\n {\n var res = LexerBuilder.BuildLexer(new BuildResult>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d14788cdd158b4c97a1ca87edf38af905c4d708b6c4b4e3037fd86be484baf7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestIssue332' is never used", - "markdown": "Method 'TestIssue332' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1339, - "startColumn": 29, - "charOffset": 46198, - "charLength": 12, - "snippet": { - "text": "TestIssue332" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1337, - "startColumn": 1, - "charOffset": 46159, - "charLength": 165, - "snippet": { - "text": " }\n\n private static void TestIssue332()\n {\n ParserBuilder Parser = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ac4c11862d6a8b5e0edb2545f9688ba184d40bdeadce52bb3c0f4b2b011d0ea" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'testManySugar' is never used", - "markdown": "Method 'testManySugar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1217, - "startColumn": 29, - "charOffset": 42134, - "charLength": 13, - "snippet": { - "text": "testManySugar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1215, - "startColumn": 1, - "charOffset": 42095, - "charLength": 154, - "snippet": { - "text": " }\n\n private static void testManySugar()\n {\n var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "868726f3cb107d728e992f6356af47f3c9357038afcb675600f0639c82fd61e9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestTemplate' is never used", - "markdown": "Method 'TestTemplate' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1006, - "startColumn": 29, - "charOffset": 35159, - "charLength": 12, - "snippet": { - "text": "TestTemplate" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1004, - "startColumn": 1, - "charOffset": 35120, - "charLength": 135, - "snippet": { - "text": " }\n\n private static void TestTemplate()\n {\n var lexerResult = LexerBuilder.BuildLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a1b5b49aafabb5beaeec0c17c796347e106e04f2c30eade46220238b8eb0eca" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestFactorial' is never used", - "markdown": "Method 'TestFactorial' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 29, - "charOffset": 3186, - "charLength": 13, - "snippet": { - "text": "TestFactorial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 3156, - "charLength": 111, - "snippet": { - "text": "\n\n private static void TestFactorial()\n {\n var whileParser = new WhileParserGeneric();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af1b467a22c512817a9da392c84bb1ad24ee8ba84495dfa7c3a4ee1e1d4091ad" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'IndentedTest2' is never used", - "markdown": "Method 'IndentedTest2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 928, - "startColumn": 29, - "charOffset": 32206, - "charLength": 13, - "snippet": { - "text": "IndentedTest2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 926, - "startColumn": 1, - "charOffset": 32167, - "charLength": 149, - "snippet": { - "text": " }\n\n private static void IndentedTest2(string source)\n {\n var lexRes = LexerBuilder.BuildLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b083cda921335f86e7541ecf0f55a5f875ad6b68a2d3b2be62dbc414e743d985" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestLexerPostProcess' is never used", - "markdown": "Method 'TestLexerPostProcess' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1429, - "startColumn": 29, - "charOffset": 49123, - "charLength": 20, - "snippet": { - "text": "TestLexerPostProcess" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1427, - "startColumn": 1, - "charOffset": 49077, - "charLength": 193, - "snippet": { - "text": " \n \n private static void TestLexerPostProcess()\n {\n var Parser = postProcessedLexerParser.PostProcessedLexerParserBuilder.buildPostProcessedLexerParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9b33279f6c9c4bc9c5ade79e0d8d419dda28ceeafe1739c7192bb9c5626afdd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'postProcess' is never used", - "markdown": "Method 'postProcess' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1393, - "startColumn": 53, - "charOffset": 47782, - "charLength": 11, - "snippet": { - "text": "postProcess" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1391, - "startColumn": 1, - "charOffset": 47711, - "charLength": 183, - "snippet": { - "text": " }\n \n private static List> postProcess(List> tokens)\n {\n var mayLeft = new List()" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c255c839b53ed4a69f70b44d2dbdd66b65506694cd229e23fbff7307c759aee2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestShortGeneric' is never used", - "markdown": "Method 'TestShortGeneric' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1291, - "startColumn": 29, - "charOffset": 44493, - "charLength": 16, - "snippet": { - "text": "TestShortGeneric" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1289, - "startColumn": 1, - "charOffset": 44454, - "charLength": 142, - "snippet": { - "text": " }\n\n private static void TestShortGeneric()\n {\n var build = LexerBuilder.BuildLexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c8a0c0db1dd30af06dcd627b618492e4c896e4b7209c22cb8dc2f06b5c69d9bb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestGraphViz' is never used", - "markdown": "Method 'TestGraphViz' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 521, - "startColumn": 29, - "charOffset": 16753, - "charLength": 12, - "snippet": { - "text": "TestGraphViz" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 519, - "startColumn": 1, - "charOffset": 16714, - "charLength": 143, - "snippet": { - "text": " }\n\n private static void TestGraphViz()\n {\n var StartingRule = $\"{nameof(SimpleExpressionParser)}_expressions\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf7006176536427d50ab97ae4f8ac935910be2803dc6d22e58f86ba1da82d9da" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestLexerPostProcessEBNF' is never used", - "markdown": "Method 'TestLexerPostProcessEBNF' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1492, - "startColumn": 31, - "charOffset": 51299, - "charLength": 24, - "snippet": { - "text": "TestLexerPostProcessEBNF" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1490, - "startColumn": 1, - "charOffset": 51250, - "charLength": 200, - "snippet": { - "text": " }\n \n private static void TestLexerPostProcessEBNF()\n {\n var Parser = postProcessedLexerParser.PostProcessedLexerParserBuilder.buildPostProcessedLexerParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e22e73f7baa245d54da7dfe42a9fb0d1a048048893eb6fbea729f60b5d90fa0a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'Test177' is never used", - "markdown": "Method 'Test177' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1285, - "startColumn": 29, - "charOffset": 44337, - "charLength": 7, - "snippet": { - "text": "Test177" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1283, - "startColumn": 1, - "charOffset": 44307, - "charLength": 112, - "snippet": { - "text": "\n\n private static void Test177()\n {\n GenericLexerTests tests = new GenericLexerTests();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4d5d0e62310d37e72086d1cec8791d972ac1e2d2b98d64eb80e63809a9aa47a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestLexerModes' is never used", - "markdown": "Method 'TestLexerModes' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1261, - "startColumn": 29, - "charOffset": 43610, - "charLength": 14, - "snippet": { - "text": "TestLexerModes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1259, - "startColumn": 1, - "charOffset": 43563, - "charLength": 105, - "snippet": { - "text": " }\n \n private static void TestLexerModes()\n {\n // testManySugar();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f42b491a6fd7c6dd64f80c9509c972e5a53fb97431bc18e20516f44af9be4f82" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMember.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Method 'TestXmlParser' is never used", - "markdown": "Method 'TestXmlParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1225, - "startColumn": 29, - "charOffset": 42427, - "charLength": 13, - "snippet": { - "text": "TestXmlParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1223, - "startColumn": 1, - "charOffset": 42388, - "charLength": 171, - "snippet": { - "text": " }\n\n private static void TestXmlParser()\n {\n ParserBuilder builder = new ParserBuilder();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ff25456f2e70848d192dc2a3d884976ae588f36e49a72b8accc1a6ea2baf71b3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of property 'HasByPassNodes' are used", - "markdown": "Only implementations of property 'HasByPassNodes' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/ISyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 14, - "charOffset": 189, - "charLength": 14, - "snippet": { - "text": "HasByPassNodes" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 138, - "charLength": 121, - "snippet": { - "text": " string Name { get; }\n \n bool HasByPassNodes { get; set; }\n \n string Dump(string tab);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1c6cd895378807b6be6fc2747b0bae9844975956e9e0df44c5c518aaed0bbf88" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of property 'Position' are used", - "markdown": "Only implementations of property 'Position' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileAST.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 23, - "charOffset": 167, - "charLength": 8, - "snippet": { - "text": "Position" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 109, - "charLength": 123, - "snippet": { - "text": " public interface WhileAST\n {\n LexerPosition Position { get; set; }\n\n Scope CompilerScope { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d6089884cb8e53b5f7d9a3f3356a98f6a554332316fce5934c65c275d2d1c4c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of accessor 'LexemeLabels.get' are used", - "markdown": "Only implementations of accessor 'LexemeLabels.get' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ISyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 67, - "charOffset": 295, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 171, - "charLength": 233, - "snippet": { - "text": " string StartingNonTerminal { get; set; }\n \n Dictionary> LexemeLabels { get; set; }\n\n SyntaxParseResult Parse(IList> tokens, string startingNonTerminal = null);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "252166b8fa1817fe07c8ee6c07090babdee0a190323b62f43c7c0346dce55b47" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of accessor 'StartingNonTerminal.get' are used", - "markdown": "Only implementations of accessor 'StartingNonTerminal.get' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ISyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 38, - "charOffset": 208, - "charLength": 3, - "snippet": { - "text": "get" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 103, - "charLength": 203, - "snippet": { - "text": " public interface ISyntaxParser where IN : struct\n {\n string StartingNonTerminal { get; set; }\n \n Dictionary> LexemeLabels { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27982b2938b541f5c4a0dab8e19a41d997fb2185bbaf1174bf73f3dd999d31a6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of property 'Comment' are used", - "markdown": "Only implementations of property 'Comment' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/indented/Ast.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 23, - "charOffset": 83, - "charLength": 7, - "snippet": { - "text": "Comment" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 104, - "snippet": { - "text": " {\n \n public string Comment { get; set; }\n public string Dump(string tab);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indented", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "521212010933410fe82f29a823a1b89a9b9d577786d85630ce213c44f7bbf9f7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of property 'I18n' are used", - "markdown": "Only implementations of property 'I18n' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/ILexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 16, - "charOffset": 465, - "charLength": 4, - "snippet": { - "text": "I18n" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 379, - "charLength": 172, - "snippet": { - "text": " LexerResult Tokenize(ReadOnlyMemory source);\n \n string I18n { get; set; }\n \n LexerPostProcess LexerPostProcess { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5aa57bbf60ee4a17b3e442f7f810543eafee0b7640f32ca15f26fbecabb1d1eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of method 'AddDefinition' are used", - "markdown": "Only implementations of method 'AddDefinition' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/ILexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 14, - "charOffset": 271, - "charLength": 13, - "snippet": { - "text": "AddDefinition" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 172, - "charLength": 206, - "snippet": { - "text": " Dictionary> LexemeLabels { get; set; }\n \n void AddDefinition(TokenDefinition tokenDefinition);\n LexerResult Tokenize(string source);\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e149efc4806e4c1192b3ca3d7e12c86606a21375bc18ee0dede397c3d551a88" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of property 'CompilerScope' are used", - "markdown": "Only implementations of property 'CompilerScope' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileAST.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 15, - "charOffset": 205, - "charLength": 13, - "snippet": { - "text": "CompilerScope" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 145, - "charLength": 121, - "snippet": { - "text": " LexerPosition Position { get; set; }\n\n Scope CompilerScope { get; set; }\n string Dump(string tab);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "db01db31e1658b89f330293222bf492cac0cba0ca4b1170f75b5c9995b39a35d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of method 'Tokenize' are used", - "markdown": "Only implementations of method 'Tokenize' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/ILexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 24, - "charOffset": 402, - "charLength": 8, - "snippet": { - "text": "Tokenize" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 322, - "charLength": 161, - "snippet": { - "text": " LexerResult Tokenize(string source);\n \n LexerResult Tokenize(ReadOnlyMemory source);\n \n string I18n { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f32c43b62f2077f4d8470675217b76b5d57fb3900303ca35bdb5ea1203e907d8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMemberInSuper.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Only implementations of method 'ToGraph' are used", - "markdown": "Only implementations of method 'ToGraph' are used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/IDot.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 16, - "charOffset": 97, - "charLength": 7, - "snippet": { - "text": "ToGraph" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 50, - "charLength": 65, - "snippet": { - "text": " public interface IDot\n {\n string ToGraph();\n }\n}" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6ba6b22274f6693fc17a128bcd3488242032f133425d0ef6c5470724b255826" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'GoTo' return value is never used", - "markdown": "Method 'GoTo' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 16, - "charOffset": 784, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 746, - "charLength": 119, - "snippet": { - "text": " #region MARKS\n\n public FSMLexerBuilder GoTo(int state)\n {\n if (Fsm.HasState(state))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13a19017c13017938684e67734956819ef94ba71c3aa65d066ca5a319e15cfd8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SafeTransition' return value is never used", - "markdown": "Method 'SafeTransition' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 182, - "startColumn": 16, - "charOffset": 4554, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 180, - "startColumn": 1, - "charOffset": 4528, - "charLength": 187, - "snippet": { - "text": " }\n\n public FSMLexerBuilder SafeTransition(char input, TransitionPrecondition precondition)\n {\n var transition = Fsm.GetTransition(CurrentState, input);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "345683c6752ab0b05a20f1d63e0d3d64350753dcffe1462468c2946929fa95b2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'TransitionToAndMark' return value is never used", - "markdown": "Method 'TransitionToAndMark' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 519, - "startColumn": 16, - "charOffset": 17169, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 517, - "startColumn": 1, - "charOffset": 17135, - "charLength": 145, - "snippet": { - "text": " }\n \n public FSMLexerBuilder TransitionToAndMark(char[] inputs, string toNodeMark)\n {\n int toNode = -1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35719819504d107c1835ca2ebd8a3fba7b796615c541b7699b9444ac30dad7b6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AddNode' return value is never used", - "markdown": "Method 'AddNode' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 133, - "startColumn": 16, - "charOffset": 3851, - "charLength": 10, - "snippet": { - "text": "FSMNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 131, - "startColumn": 1, - "charOffset": 3834, - "charLength": 100, - "snippet": { - "text": "\n\n public FSMNode AddNode(N value)\n {\n var node = new FSMNode(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43d31a22aeec1f05f7393e9f2b0f241239eeee454409d74d81e974c6d2467a4d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Transition' return value is never used", - "markdown": "Method 'Transition' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 206, - "startColumn": 16, - "charOffset": 5275, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 204, - "startColumn": 1, - "charOffset": 5242, - "charLength": 143, - "snippet": { - "text": " \n \n public FSMLexerBuilder Transition(char[] inputs)\n {\n return TransitionTo(inputs, Fsm.NewNodeId);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "613d7b223348cbf82aa4fea88e5e60a04f51592275b031616c00f89c4196f1e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'MultiRangeTransition' return value is never used", - "markdown": "Method 'MultiRangeTransition' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 306, - "startColumn": 16, - "charOffset": 8766, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 304, - "startColumn": 1, - "charOffset": 8740, - "charLength": 233, - "snippet": { - "text": " }\n\n public FSMLexerBuilder MultiRangeTransition(TransitionPrecondition precondition , params (char start, char end)[] ranges)\n {\n return MultiRangeTransitionTo(Fsm.NewNodeId, precondition, ranges);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7064502c8a1a9bb5f33cfac6927d73610237c38ae65d8384750966256c9fa2a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ComputeSubRules' return value is never used", - "markdown": "Method 'ComputeSubRules' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 18, - "charOffset": 463, - "charLength": 28, - "snippet": { - "text": "ParserConfiguration" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 404, - "charLength": 216, - "snippet": { - "text": " public string I18n { get; set; }\n\n public ParserConfiguration ComputeSubRules(ParserConfiguration configuration)\n {\n var newNonTerms = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70c1150b0f3cbcdb13d27aab9fcce3d332037ea3138a3d75cab2bc48edd0679f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'OpenNewScope' return value is never used", - "markdown": "Method 'OpenNewScope' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 16, - "charOffset": 1139, - "charLength": 5, - "snippet": { - "text": "Scope" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1090, - "charLength": 134, - "snippet": { - "text": " #region scope management\n\n public Scope OpenNewScope()\n {\n var scope = CurrentScope.CreateNewScope();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8778bc8aafbd2f28030ef259098e4577efdfcb66d2933cf37bbccf2c97a94e9f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'VisitOptionNode' return value is never used", - "markdown": "Method 'VisitOptionNode' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/IConcreteSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 9, - "charOffset": 211, - "charLength": 3, - "snippet": { - "text": "OUT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 123, - "charLength": 270, - "snippet": { - "text": " public interface IConcreteSyntaxTreeVisitor where IN : struct\n {\n OUT VisitOptionNode(bool exists, OUT child);\n OUT VisitNode(SyntaxNode node, IList children);\n OUT VisitManyNode(ManySyntaxNode node, IList children);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "909ff1915dce0de69013c3091d3f21429504355009b891fa987b9ebc4fb6ed5b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'AddNode' return value is never used", - "markdown": "Method 'AddNode' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 16, - "charOffset": 4056, - "charLength": 10, - "snippet": { - "text": "FSMNode" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 4030, - "charLength": 107, - "snippet": { - "text": " }\n\n public FSMNode AddNode()\n {\n var node = new FSMNode(default(N));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a4fbd737fbf422cd446695bfe1d6d4ccbf61a842a0e60f34723505afafef715f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Push' return value is never used", - "markdown": "Method 'Push' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 16, - "charOffset": 3193, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3160, - "charLength": 125, - "snippet": { - "text": " \n \n public FSMLexerBuilder Push(string toMode)\n {\n if (Fsm.HasState(CurrentState))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b2912796419f5fddab9c56b6871425d6392b4e10b6295ca8fbe5197785b811f2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'SafeTransition' return value is never used", - "markdown": "Method 'SafeTransition' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 166, - "startColumn": 16, - "charOffset": 4040, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 164, - "startColumn": 1, - "charOffset": 3996, - "charLength": 168, - "snippet": { - "text": " #region TRANSITIONS\n\n public FSMLexerBuilder SafeTransition(char input)\n {\n var transition = Fsm.GetTransition(CurrentState, input);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d1b9f654e461e7e8227c69d33243a043fd876d111166e9067cd08897b90b0912" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'CloseScope' return value is never used", - "markdown": "Method 'CloseScope' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/CompilerContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 16, - "charOffset": 1312, - "charLength": 5, - "snippet": { - "text": "Scope" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 1295, - "charLength": 99, - "snippet": { - "text": "\n\n public Scope CloseScope()\n {\n CurrentScope = CurrentScope?.ParentScope;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d357da5ca6d503fa19007f33dc0d52c696d9d691142f81f55f8b734d13f603d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Pop' return value is never used", - "markdown": "Method 'Pop' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 16, - "charOffset": 3524, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 3491, - "charLength": 111, - "snippet": { - "text": " \n \n public FSMLexerBuilder Pop()\n {\n if (Fsm.HasState(CurrentState))" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5e80287f8528111a99d49e8ef2b6804eb835f387536205275d2e7b30b65b883" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'Indentation' return value is never used", - "markdown": "Method 'Indentation' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 16, - "charOffset": 2534, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2500, - "charLength": 160, - "snippet": { - "text": " }\n \n public FSMLexerBuilder Indentation(bool indentAware, string indentation)\n {\n Fsm.IndentationAware = indentAware;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f55116c5b5dccb29486d5986940e2aa9ae24f4fc3094cc28543aae57d06337fd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedMethodReturnValue.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Method 'ConstantTransition' return value is never used", - "markdown": "Method 'ConstantTransition' return value is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 221, - "startColumn": 16, - "charOffset": 5792, - "charLength": 18, - "snippet": { - "text": "FSMLexerBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 219, - "startColumn": 1, - "charOffset": 5766, - "charLength": 167, - "snippet": { - "text": " }\n\n public FSMLexerBuilder ConstantTransition(string constant, TransitionPrecondition precondition = null)\n {\n var c = constant[0];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6f1ce0b14299747ae1fe1224991c8c60c759e7bfe2cf202f88c2606e34f9d05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 38, - "charOffset": 1967, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1892, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0096b52d3102d464017996676f46244a42e9904b1716e4685af24a1f9c4cf58a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'optSecond' is never used", - "markdown": "Parameter 'optSecond' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1605, - "startColumn": 57, - "charOffset": 54592, - "charLength": 9, - "snippet": { - "text": "optSecond" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1603, - "startColumn": 1, - "charOffset": 54472, - "charLength": 179, - "snippet": { - "text": " \n [Production(\"first : second? third COMMA[d]\")]\n public object FirstRecurse2(ValueOption optSecond, object third)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "00d0a8577c1f9017cd27de7be860b7e45d85da426b33ae37285f7b1c11dee7c7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 55, - "charOffset": 2418, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2321, - "charLength": 169, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(Token accg, Token accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "01cf98f9c48bd2bd81d9a15c8c8746be197e0a242d50793429a1c7d927f97b06" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 54, - "charOffset": 3246, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3139, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "05fc9c8f02abb3d560bf76c369f1b5b2316efeba909c0889b4b0f0fe0978df83" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedMinus' is never used", - "markdown": "Parameter 'discardedMinus' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 88, - "startColumn": 50, - "charOffset": 2236, - "charLength": 14, - "snippet": { - "text": "discardedMinus" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 86, - "startColumn": 1, - "charOffset": 2140, - "charLength": 171, - "snippet": { - "text": "\n [Production(\"factor : MINUS factor\")]\n public int Factor(Token discardedMinus, int factorValue)\n {\n return -factorValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "06c80077565e14b0520ecd474d450fcc87938ed799201cf5f552b9b4956bf1f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 54, - "charOffset": 3830, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3719, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07d4113eaa46ee4d73689e0c392df9a6065cf5e19ae865978825c90b9dfe9863" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 118, - "charOffset": 490, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 201, - "charLength": 335, - "snippet": { - "text": " [Operation((int) ExpressionToken.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation((int) ExpressionToken.MINUS, Affix.InFix, Associativity.Left, 10)]\n public int BinaryTermExpression(int left, Token operation, int right,Dictionary context)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "083b86751259532c5133a85fb87a2d8426e9e95169f30cc97267dcc6aa34ed94" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'posArgs' is never used", - "markdown": "Parameter 'posArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 46, - "charOffset": 1362, - "charLength": 7, - "snippet": { - "text": "posArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1239, - "charLength": 214, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args optional_kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption> kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "09a3c7828dd8ae6016aa8e0b5bcb54a55afa8fb669e312d9ad18e8bdfb85f2d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 38, - "charOffset": 2771, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0b024b8647082a16b2ddfa105ba51a59e5b3c312798eafbf658c57c210e6c06d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 78, - "charOffset": 2441, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2321, - "charLength": 169, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(Token accg, Token accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c00d15694db4e86c7a18eab8d1f243836590e196bf4f9a706dce98b3d1ce092" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'k' is never used", - "markdown": "Parameter 'k' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 48, - "charOffset": 1324, - "charLength": 1, - "snippet": { - "text": "k" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1117, - "charLength": 254, - "snippet": { - "text": " [Production(\n \"ternary_expr : Issue165Parser_expressions QUESTIONMARK [d] Issue165Parser_expressions COLON [d] Issue165Parser_expressions\")]\n public object ternary(object j, object k, object l)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c98320eee0f7b20da4020b96f7be302949cba8f32a890a4b62ef9212b6a6389" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'semi' is never used", - "markdown": "Parameter 'semi' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 61, - "charOffset": 3044, - "charLength": 4, - "snippet": { - "text": "semi" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2912, - "charLength": 197, - "snippet": { - "text": "\n [Production(\"additionalStatements : SEMICOLON statementPrim\")]\n public WhileAST additional(Token semi, WhileAST statement)\n {\n return statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d7d7e737548c5dca9377bf84267084b17014aa7c9bb7284447ad0c6bc0deb4d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 80, - "charOffset": 847, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 616, - "charLength": 267, - "snippet": { - "text": " [Operation((int) Issue165Lexer.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation(\"DIVIDE\", Affix.InFix, Associativity.Left, 50)]\n public object BinaryFactorExpression(double left, Token operation, object right)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "13f306117b439d6870a4ec3a76d3f3b4f1093ecb60f3b92a6e023229fb131476" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 80, - "charOffset": 2615, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2485, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "14533c4430d2ef11397ac9db55f2c4f93af11c08f5f5fd0474d727ffd5758ffd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tok' is never used", - "markdown": "Parameter 'tok' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 48, - "charOffset": 2382, - "charLength": 3, - "snippet": { - "text": "tok" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2253, - "charLength": 168, - "snippet": { - "text": " [Production(\"arith_expr: ID\")]\n [Production(\"arith_expr: STRING\")]\n public object arith(Token tok)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15fab012ca85c2b1f45e0171bef62da0df0a9d7507e2f4aa932bd43ecf217530" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'left' is never used", - "markdown": "Parameter 'left' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 51, - "charOffset": 517, - "charLength": 4, - "snippet": { - "text": "left" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 317, - "charLength": 286, - "snippet": { - "text": " [Operation((int) Issue165Lexer.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation(\"MINUS\", Affix.InFix, Associativity.Left, 10)]\n public object BinaryTermExpression(object left, Token operation, object right)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1619f7e9b6a08eee4053880c28e67dfd57ddffaab80823dd19f997a2243dffa3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 66, - "charOffset": 4668, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 4537, - "charLength": 172, - "snippet": { - "text": " \n [Production(\"kw_args : ( COMMA [d] kw_arg )* \")]\n public object Kwobject2(List> head )\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "18e4c6a2171b63a0a5a2d69431e98fba4bc6ff019709811d00e79b80336196e0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardZeroOrMore' is never used", - "markdown": "Parameter 'discardZeroOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 75, - "charOffset": 6672, - "charLength": 17, - "snippet": { - "text": "discardZeroOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 6420, - "charLength": 334, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN ZEROORMORE \")]\n public IClause GroupZeroOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token discardZeroOrMore)\n {\n return new ZeroOrMoreClause(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "19f8868cc0e3122add5477342b3c7a09cc57eca19f62bc5f5d867b0b4b517886" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'expr' is never used", - "markdown": "Parameter 'expr' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 62, - "charOffset": 239, - "charLength": 4, - "snippet": { - "text": "expr" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 110, - "charLength": 169, - "snippet": { - "text": " \n [Production(\"test_stmt : ID EQ [d] arith_expr \")]\n public object assign(Token id, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1dd6e80b427ddb91679b44cbbc83c06625845dc98fc5aa8ded265360489a205d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 50, - "charOffset": 2567, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e1ff20852e31c5af9d43e4372cfb8afb1ee2d074ba11f15628dbd4f55f9fa24" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 81, - "charOffset": 1817, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1653, - "charLength": 250, - "snippet": { - "text": "\n [Operation((int) WhileToken.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e355ac9569fb33f7acc2bd9f5d591ddf6ad5dac2c141c917dea397427a9a84e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 222, - "startColumn": 73, - "charOffset": 7780, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 220, - "startColumn": 1, - "charOffset": 7616, - "charLength": 249, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1e94aa9ab47e4c83c5741c8e2a4bbe2b75672cf10238f338acff15cf038b2a1a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'dicardThen' is never used", - "markdown": "Parameter 'dicardThen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 108, - "charOffset": 3331, - "charLength": 10, - "snippet": { - "text": "dicardThen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 3120, - "charLength": 320, - "snippet": { - "text": "\n [Production(\"statementPrim: IF WhileParserGeneric_expressions THEN statement ELSE statement\")]\n public WhileAST ifStmt(Token discardIf, WhileAST cond, Token dicardThen,\n WhileAST thenStmt, Token dicardElse, Statement elseStmt)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1eaca06069bea08c9cfccebc33bda67f39fb5c9bde8c11e11f629273089c1ac4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 56, - "charOffset": 3726, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3610, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20a3c6a5f15adca2c1f9006b677b916c8c85dc5d1ac175de8f2d72dfbfb7e1c0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'stringDelimiterChar' is never used", - "markdown": "Parameter 'stringDelimiterChar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 715, - "startColumn": 90, - "charOffset": 26112, - "charLength": 19, - "snippet": { - "text": "stringDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 713, - "startColumn": 1, - "charOffset": 26021, - "charLength": 167, - "snippet": { - "text": "\n\n public ReadOnlyMemory diffCharEscaper(char escapeStringDelimiterChar, char stringDelimiterChar,\n ReadOnlyMemory stringValue)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20fcb49c27362eb284efa3c41294af248295addf257ebc8a8ef2fafcea639415" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'initial' is never used", - "markdown": "Parameter 'initial' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 39, - "charOffset": 1934, - "charLength": 7, - "snippet": { - "text": "initial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1832, - "charLength": 190, - "snippet": { - "text": "\n [Production(\"kw_args : kw_arg ( COMMA [d] kw_arg )*\")]\n public object Kwobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "239868a382f69bb913a4466a7009713af5a48e92304be8968153a07dbf6e7370" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 33, - "charOffset": 2928, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2550fd2246759b2b5d84a4a293072e1c221d77759dd98c8c7e8cd93215acef58" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardZeroOrMore' is never used", - "markdown": "Parameter 'discardZeroOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 94, - "charOffset": 5747, - "charLength": 17, - "snippet": { - "text": "discardZeroOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 5595, - "charLength": 234, - "snippet": { - "text": "\n [Production(\"clause : choiceclause ZEROORMORE \")]\n public IClause ChoiceZeroOrMore(ChoiceClause choices,Token discardZeroOrMore)\n {\n return new ZeroOrMoreClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27dc64a668a0df36eb6e89f2ed46d35785ceafff66191b967bbf2d357018177c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardWhile' is never used", - "markdown": "Parameter 'discardWhile' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 60, - "charOffset": 3718, - "charLength": 12, - "snippet": { - "text": "discardWhile" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 3569, - "charLength": 254, - "snippet": { - "text": "\n [Production(\"statementPrim: WHILE WhileParserGeneric_expressions DO statement\")]\n public WhileAST whileStmt(Token discardWhile, WhileAST cond,\n Token dicardDo, WhileAST blockStmt)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27e0b2b1c1c8cf4c0b59da689532c24d502a8efca085bf716be9500e63a91157" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 58, - "charOffset": 2201, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2870ce5f92cf157dd740879a2fa6b69ce661b415ea94a10ffb016d5dd603c545" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardOption' is never used", - "markdown": "Parameter 'discardOption' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 92, - "charOffset": 5995, - "charLength": 13, - "snippet": { - "text": "discardOption" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 5849, - "charLength": 220, - "snippet": { - "text": "\n [Production(\"clause : choiceclause OPTION \")]\n public IClause ChoiceOptional(ChoiceClause choices,Token discardOption)\n {\n return new OptionClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2a74a77c6b21449e8a3d4027e043b88ef02fe56711321266d5eda171523b6daa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 51, - "startColumn": 93, - "charOffset": 1781, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 49, - "startColumn": 1, - "charOffset": 1637, - "charLength": 231, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER OPTION\")]\n public IClause OptionClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2acb55071adbb8f031026198f49bab48f994360b03307ac649b6dcc134149361" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'rparen' is never used", - "markdown": "Parameter 'rparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 99, - "charOffset": 3263, - "charLength": 6, - "snippet": { - "text": "rparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3064, - "charLength": 273, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParserWithContext_expressions RPAREN\")]\n public int OperandParens(Token lparen, int value, Token rparen,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2b8aca4dcbeecfd651d900365c13f555c82f3a355a4520d958e55481efae0e7f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 45, - "charOffset": 2394, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c39bc9221a98cc15e18214fdaaad4687a37e1952bad3ac938b6090be0eaa4dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'kwArgs' is never used", - "markdown": "Parameter 'kwArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 132, - "startColumn": 75, - "charOffset": 3714, - "charLength": 6, - "snippet": { - "text": "kwArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 130, - "startColumn": 1, - "charOffset": 3571, - "charLength": 185, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2cd6e891c8e149f995d035752211c4c85b679f17fbd7642fa5b4cc606f8f515c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 38, - "charOffset": 2565, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2ed63948e6960528d9227c43823aab4c321c47d9d0625c3f92d7da6c2a26f762" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 221, - "startColumn": 124, - "charOffset": 8592, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 219, - "startColumn": 1, - "charOffset": 8406, - "charLength": 305, - "snippet": { - "text": " \n [Production(\"groupclause : STRING DISCARD \")]\n public GroupClause GroupClauseExplicitDiscarded(Token explicitToken, Token discarded)\n {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value, true, explicitToken:true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3135c1aecf80ad8482793345959caafaf9e30578e5b0c7402ba81a2c020832c0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'result' is never used", - "markdown": "Parameter 'result' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 514, - "startColumn": 83, - "charOffset": 18900, - "charLength": 6, - "snippet": { - "text": "result" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 512, - "startColumn": 1, - "charOffset": 18807, - "charLength": 169, - "snippet": { - "text": " }\n\n public void AddDouble(IN token, string separator, BuildResult> result)\n {\n NodeCallback callback = match =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31778e4a88ffb9bc90b1f880cbbc45099dd74f049dec7575a8f7aa34dc850c93" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 49, - "charOffset": 3779, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3670, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "31bf2c1742554ed9bf00b7fdcf3c20f72943cf11a3926bfa8f07ae376968550a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 54, - "charOffset": 3264, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3157, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "341abf407c57b1c6022ad79c6bcade53894ce9206febe2df871e2db4e6fdbebf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 50, - "charOffset": 2361, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35ab121e3d17c3c3ca8e4599e5d7547182002325e33d650d323e2a43151d41a8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'kwArgs' is never used", - "markdown": "Parameter 'kwArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 46, - "charOffset": 2965, - "charLength": 6, - "snippet": { - "text": "kwArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2869, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"fun_actual_args : kw_args\")]\n public object FuncActualArgsA(object kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35c566dbd7277c0e71206691e957270a965a0e522870f7380af9ea2617c4caae" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'option' is never used", - "markdown": "Parameter 'option' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 177, - "startColumn": 75, - "charOffset": 7010, - "charLength": 6, - "snippet": { - "text": "option" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 175, - "startColumn": 1, - "charOffset": 6766, - "charLength": 309, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN OPTION \")]\n public IClause GroupOptional(Token discardLeft, GroupClause group,\n Token discardRight, Token option)\n {\n return new OptionClause(group);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "36ba6cbba9b5bdf8a3aefa4e857a58e5d507c67fa1c39cca9c070c6dd8b4c7d7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 96, - "charOffset": 1987, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1793, - "charLength": 280, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37263d1885af98bb3cf90e3a8a46451f70883acf850490c27d6e0d051f41a398" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 45, - "charOffset": 2394, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "38f6bb0977738ca6f9a8f5aad8f63de45422037352d8cc398462e5b0ad446198" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 120, - "charOffset": 1236, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 943, - "charLength": 339, - "snippet": { - "text": " [Operation((int) ExpressionToken.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation((int) ExpressionToken.DIVIDE, Affix.InFix, Associativity.Left, 50)]\n public int BinaryFactorExpression(int left, Token operation, int right,Dictionary context)\n {\n var result = 0;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a2c076907088acd5160086a459016debbbc878cc0169c2e49c6e984efaac827" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 39, - "charOffset": 3106, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 3018, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"fun_actual_args2 : args2\")]\n public object actargs2(object args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3a7dd1bc66018399f5672ed8fd99f6415288f668b7451aef134d91ec8f07b561" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 105, - "charOffset": 2138, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1939, - "charLength": 248, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.FACTORIAL, Affix.PostFix, Associativity.Right, 100)]\n public int PostFixExpression(int value, Token operation,Dictionary context)\n {\n var factorial = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3bbc1d3404caa501077542fc540ebb37db07f142ef5d65fb4845afbce1878fc9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 54, - "charOffset": 3246, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3139, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3d6c7f29ef016457313f413eedc5c7bd0848e08f8e16aa1cd00f2513769db558" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 65, - "charOffset": 4472, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 4343, - "charLength": 183, - "snippet": { - "text": "\n [Production(\"kw_args : ( COMMA [d] kw_arg )* kw_arg \")]\n public object Kwobject(List> head, object tail )\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3d8cc3b776f60b203c633354e87be768c298a93b74d5a2a44e855aa1e65f67a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'expr' is never used", - "markdown": "Parameter 'expr' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 67, - "charOffset": 1531, - "charLength": 4, - "snippet": { - "text": "expr" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1382, - "charLength": 189, - "snippet": { - "text": "\n [Production(\"sqbr_expr : ID LBR [d] Issue165Parser_expressions RBR [d]\")]\n public object sqrbrack(Token token, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3dc1aa638021e070a421874b1dbe1c44abd7d30fa8408b82b7cfd90dfc8b8b14" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 40, - "charOffset": 1761, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1684, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3e3ace410e06563e307c5abb5bbaf112bc96b1fdb27112baee964aa9980476f5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 150, - "startColumn": 67, - "charOffset": 4279, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 148, - "startColumn": 1, - "charOffset": 4138, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"pos_args : ( arith_expr COMMA [d] )* arith_expr\")]\n public object Posobject2(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3fe4487b8c264b66e866ff91318cd65290281ccf65f8987d6c2bede26bf22417" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardLeft' is never used", - "markdown": "Parameter 'discardLeft' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 169, - "startColumn": 68, - "charOffset": 6560, - "charLength": 11, - "snippet": { - "text": "discardLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 167, - "startColumn": 1, - "charOffset": 6419, - "charLength": 281, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN ZEROORMORE \")]\n public IClause GroupZeroOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token discardZeroOrMore)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "415c1440e9adae56cfa0d57c90c1acdcb4b4cb3933052780313dd96bca91278a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 38, - "charOffset": 2589, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "42326381dd2cf57b301f291dd0f5d3ea8a6432d4c5a8d1907f28355dab36e8df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 50, - "charOffset": 2385, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4259c6693a7a84e18ffe2f3d92d166e6270edf048b602077fbd549bed3091448" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 50, - "charOffset": 2385, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "42ac5e5ddedc74563aad58eebe537b26a442bde5485fd46497a33c8ebd3e04e6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 38, - "charOffset": 2583, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2505, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "432e30824f9d1e3160f61d5f8e081c994c3266a39557cd773029d08ec035bba8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 40, - "charOffset": 1767, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1690, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "438be87ad7ce34412ff7dad5655398214caab0f2141e92237fcf2b54f4489635" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 237, - "startColumn": 92, - "charOffset": 8081, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 235, - "startColumn": 1, - "charOffset": 7895, - "charLength": 268, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "445068df80526418f6f227e1db3e87626fe6220ded3937b6b919ed4d55c331d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 58, - "charOffset": 2407, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "445a45eb03942bc9c7320ab624e49f04a5019692c9fd28799615ad5a234c0be9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardleft' is never used", - "markdown": "Parameter 'discardleft' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 69, - "charOffset": 2812, - "charLength": 11, - "snippet": { - "text": "discardleft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2681, - "charLength": 252, - "snippet": { - "text": "\n [Production(\"choiceclause : LCROG choices RCROG \")]\n public IClause AlternateChoices(Token discardleft, IClause choices, Token discardright)\n { \n return choices;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "446c5d790f497df0633b80b923a9d4700dc3817de372c622bb4e9739dbf6c864" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 58, - "charOffset": 2219, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2119, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4478fcb69443c3579116852a12c7f0f0233da19d8eebd25c186bb8badd1be062" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 66, - "charOffset": 2432, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2301, - "charLength": 175, - "snippet": { - "text": " [Operand]\n [Production(\"operand : primary_value\")]\n public int OperandValue(int value,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44830f5fd08994958704ef436a0b15c5e6fb85facbc96766e44a47a8f0e21d11" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'oneZeroOrMore' is never used", - "markdown": "Parameter 'oneZeroOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 163, - "startColumn": 75, - "charOffset": 6331, - "charLength": 13, - "snippet": { - "text": "oneZeroOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 161, - "startColumn": 1, - "charOffset": 6081, - "charLength": 327, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN ONEORMORE \")]\n public IClause GroupOneOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token oneZeroOrMore)\n {\n return new OneOrMoreClause(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44b19f7f7642c52e08e463ea4ee95ad5c9a964a3ad6e880e9198c1d5b3262a36" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 45, - "charOffset": 2212, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44f5b768d17ca4e5795ea6cfe9ed653d8ef08457a2a7daa9b4d28acd10c40a7b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 45, - "charOffset": 2188, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4506979d1f666040ddf8150ee9152104ff6e0730b62de31e03701d8c7622fafa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 33, - "charOffset": 2746, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "46e6bd97fddcedc59e23142d3b55361704c0c313f02e075e9a07cfe7b36af82f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 58, - "charOffset": 2407, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2307, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "477cefabd6aefbb7140770b20c67d1900563b1b6239863eaea20eea447a04f59" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'id' is never used", - "markdown": "Parameter 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 51, - "charOffset": 2774, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2646, - "charLength": 212, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( fun_actual_args )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "484cd84adaaa82df0978247e477abb2fcd6243ac76c7ce9565dfcf1f2fae29b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 33, - "charOffset": 2746, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "493253a75effab7035dc8fa8ec1de52b8e76f7438ac14ade483a5f835c09d713" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 61, - "charOffset": 3078, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 2964, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4975bcff20d4baf91562634a8c6cdceda82d25bc1c303f106ed5735b65f85196" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 61, - "charOffset": 3985, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3871, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4af944550e0d32d9b32bfba39ecfa667ca9f7adc40ccff3155e5a694c7e62c63" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'subsequent' is never used", - "markdown": "Parameter 'subsequent' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 82, - "charOffset": 1775, - "charLength": 10, - "snippet": { - "text": "subsequent" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1621, - "charLength": 200, - "snippet": { - "text": "\n [Production(\"pos_args : arith_expr ( COMMA [d] arith_expr )*\")]\n public object Posobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4bd57dc2b33ff6acc2c7fbc86ebb3ec3db113339654196f157f023389358e072" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'buildResult' is never used", - "markdown": "Parameter 'buildResult' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 983, - "startColumn": 63, - "charOffset": 37483, - "charLength": 11, - "snippet": { - "text": "buildResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 981, - "startColumn": 1, - "charOffset": 37410, - "charLength": 155, - "snippet": { - "text": " }\n\n public void AddUpTo(IN token, BuildResult> buildResult, string[] exceptions,\n bool isLineEnding = false)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4c713e26da0e6203170b085a98a2651029b49a5d6ace5d540643a7386c0ec278" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardRpar' is never used", - "markdown": "Parameter 'discardRpar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 38, - "charOffset": 2373, - "charLength": 11, - "snippet": { - "text": "discardRpar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 2185, - "charLength": 240, - "snippet": { - "text": " [Production(\"statement : LPAREN statement RPAREN \")]\n public WhileAST block(Token discardLpar, Statement statement,\n Token discardRpar)\n {\n return statement;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e6e0bf7d9108186111f755f991bff7152e2934d4ac160f259de6a7ed3a26b2d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardOr' is never used", - "markdown": "Parameter 'discardOr' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 106, - "startColumn": 102, - "charOffset": 4001, - "charLength": 9, - "snippet": { - "text": "discardOr" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 104, - "startColumn": 1, - "charOffset": 3838, - "charLength": 308, - "snippet": { - "text": " \n [Production(\"choices : STRING OR choices \")]\n public IClause ChoicesManyImplicit(Token head, Token discardOr, ChoiceClause tail)\n {\n var headClause = BuildTerminalOrNonTerimal(head.Value,discard:false,explicitToken:true); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5028fbfbfe5bc5e192490040e212632f032fea0e08104c3267c1b32ef8dc0b05" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 252, - "startColumn": 62, - "charOffset": 8382, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 250, - "startColumn": 1, - "charOffset": 8238, - "charLength": 233, - "snippet": { - "text": "\n [Operation((int) WhileToken.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "50c66fa48d904b33ab4f5126e50e713455df9965675dfdbb506f3d92b4afdb8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 80, - "charOffset": 2433, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2303, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "51198115da774bf6686d8fb726ef4e5cfc31367614dc39b537be69491c0df810" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 62, - "charOffset": 2751, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "516edeb865543fb434de3e250620d09173fd913de55bc6c64b016ad089b77912" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 340, - "startColumn": 81, - "charOffset": 11201, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 338, - "startColumn": 1, - "charOffset": 11110, - "charLength": 160, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(IntegerConstant intConst, InterpreterContext context)\n {\n return new TypedValue(intConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "52c59a71f7c916237476b3c7880b195398b488020d86982c538d077d0976e896" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tail' is never used", - "markdown": "Parameter 'tail' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 76, - "charOffset": 3285, - "charLength": 4, - "snippet": { - "text": "tail" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3157, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "53009d2362c754f1623b3d12c88d68004399a07b1e07aff08b778639f14ba8d5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 45, - "charOffset": 2412, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2325, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "534f89a05e8f4cd27669e75c79ac990c78ebae6e17c9ea7e99bf5cafb2226de5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 82, - "charOffset": 3051, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2916, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(Token crog, JList elements, Token crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "535bfc8f24f613f271fda8a69bfc07caf5d64bde72fb08780d630e4a4911afe6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'id' is never used", - "markdown": "Parameter 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 53, - "charOffset": 2144, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2033, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "536d8820d5a37a082526935cd799114eddad360bdba993861e9d54325c7a0e2f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 78, - "charOffset": 544, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 317, - "charLength": 286, - "snippet": { - "text": " [Operation((int) Issue165Lexer.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation(\"MINUS\", Affix.InFix, Associativity.Left, 10)]\n public object BinaryTermExpression(object left, Token operation, object right)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "53ae196e835ff724a255b68acfb22387311de3c752ca8aa8c33fb619df8fb594" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 80, - "charOffset": 2415, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "542ce5435116eac00e312dfb748ba3f0cb44a70c58f9832dfead359a5c6d2a81" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 57, - "charOffset": 651, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 536, - "charLength": 228, - "snippet": { - "text": "\n [Production(\"primary: LPAREN expression RPAREN\")]\n public Expression Group( Token forget, Expression groupValue, Token ignore)\n {\n return new Group(groupValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "543960a3fa32079ad02491c14cd4b5105e8904d6bc029f0c4841a0bc7b6eacf0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 43, - "charOffset": 3012, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2916, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(Token crog, JList elements, Token crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "556c8e50b8121e5a0c27d9ba0e5154adbb16da6405978ad08400548e75bf4a8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 63, - "charOffset": 1698, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1562, - "charLength": 197, - "snippet": { - "text": "\n [Prefix((int) ExpressionToken.MINUS, Associativity.Right, 100)]\n public double PreFixExpression(Token operation, double value)\n {\n return -value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5672dc2e9963ed1e86e3e7c56791958953da725fb296f0a6af1633398e359ed0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'posArgs' is never used", - "markdown": "Parameter 'posArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 132, - "startColumn": 46, - "charOffset": 3685, - "charLength": 7, - "snippet": { - "text": "posArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 130, - "startColumn": 1, - "charOffset": 3571, - "charLength": 185, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a64a8a4ce035dfc0de0316da67579053bb45cf306e35ccbf8296efa6288f8cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'seconds' is never used", - "markdown": "Parameter 'seconds' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1599, - "startColumn": 49, - "charOffset": 54402, - "charLength": 7, - "snippet": { - "text": "seconds" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1597, - "startColumn": 1, - "charOffset": 54293, - "charLength": 167, - "snippet": { - "text": " {\n [Production(\"first : second* third COMMA[d]\")]\n public object FirstRecurse(List seconds, object third)\n {\n return third;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5bab8fd2db4ef6cbc60ec28248eb8e13727703e60d574caee5c9109947b6bd46" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardAssign' is never used", - "markdown": "Parameter 'discardAssign' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 96, - "charOffset": 4130, - "charLength": 13, - "snippet": { - "text": "discardAssign" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 3946, - "charLength": 238, - "snippet": { - "text": "\n [Production(\"statementPrim: IDENTIFIER ASSIGN WhileParserGeneric_expressions\")]\n public WhileAST assignStmt(Token variable, Token discardAssign,\n Expression value)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5bcbf84af63ed3a17d808087c75ec3e658ce44b8369c323d07d8e94ba7c7cd7f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 221, - "startColumn": 66, - "charOffset": 7328, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 219, - "startColumn": 1, - "charOffset": 7178, - "charLength": 235, - "snippet": { - "text": "\n [Operation((int) WhileToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ec8630e44d9fc7ec0a9ed5ba2c6a0e23d437e2d06be04e77a3a830eae26571b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 51, - "charOffset": 2784, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "60061d97e8293d6699581ca1c5075127dfb78f3e1fd44f0bd96901d111b27a49" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 104, - "charOffset": 1883, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1690, - "charLength": 238, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public int PreFixExpression(Token operation, int value,Dictionary context)\n {\n return -value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "601b5a87af7b9de9f4ad9bbe5791a4df1e8d9716ec1e90db4525e9ad28c90210" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'kwArgs' is never used", - "markdown": "Parameter 'kwArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 95, - "charOffset": 1411, - "charLength": 6, - "snippet": { - "text": "kwArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1239, - "charLength": 214, - "snippet": { - "text": " \n [Production(\"fun_actual_args : pos_args optional_kw_args?\")]\n public object FuncActualArgsB(object posArgs, ValueOption> kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61bc801ef5d4488c18092dc5b123d6e9d9fd94a9725b48fe8494b0927a8cd033" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'i' is never used", - "markdown": "Parameter 'i' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 47, - "charOffset": 1856, - "charLength": 1, - "snippet": { - "text": "i" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1758, - "charLength": 135, - "snippet": { - "text": " [Operand]\n [Production(\"atom : ID\")]\n public object id(Token i)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "61f7e3c1e481390da2dfd6e0408b38b6fbc4a6358d53488118a362adebff4725" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 51, - "charOffset": 2596, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2505, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62de43b892dc1d9c2e08478d95b07de1b618bafc1c6eab320c8c20b492f5f484" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tail' is never used", - "markdown": "Parameter 'tail' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 156, - "startColumn": 78, - "charOffset": 4485, - "charLength": 4, - "snippet": { - "text": "tail" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 154, - "startColumn": 1, - "charOffset": 4343, - "charLength": 183, - "snippet": { - "text": "\n [Production(\"kw_args : ( COMMA [d] kw_arg )* kw_arg \")]\n public object Kwobject(List> head, object tail )\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63c64ee3088ab3a13c1410977566b4fcf8d31cfbb8e8c55d982af0c2c4c98aa4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'j' is never used", - "markdown": "Parameter 'j' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 38, - "charOffset": 1314, - "charLength": 1, - "snippet": { - "text": "j" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1117, - "charLength": 254, - "snippet": { - "text": " [Production(\n \"ternary_expr : Issue165Parser_expressions QUESTIONMARK [d] Issue165Parser_expressions COLON [d] Issue165Parser_expressions\")]\n public object ternary(object j, object k, object l)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64247a979a3dc1f6bf8f9fe66730fd4fbdb3ec13f87efae7a2aa5e162772c277" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'left' is never used", - "markdown": "Parameter 'left' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 53, - "charOffset": 820, - "charLength": 4, - "snippet": { - "text": "left" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 616, - "charLength": 267, - "snippet": { - "text": " [Operation((int) Issue165Lexer.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation(\"DIVIDE\", Affix.InFix, Associativity.Left, 50)]\n public object BinaryFactorExpression(double left, Token operation, object right)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6569e173e5961b9cbff765c2b29fbc10ef689ca9a20da297edf57acff070dfcf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 80, - "charOffset": 2391, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "662e9f8d4dfcfefd2e656d63414b7093825c939bcf00a67cfe204412df0f4b63" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'rparen' is never used", - "markdown": "Parameter 'rparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 107, - "charOffset": 2304, - "charLength": 6, - "snippet": { - "text": "rparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 2117, - "charLength": 230, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN FormulaParser_expressions RPAREN\")]\n public Expression OperandParens(Token lparen, Expression value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "66bc9c68ef2e356218abd777647a20922fadd7659fe59608511e4380efc6692c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'l' is never used", - "markdown": "Parameter 'l' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 58, - "charOffset": 1334, - "charLength": 1, - "snippet": { - "text": "l" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1117, - "charLength": 254, - "snippet": { - "text": " [Production(\n \"ternary_expr : Issue165Parser_expressions QUESTIONMARK [d] Issue165Parser_expressions COLON [d] Issue165Parser_expressions\")]\n public object ternary(object j, object k, object l)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "671a5b0b1ce6bf6249bb407bb4204e59f1f3f360928eac4a58bc110d199a51f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 88, - "charOffset": 1913, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1735, - "charLength": 264, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.CONCAT, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryStringExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.CONCAT;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "674daa52ed630f29c2a2e11b4241e914bc770212171d6e95a3e669a6a230356f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'token' is never used", - "markdown": "Parameter 'token' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 53, - "charOffset": 1517, - "charLength": 5, - "snippet": { - "text": "token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1382, - "charLength": 189, - "snippet": { - "text": "\n [Production(\"sqbr_expr : ID LBR [d] Issue165Parser_expressions RBR [d]\")]\n public object sqrbrack(Token token, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6a6d01ed0030d55a9edd029c8af0204f39c5c7919dae00f3eaeea9967513b569" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 203, - "startColumn": 85, - "charOffset": 7133, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 201, - "startColumn": 1, - "charOffset": 6965, - "charLength": 283, - "snippet": { - "text": "\n [Operation((int) TemplateLexer.AND, Affix.InFix, Associativity.Right, 50)]\n public Expression binaryAndExpression(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, BinaryOperator.AND, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c3016628716f9624ad2cb6374a349a39f1414ab0a2a54afcc13bae70c7d5398" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 45, - "charOffset": 2230, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2143, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6c709b67bcb61a7d5b2a52c1e1481057eac6bc0f3c5cb83f1f0dfdd2bb6ca454" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 62, - "charOffset": 2793, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2678, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6e11c82e1d2860c79f5feb79e6d5a134beafb9417f1b11e98f74aefaeab1f5b7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 57, - "charOffset": 3133, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3013, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ea94df9c1bcd5442d31361ff20d41e00d47718da723239414cbaae5a81d1b70" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 38, - "charOffset": 1949, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1874, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6fd9143a45bf605e01376b5022e898ca1f78b840b213941bbb9a250dcd0c97d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 33, - "charOffset": 2722, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ffc9c0fd3614979a594b2f087e8dfcf6536d967e368a64573aa80473414dc4f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 50, - "charOffset": 2361, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70242fb9c649358e56f22ba75dc336421fe1c4f47c29afd38e45b4ae13c4705a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'dicardDo' is never used", - "markdown": "Parameter 'dicardDo' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 38, - "charOffset": 3784, - "charLength": 8, - "snippet": { - "text": "dicardDo" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 3570, - "charLength": 340, - "snippet": { - "text": " [Production(\"statementPrim: WHILE WhileParserGeneric_expressions DO statement\")]\n public WhileAST whileStmt(Token discardWhile, WhileAST cond,\n Token dicardDo, WhileAST blockStmt)\n {\n var stmt = new WhileStatement(cond as Expression, blockStmt as Statement);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "703ced6598d4110f04f687ee8db7777f511d6bda14dd363c7ed911b14104e6c6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 62, - "charOffset": 2957, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "71351cc731383d4662859cb6dd1f8a84439def70abdd989a65fc01326e97b8d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discard' is never used", - "markdown": "Parameter 'discard' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 59, - "charOffset": 4408, - "charLength": 7, - "snippet": { - "text": "discard" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 4305, - "charLength": 161, - "snippet": { - "text": "\n [Production(\"statementPrim: SKIP\")]\n public WhileAST skipStmt(Token discard)\n {\n return new SkipStatement();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "721b2059d33663d7c9c6191a9a9ab8ecd8e5ed421ae8fe2281281e32d1dad666" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 48, - "charOffset": 1963, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1878, - "charLength": 134, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(Token forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7280714c0a04c1e84c82658238250fd11b8e441bd88b9f0e84a4aca4615e7967" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is only passed to itself", - "markdown": "Parameter 'context' is only passed to itself" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/WhileAST.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 42, - "charOffset": 308, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 233, - "charLength": 177, - "snippet": { - "text": " string Dump(string tab);\n\n string Transpile(CompilerContext context);\n Emit> EmitByteCode(CompilerContext context, Emit> emiter);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7339048b6ffc547261e5bb49db45eb76546c4523643db1f959cbe6d61edff0a5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 59, - "charOffset": 3597, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3485, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "735db609c619a16ca88962c50aea3efe1ea68979e2f0db5ec94259d8d78612a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 232, - "startColumn": 77, - "charOffset": 7637, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 230, - "startColumn": 1, - "charOffset": 7481, - "charLength": 238, - "snippet": { - "text": "\n [Operation((int) WhileToken.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7390471430e6ebbb6b14b6e343f8fa469c20466687bfc1dbedcd6a75b1d6039f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'id' is never used", - "markdown": "Parameter 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 51, - "charOffset": 442, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 324, - "charLength": 202, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( args2 )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74a6e364fec48e7a501e2629b885a56fca3e4fe963f58be998670da4c34edae9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 80, - "charOffset": 2415, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2285, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "750739574c4310cabc78dcb23b5754c36c952d772fdfe1affe7f200b261b43cb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 50, - "charOffset": 2379, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2279, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "769a7cc6f981c82157660b9df8a31b9d6d70895b13b11991c8ab69de7afc26ab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 68, - "charOffset": 3921, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3800, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "77a3481e0bb9c7a536ed80af39a7f6792c663087fcb543b56b6a48b27fa3d055" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardLpar' is never used", - "markdown": "Parameter 'discardLpar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 68, - "startColumn": 56, - "charOffset": 2302, - "charLength": 11, - "snippet": { - "text": "discardLpar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 66, - "startColumn": 1, - "charOffset": 2184, - "charLength": 211, - "snippet": { - "text": "\n [Production(\"statement : LPAREN statement RPAREN \")]\n public WhileAST block(Token discardLpar, Statement statement,\n Token discardRpar)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7929fc0d722cfb50ad1cb6805fec4ff3a1b58f583c1145a9faa52f131f24b600" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'initial' is never used", - "markdown": "Parameter 'initial' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 63, - "startColumn": 40, - "charOffset": 1733, - "charLength": 7, - "snippet": { - "text": "initial" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 61, - "startColumn": 1, - "charOffset": 1621, - "charLength": 200, - "snippet": { - "text": "\n [Production(\"pos_args : arith_expr ( COMMA [d] arith_expr )*\")]\n public object Posobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "794dbca1dcd70da73f7995d8a3739db136e288a58ff76c2e746d8b078affa94e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 80, - "charOffset": 2391, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2261, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "794e8e9fd71c2d1cc4d7da926cc58b0aad421c702f9977c4846c0aa85160c577" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 60, - "charOffset": 2611, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2501, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(Token accg, JObject members, Token accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "797df4c000def76445ea0a6e94bb8a44f6ed4596dd2251b83b84f7c615ff949d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 61, - "charOffset": 3967, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3853, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "79c909b056436df9c9210540023a9d75b2f1f374a8ffda35dc60b7e059320f57" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 117, - "startColumn": 37, - "charOffset": 3246, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 115, - "startColumn": 1, - "charOffset": 3157, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7ad70d759b8f1db56c94ec80ab5a4a645eba65376276709fd2b0311f5f7bf736" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 59, - "charOffset": 3615, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3503, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7c7f03440bd174ece06a3606d0a3850791532192662024300c4c0aa4e68793da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'v' is never used", - "markdown": "Parameter 'v' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 42, - "startColumn": 32, - "charOffset": 1114, - "charLength": 1, - "snippet": { - "text": "v" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 40, - "startColumn": 1, - "charOffset": 1005, - "charLength": 146, - "snippet": { - "text": " [Production(\"arg : kw_arg\")]\n [Production(\"arg : arith_expr\")]\n public object a(object v)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7dba358ad8bb4ca5f6deceaaa0e1c76523108b49944deefac1d1ba0efc52a739" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardright' is never used", - "markdown": "Parameter 'discardright' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 79, - "startColumn": 127, - "charOffset": 2870, - "charLength": 12, - "snippet": { - "text": "discardright" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 77, - "startColumn": 1, - "charOffset": 2681, - "charLength": 252, - "snippet": { - "text": "\n [Production(\"choiceclause : LCROG choices RCROG \")]\n public IClause AlternateChoices(Token discardleft, IClause choices, Token discardright)\n { \n return choices;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e3180b1372b221bb91d5a41a9f601a7ce4b27ef332865a6a56ae2946f7f2699" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 51, - "charOffset": 2578, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7fc8feb37576064aa457e7690c0a917d7e6b0a675d7441ab227894e4e6e2638a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 78, - "charOffset": 1925, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 1770, - "charLength": 206, - "snippet": { - "text": "\n [Postfix((int) ExpressionToken.FACTORIAL, Associativity.Right, 100)]\n public double PostFixExpression(double value, Token operation)\n {\n var factorial = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8094167e44f12e458c37bea916498f910ab96d87daef1487a7ddf21d06ba10ef" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 94, - "startColumn": 58, - "charOffset": 2425, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 92, - "startColumn": 1, - "charOffset": 2325, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8162617f3606190812b9d7c46b83730acf0df7ea6e8f1370cdd96452f48fe129" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'subsequent' is never used", - "markdown": "Parameter 'subsequent' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 81, - "charOffset": 1976, - "charLength": 10, - "snippet": { - "text": "subsequent" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1832, - "charLength": 190, - "snippet": { - "text": "\n [Production(\"kw_args : kw_arg ( COMMA [d] kw_arg )*\")]\n public object Kwobject(object initial, List> subsequent)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "839de7f62b9a1947d22fef6fb7be5524539088634857ad90f3b0848c623774a5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 64, - "startColumn": 72, - "charOffset": 2105, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 62, - "startColumn": 1, - "charOffset": 1939, - "charLength": 248, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.FACTORIAL, Affix.PostFix, Associativity.Right, 100)]\n public int PostFixExpression(int value, Token operation,Dictionary context)\n {\n var factorial = 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83bf4c2d7bb575473efb900f3149f340fca341ce5be6fdd0e25232b2b79866a7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 66, - "charOffset": 4074, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 3930, - "charLength": 197, - "snippet": { - "text": " \n [Production(\"pos_args : ( arith_expr COMMA [d] )* kw_arg\")]\n public object Posobject(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83c36ba5beb5aadf2c63cb0de5cf859099e3a44ebb21af9b8af41802b13f7a72" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 17, - "startColumn": 95, - "charOffset": 486, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 15, - "startColumn": 1, - "charOffset": 324, - "charLength": 202, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( args2 )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "852a861fd2fd6b574b14e0d31faba821c72a32bace010f0ebef09278ade9b89d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 62, - "charOffset": 2769, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2654, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "856a437c9e592ca6b9c9b235b5fd274f2113166450f8c0195caff42b5110e9b1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 67, - "charOffset": 3237, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3107, - "charLength": 203, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, Token comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8722a97c0bf87f8c75bb2d66e1f07412e34556886a74aca5d88293a9c1027049" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'expression' is never used", - "markdown": "Parameter 'expression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 75, - "startColumn": 64, - "charOffset": 2155, - "charLength": 10, - "snippet": { - "text": "expression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 73, - "startColumn": 1, - "charOffset": 2033, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "89e548add2f20b20bf30225d7520eaa1442b3109b7461c845933d50e5c82d61a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tail' is never used", - "markdown": "Parameter 'tail' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 144, - "startColumn": 79, - "charOffset": 4087, - "charLength": 4, - "snippet": { - "text": "tail" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 142, - "startColumn": 1, - "charOffset": 3930, - "charLength": 197, - "snippet": { - "text": " \n [Production(\"pos_args : ( arith_expr COMMA [d] )* kw_arg\")]\n public object Posobject(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8aa29267edff7aef9737e2dfcc4cbc11c566bf6067d25343466aea8b78a46d5e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'configuration' is never used", - "markdown": "Parameter 'configuration' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 46, - "startColumn": 99, - "charOffset": 1605, - "charLength": 13, - "snippet": { - "text": "configuration" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 44, - "startColumn": 1, - "charOffset": 1496, - "charLength": 186, - "snippet": { - "text": " }\n\n public static List GetLeftClausesName(Rule rule, ParserConfiguration configuration)\n {\n List lefts = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ce9cb136b934214c1cdabfd54487c76e0f370e325a10ca08bcd3c0f5924aea3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 40, - "charOffset": 1785, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1708, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8d4a5d4d9efc369af27fc98fec72b681e36d54b92203bb19286ba1efd9a73d82" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 68, - "charOffset": 3903, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3782, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e0a32ee79cc0e35b014e9877ea13fbcf23a51bfada58cf2cf5cb4fba573cd50" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 58, - "charOffset": 2201, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f7104e88a95b23299a7016c0a84b5fb8641030e26f016932bd9f32a56322425" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 50, - "charOffset": 2585, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2485, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "91a74b663b7ee9a1732043e15bd849f1bc020418777f8c581aa372ce4f0b4018" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discard' is never used", - "markdown": "Parameter 'discard' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 125, - "startColumn": 59, - "charOffset": 4612, - "charLength": 7, - "snippet": { - "text": "discard" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 123, - "startColumn": 1, - "charOffset": 4477, - "charLength": 239, - "snippet": { - "text": "\n [Production(\"statementPrim: PRINT WhileParserGeneric_expressions\")]\n public WhileAST skipStmt(Token discard, WhileAST expression)\n {\n return new PrintStatement(expression as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "922807cd88ac5a73f23cf9c5987bb1ef080130ffa73903f6198a1c18ea548919" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 257, - "startColumn": 77, - "charOffset": 8886, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 255, - "startColumn": 1, - "charOffset": 8712, - "charLength": 263, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "969331675c7d54f0fd24a8a51583e686c61e80cc49959d0eecfbf2a793339dcb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 71, - "charOffset": 2858, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2747, - "charLength": 158, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(Token crog, Token crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96de5fcc21f29026eef22f1e0e2921ac325eaaec985c7658317f9c64b8a0a5e5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 57, - "charOffset": 3133, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3013, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9a5b9c8ddb2874ccd04876ae2bfa2e8cb9cfcc039c21efbd37dbb80b3b2d555a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 33, - "charOffset": 2722, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b40b7d42fa1f9ce7844bac40d8d96a9dff6e0386f606a2104fe2b3ccc82f4d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'stringDelimiterChar' is never used", - "markdown": "Parameter 'stringDelimiterChar' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 737, - "startColumn": 90, - "charOffset": 26716, - "charLength": 19, - "snippet": { - "text": "stringDelimiterChar" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 735, - "startColumn": 1, - "charOffset": 26616, - "charLength": 176, - "snippet": { - "text": " }\n\n public ReadOnlyMemory sameCharEscaper(char escapeStringDelimiterChar, char stringDelimiterChar,\n ReadOnlyMemory stringValue)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b5d9438c161c36a1e3e4a82a98b1a41798ddd4af34b531d674fd98706af5050" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 126, - "startColumn": 54, - "charOffset": 3156, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 124, - "startColumn": 1, - "charOffset": 3049, - "charLength": 170, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9bbd84d322bef4399301deeac9b453b46d1b09065a5ebe8a8965619f4b09a895" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 95, - "charOffset": 2818, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2646, - "charLength": 212, - "snippet": { - "text": "\n [Production(\"fun_call : ID LPAR [d] ( fun_actual_args )? RPAR [d]\")]\n public object FuncCall(Token id, ValueOption> args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9d5242dda0c2391e1056bfb02eb9952e186e89b3fa8b225985bc9cc3c50bad07" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discard' is never used", - "markdown": "Parameter 'discard' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 102, - "charOffset": 2088, - "charLength": 7, - "snippet": { - "text": "discard" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1933, - "charLength": 241, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER DISCARD \")]\n public IClause SimpleDiscardedClause(Token id, Token discard)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9e6b01c5ec798138380f6a7ee060380fb4c4c99ecd3e9d33b1a51ec2b42eb5ea" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 60, - "charOffset": 1839, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1690, - "charLength": 238, - "snippet": { - "text": "\n [Operation((int) ExpressionToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public int PreFixExpression(Token operation, int value,Dictionary context)\n {\n return -value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ece279939eee05fb8f71fb2ce002be9d0ac6e551ef5345fe475c4cd66d1de28" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 45, - "charOffset": 2212, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9feff981a4ae9c691772c219ad1d454697a40f8606d2f092da8404003cc328a9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 129, - "charOffset": 3293, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3064, - "charLength": 273, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParserWithContext_expressions RPAREN\")]\n public int OperandParens(Token lparen, int value, Token rparen,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a00162a6914b8b598b8e36d5d37f6967b8ce6f09294003b887250a32cd38803b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 226, - "startColumn": 81, - "charOffset": 7742, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 224, - "startColumn": 1, - "charOffset": 7562, - "charLength": 265, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST unaryNumericExpression(Token operation, WhileAST value)\n {\n return new Neg(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a05ef434944256422fa6aeed8107ea028358920803a205b0a376ef67768c1489" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 61, - "charOffset": 3186, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3072, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a224c8f17566d0f490b5351ca5f041278d7672654591471e838e26b8cae88139" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 51, - "charOffset": 2602, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3382af64fa4f4a4792f603332cf8e844da5bed1dbc3742cd9fa7cb68496c1de" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 56, - "charOffset": 3708, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3592, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a443704169d2012a91b1b4f6e23c2ebe509b31bb9e43fd0412d89258b8a0843c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 94, - "charOffset": 1482, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1334, - "charLength": 235, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER ONEORMORE\")]\n public IClause OneMoreClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5872764f42b0d1cccb0527c5212393cd1037d9e9cc77d21cc1c9b036a1d01e7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 33, - "charOffset": 2946, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2860, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5fa95d0d69dd84dd0feab0b4360eb808fa02718307615120c6809dd36195846" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'right' is never used", - "markdown": "Parameter 'right' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 96, - "charOffset": 562, - "charLength": 5, - "snippet": { - "text": "right" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 317, - "charLength": 286, - "snippet": { - "text": " [Operation((int) Issue165Lexer.PLUS, Affix.InFix, Associativity.Right, 10)]\n [Operation(\"MINUS\", Affix.InFix, Associativity.Left, 10)]\n public object BinaryTermExpression(object left, Token operation, object right)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a7b007d0714c60121050022b6887ee573fb95b02ebfda5954e3ceb006de1a48e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 80, - "charOffset": 2409, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2279, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a8b3455263c715a24d8f48f7c48c6d32ca4373dbfffbdf6d120a698d6fb6db36" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'lparen' is never used", - "markdown": "Parameter 'lparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 60, - "charOffset": 2747, - "charLength": 6, - "snippet": { - "text": "lparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 2598, - "charLength": 237, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParser_expressions RPAREN\")]\n public double OperandParens(Token lparen, double value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa11c99038063d2ff1b70e9c9c243d0bf86166d75e4f7b3a65394a191fd21605" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 58, - "charOffset": 2243, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2143, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aa951c68ace2c5b29443cec0e3f5351cf0524e1b7e90333a7495c4144502c865" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 62, - "charOffset": 2751, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2636, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aae42349916038603cbcb9d4e900807020796349cb34e654ffc84c367ec090ee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 123, - "startColumn": 57, - "charOffset": 3151, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 121, - "startColumn": 1, - "charOffset": 3031, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"listElements: value COMMA listElements\")]\n public JSon ListElementsMany(JSon value, object comma, JList tail)\n {\n var elements = new JList(value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac327eaa0d04a847975ebae9f0b519959bf7cc4395bf147962ff6ba93faedbac" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 38, - "charOffset": 2565, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ac8f73a8d7fe3bcf0d3199943010ede280146d93fd6c1acb3633f136e1d298e3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 62, - "charOffset": 2975, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2860, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ad1e3db4dae4aa712c32987c0f3c9b84f222c2d8498ad6ddc9926787e34037eb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'lparen' is never used", - "markdown": "Parameter 'lparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 61, - "startColumn": 61, - "charOffset": 2258, - "charLength": 6, - "snippet": { - "text": "lparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 59, - "startColumn": 1, - "charOffset": 2117, - "charLength": 230, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN FormulaParser_expressions RPAREN\")]\n public Expression OperandParens(Token lparen, Expression value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "adca91a4a27bb2c520473fa034bf7482dad99746492a661cc85d87394b264778" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 38, - "charOffset": 2789, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2711, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "aeb1928430d3962cca16c37e066059d2e8230619ab394fe79d4849552159ad50" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'v' is never used", - "markdown": "Parameter 'v' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 32, - "charOffset": 3446, - "charLength": 1, - "snippet": { - "text": "v" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3337, - "charLength": 146, - "snippet": { - "text": " [Production(\"arg : kw_arg\")]\n [Production(\"arg : arith_expr\")]\n public object a(object v)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af3ff7d518025bfa4b9c1d79436644c417c034e7501effeefd967c72a5075e12" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 50, - "charOffset": 2403, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 2303, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "afc84ba9e0532dd93d08f9511df9395ce74f2d4dd582b906b59fdeb8efc7be49" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 242, - "startColumn": 78, - "charOffset": 8016, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 240, - "startColumn": 1, - "charOffset": 7858, - "charLength": 241, - "snippet": { - "text": "\n [Operation((int) WhileToken.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "afe9afcaca7d12fb8185acdcccd2c87e74d9dabbe0a14f8cf80dbd9f1ce92118" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 83, - "charOffset": 3000, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2873, - "charLength": 180, - "snippet": { - "text": "\n [Production(\"primary_value : INT\")]\n public int OperandInt(Token value,Dictionary context)\n {\n return value.IntValue;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b08607c3eb5566c2adaaf52656a358476fc38162a5e55bb8734d3be01cdc1f1f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 85, - "charOffset": 8496, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 8324, - "charLength": 255, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b0d7715f66f097736a644c37ce6b1d0075521dfe887053f31c3e5fa8c9d71aee" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 62, - "charOffset": 2775, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b18017cde8ba136092ea8d2dcd2f39fe8929d73f7096d61ee162fa21c4c338b0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardOneOrMore' is never used", - "markdown": "Parameter 'discardOneOrMore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 93, - "charOffset": 5504, - "charLength": 16, - "snippet": { - "text": "discardOneOrMore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 5346, - "charLength": 238, - "snippet": { - "text": " \n [Production(\"clause : choiceclause ONEORMORE \")]\n public IClause ChoiceOneOrMore(ChoiceClause choices,Token discardOneOrMore)\n {\n return new OneOrMoreClause(choices);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b1d5b34f1d043387f16d935bbc2ef0f213f145491250da0e5d26b06214f5e843" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 33, - "charOffset": 2928, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b2cc871c5fe30acbdbf043cfc216434f98eba78da777fc1c606e9a7690d18427" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 80, - "charOffset": 2597, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b63fe470cf70a0a739b705ac6e70d9a3c274a260acb8e5e1a5ab7480bbe6a568" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/IndentedWhile/parser/IndentedWhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 247, - "startColumn": 93, - "charOffset": 8490, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 245, - "startColumn": 1, - "charOffset": 8302, - "charLength": 271, - "snippet": { - "text": "\n [Operation((int) IndentedWhileTokenGeneric.AND, Affix.InFix, Associativity.Right, 50)]\n public WhileAST binaryAndExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.AND;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "indentedWhile", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b878e87c050806d0ce08324cb004b2470df7da0e93bcef4ce92e3cd8ca73235f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tail' is never used", - "markdown": "Parameter 'tail' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 150, - "startColumn": 80, - "charOffset": 4292, - "charLength": 4, - "snippet": { - "text": "tail" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 148, - "startColumn": 1, - "charOffset": 4138, - "charLength": 194, - "snippet": { - "text": "\n [Production(\"pos_args : ( arith_expr COMMA [d] )* arith_expr\")]\n public object Posobject2(List> head, object tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b9401489694eb30cc2450c29694c5b4369d569489b5f219f3fe4b1efeb11a7c8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tok' is never used", - "markdown": "Parameter 'tok' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 48, - "charOffset": 5069, - "charLength": 3, - "snippet": { - "text": "tok" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 4940, - "charLength": 168, - "snippet": { - "text": " [Production(\"arith_expr: ID\")]\n [Production(\"arith_expr: STRING\")]\n public object arith(Token tok)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b95c6fc2fdce39f737224847c13b392c0f6f29f06efee4f19329302f32e3343e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 45, - "charOffset": 2188, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2101, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ba6dbb7f0c03c07050f6d89eccbcf3a451d3850a6aa16a095c49fbde18007172" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 37, - "startColumn": 95, - "charOffset": 1172, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 35, - "startColumn": 1, - "charOffset": 1022, - "charLength": 243, - "snippet": { - "text": "\n [Production(\"clause : IDENTIFIER ZEROORMORE\")]\n public IClause ZeroMoreClause(Token id, Token discarded)\n {\n var innerClause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "baa5d9bba487e0267082370122ef2127813841f8d7b4d509177ba149095e863b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 103, - "charOffset": 2369, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 2212, - "charLength": 217, - "snippet": { - "text": "\n [Production(\"clause : choiceclause DISCARD\")]\n public IClause AlternateDiscardedClause(ChoiceClause choices, Token discarded)\n {\n choices.IsDiscarded = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc7ad65649b5fbbf6b2a1517fb368bb50a16bf09cffd0c46ea72a2a26a23d772" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'o' is never used", - "markdown": "Parameter 'o' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 56, - "startColumn": 40, - "charOffset": 1564, - "charLength": 1, - "snippet": { - "text": "o" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 54, - "startColumn": 1, - "charOffset": 1464, - "charLength": 137, - "snippet": { - "text": "\n [Production(\"optional_kw_args : COMMA[d] kw_args\")]\n public object optionals(object o)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bdcaab5642f4d7e74274c03d1f8e8cc3866c6827485ac700285ebdd1fb76108f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 29, - "startColumn": 39, - "charOffset": 774, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 27, - "startColumn": 1, - "charOffset": 686, - "charLength": 128, - "snippet": { - "text": "\n [Production(\"fun_actual_args2 : args2\")]\n public object actargs2(object args)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bdf51f09711593ee26c13db50a903b165f79067f1c34677fffab3c67baaaa6af" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 54, - "charOffset": 3812, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3701, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bed6743908a221361b38b793caf185d6cf11f5b88c6271f95d4c8f00609bfd18" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 61, - "charOffset": 3168, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3054, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bf2e29ccf1f2bc553241521d3f05d50d9da8c98e669b18d650e08d2f40a37292" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardRight' is never used", - "markdown": "Parameter 'discardRight' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 163, - "startColumn": 37, - "charOffset": 6293, - "charLength": 12, - "snippet": { - "text": "discardRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 161, - "startColumn": 1, - "charOffset": 6081, - "charLength": 327, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN ONEORMORE \")]\n public IClause GroupOneOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token oneZeroOrMore)\n {\n return new OneOrMoreClause(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c07af07c59291b2aaf59f888082df15b40d05fd375a9f4609dd0f52bb40a2c25" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 109, - "startColumn": 33, - "charOffset": 2740, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 107, - "startColumn": 1, - "charOffset": 2654, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c10052444b9e2b02209817c6bdae592f3b1343fca281310988c26a2a9b22cac4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 103, - "startColumn": 51, - "charOffset": 2578, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 101, - "startColumn": 1, - "charOffset": 2487, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c23642b146646a23e59a81c21e33bbfaef40ebd6d6f23aeab23dcf0da415e384" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'statement' is never used", - "markdown": "Parameter 'statement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 44, - "charOffset": 268, - "charLength": 9, - "snippet": { - "text": "statement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 161, - "charLength": 152, - "snippet": { - "text": " {\n [Production(\"test : LBEG [d] fun_call LEND [d]\")]\n public object TestStatement(object statement)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c25f96041f17c4a14adecdcdc019b166bfcfd4adc47245623982e7d2b811f1b4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 51, - "charOffset": 2620, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2529, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3d07c43e451fb91a040605ff01a7a67ccfe82ac80ac16977a1cf3678a581eb4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardLeft' is never used", - "markdown": "Parameter 'discardLeft' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 176, - "startColumn": 66, - "charOffset": 6900, - "charLength": 11, - "snippet": { - "text": "discardLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 174, - "startColumn": 1, - "charOffset": 6765, - "charLength": 262, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN OPTION \")]\n public IClause GroupOptional(Token discardLeft, GroupClause group,\n Token discardRight, Token option)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c4bd7e5b2740657cce3f298f7e7c390a9bb1392b23d5b02f8c5f9330fe608177" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 214, - "startColumn": 105, - "charOffset": 8259, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 212, - "startColumn": 1, - "charOffset": 8096, - "charLength": 251, - "snippet": { - "text": "\n [Production(\"groupclause : IDENTIFIER DISCARD \")]\n public GroupClause GroupClauseDiscarded(Token id, Token discarded)\n {\n var clause = BuildTerminalOrNonTerimal(id.Value, true);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c55d6ddd159d10cd5b7a2111c9a5f38bbb2c6fd2e03768fa4ebade28965b1566" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'id' is never used", - "markdown": "Parameter 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 53, - "charOffset": 4831, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 4720, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c6949dde19efe9b849224c5649043d107a9708b6b73a118905a5502534def9f6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 50, - "charOffset": 2567, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c70529afac81dbd718441f60d4a8d0d3ff4c0c1a0d2e5f61228f6dbf2555e1cf" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 151, - "startColumn": 61, - "charOffset": 3967, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 149, - "startColumn": 1, - "charOffset": 3853, - "charLength": 206, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c74b3cfa1eaddcf85baee07e31f17228f6f16aed599d9292f115e039df8eabdb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 33, - "charOffset": 2764, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2678, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c75718088e563a1e1a83a7b6719feb409c70005cd63542421e2da84d4519e6d0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 335, - "startColumn": 83, - "charOffset": 11037, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 333, - "startColumn": 1, - "charOffset": 10944, - "charLength": 165, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(StringConstant stringConst, InterpreterContext context)\n {\n return new TypedValue(stringConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7a33f83801d6851578f47d6c7abd5cfd31d32e4248c6e38bae11fd29c5e3b68" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'ignore' is never used", - "markdown": "Parameter 'ignore' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/VariableExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 22, - "startColumn": 111, - "charOffset": 705, - "charLength": 6, - "snippet": { - "text": "ignore" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 20, - "startColumn": 1, - "charOffset": 536, - "charLength": 228, - "snippet": { - "text": "\n [Production(\"primary: LPAREN expression RPAREN\")]\n public Expression Group( Token forget, Expression groupValue, Token ignore)\n {\n return new Group(groupValue);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7f4228c9ebf0985c6f7fea195e41f8df53975294d9078c5526f8c6f89c57929" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardLeft' is never used", - "markdown": "Parameter 'discardLeft' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 136, - "startColumn": 62, - "charOffset": 5210, - "charLength": 11, - "snippet": { - "text": "discardLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 134, - "startColumn": 1, - "charOffset": 5086, - "charLength": 221, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN \")]\n public GroupClause Group(Token discardLeft, GroupClause clauses,\n Token discardRight)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c95643f8d700f7966d3a6969fd53146886268595462a03e4886604f5d02cb362" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 38, - "charOffset": 2589, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca5afa0bd0d7bc99e078496ab55fb97ed38e0ca270d2c6ce966e96206b46a2df" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 100, - "charOffset": 2651, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2501, - "charLength": 193, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(Token accg, JObject members, Token accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca7cc22d5a6a99cfbb1e826df5f05f9bb4d05695f0a1e8cacb584ba214d7d9a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 58, - "charOffset": 2225, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cab919407dec0151eea6faa8731cbfdc61e2fba1173bc0ede3474d7e421e2854" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 38, - "charOffset": 2771, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb06113b0e1185e114ed139f9f556254c512a748153115e7fdf3118a77de9428" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardedComma' is never used", - "markdown": "Parameter 'discardedComma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 124, - "startColumn": 61, - "charOffset": 3168, - "charLength": 14, - "snippet": { - "text": "discardedComma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 122, - "startColumn": 1, - "charOffset": 3054, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalValue: COMMA value\")]\n public JSon ListElementsOne(Token discardedComma, JSon value)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cc25f8d7e3c3d3d6997f3f6f9ee454a33d2687a625d429306bcec44703bd047e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardRight' is never used", - "markdown": "Parameter 'discardRight' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 137, - "startColumn": 37, - "charOffset": 5284, - "charLength": 12, - "snippet": { - "text": "discardRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 135, - "startColumn": 1, - "charOffset": 5087, - "charLength": 248, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN \")]\n public GroupClause Group(Token discardLeft, GroupClause clauses,\n Token discardRight)\n {\n return clauses;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccb39e6b834d6a4439dcc21154cc39b6fba94ff7dc91986c31ded58e5acb871b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 40, - "charOffset": 1743, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1666, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccd835ab705dd71b0762e7a3a3f776cfe844844cd173e545a4048f3ad560dd07" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardOr' is never used", - "markdown": "Parameter 'discardOr' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 94, - "charOffset": 3649, - "charLength": 9, - "snippet": { - "text": "discardOr" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3490, - "charLength": 271, - "snippet": { - "text": " \n [Production(\"choices : IDENTIFIER OR choices \")]\n public IClause ChoicesMany(Token head, Token discardOr, ChoiceClause tail)\n {\n var headClause = BuildTerminalOrNonTerimal(head.Value); " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ccfbb0454b04433cdbf01af934f596e9a16b08174f81fe0e49267d20f7f38b37" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 72, - "startColumn": 38, - "charOffset": 1949, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 70, - "startColumn": 1, - "charOffset": 1874, - "charLength": 124, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public JSon NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd9ae228df4bcba3cde468673ba5775d5dc139e99e9147ffa8346f2bebe49926" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardRight' is never used", - "markdown": "Parameter 'discardRight' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 177, - "startColumn": 37, - "charOffset": 6972, - "charLength": 12, - "snippet": { - "text": "discardRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 175, - "startColumn": 1, - "charOffset": 6766, - "charLength": 309, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN OPTION \")]\n public IClause GroupOptional(Token discardLeft, GroupClause group,\n Token discardRight, Token option)\n {\n return new OptionClause(group);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cdfe1d05e60ed7ccb93cdb238cde4f69b7880194f8769b44a14a32860a0a8187" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'isLineEnding' is never used", - "markdown": "Parameter 'isLineEnding' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 984, - "startColumn": 18, - "charOffset": 37534, - "charLength": 12, - "snippet": { - "text": "isLineEnding" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 982, - "startColumn": 1, - "charOffset": 37420, - "charLength": 204, - "snippet": { - "text": "\n public void AddUpTo(IN token, BuildResult> buildResult, string[] exceptions,\n bool isLineEnding = false)\n {\n NodeCallback callback = match =>" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce189c6a68bf90b71ef6aae01d533b4961214a691f106c2c060886d1143390ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 116, - "startColumn": 62, - "charOffset": 2957, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 114, - "startColumn": 1, - "charOffset": 2842, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce5b1370f4dc211225755a36cc11780e25c2f64a75a55097e4dfaad2f7f99ac8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 56, - "charOffset": 3708, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3592, - "charLength": 179, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4c8db30e0b2608b88ef4d6681c7cc23bf0a55e3e4ec05ee6a9176cb4a953f41" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardIf' is never used", - "markdown": "Parameter 'discardIf' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 95, - "startColumn": 57, - "charOffset": 3280, - "charLength": 9, - "snippet": { - "text": "discardIf" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 93, - "startColumn": 1, - "charOffset": 3120, - "charLength": 320, - "snippet": { - "text": "\n [Production(\"statementPrim: IF WhileParserGeneric_expressions THEN statement ELSE statement\")]\n public WhileAST ifStmt(Token discardIf, WhileAST cond, Token dicardThen,\n WhileAST thenStmt, Token dicardElse, Statement elseStmt)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d605b6bd6a9bc21ae3d9bbb13b58ba6d476ef47970057768f4f25b09bc46ad37" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'id' is never used", - "markdown": "Parameter 'id' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 51, - "charOffset": 228, - "charLength": 2, - "snippet": { - "text": "id" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 110, - "charLength": 169, - "snippet": { - "text": " \n [Production(\"test_stmt : ID EQ [d] arith_expr \")]\n public object assign(Token id, object expr)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d63e110c9a46bb8296363d3c63b82eb1d54b2c1f29793076daf8b572605a7722" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 51, - "charOffset": 2784, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2693, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d6ca003d609acfe9a6a2cecc036d145d15c07d4e073233fdfbf50e3d1773d389" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discard' is never used", - "markdown": "Parameter 'discard' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 127, - "startColumn": 120, - "charOffset": 4905, - "charLength": 7, - "snippet": { - "text": "discard" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 125, - "startColumn": 1, - "charOffset": 4729, - "charLength": 320, - "snippet": { - "text": " \n [Production(\"clause : STRING DISCARD\")]\n public IClause ExplicitTokenClauseDiscarded(Token explicitToken, Token discard) {\n var clause = BuildTerminalOrNonTerimal(explicitToken.Value,discard:true, explicitToken :true);\n return clause;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d818e54fcd51dfcae3167f913dbd6d226f3a85ff4a8151ad3361e591ee48be6d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 100, - "startColumn": 80, - "charOffset": 2597, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 98, - "startColumn": 1, - "charOffset": 2467, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"object: ACCG members ACCD\")]\n public JSon AttributesObjectValue(object accg, JObject members, object accd)\n {\n return members;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d81ffd5d28f73113a1e197620daa0a937c655610d9be550d3baba42741aa4983" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 69, - "charOffset": 3711, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3589, - "charLength": 214, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, Token colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8bdb130cf2ec1c8b20bd8e02b3e610bd908ae782ea32d8b9c5df50149b4b3b4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 48, - "charOffset": 2835, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2747, - "charLength": 158, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(Token crog, Token crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d92766b1d5314eda6ae8c95eca80f595cda1233253591fca3409fffd32fc80e9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'right' is never used", - "markdown": "Parameter 'right' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 27, - "startColumn": 98, - "charOffset": 865, - "charLength": 5, - "snippet": { - "text": "right" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 25, - "startColumn": 1, - "charOffset": 616, - "charLength": 267, - "snippet": { - "text": " [Operation((int) Issue165Lexer.TIMES, Affix.InFix, Associativity.Right, 50)]\n [Operation(\"DIVIDE\", Affix.InFix, Associativity.Left, 50)]\n public object BinaryFactorExpression(double left, Token operation, object right)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d993a8761ce04ae2ebfb81cd8a996323a400c26238125e056401b341f583b17f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 51, - "charOffset": 2602, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2511, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d9a4e2dd6e94aa19f88b4b9bf4794f5b94a444e2d462b7a141a8bfa7ac38b26a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'kwArgs' is never used", - "markdown": "Parameter 'kwArgs' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 23, - "startColumn": 46, - "charOffset": 633, - "charLength": 6, - "snippet": { - "text": "kwArgs" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 21, - "startColumn": 1, - "charOffset": 537, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"fun_actual_args : kw_args\")]\n public object FuncActualArgsA(object kwArgs)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da135a633eb8acf50d1584261cb64fb7874c0a9f5c75ff31b0623d4919674fc7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operation' is never used", - "markdown": "Parameter 'operation' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 28, - "startColumn": 64, - "charOffset": 1113, - "charLength": 9, - "snippet": { - "text": "operation" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 26, - "startColumn": 1, - "charOffset": 963, - "charLength": 253, - "snippet": { - "text": "\n [Operation((int) FormulaToken.MINUS, Affix.PreFix, Associativity.Right, 100)]\n public Expression PreFixExpression(Token operation, Expression value)\n {\n return new UnaryOperation(FormulaToken.MINUS,value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc1865121ab35a04dbe79ec0ad6e0702d2fe8cb35d7dd294cece23dc0e8b3fe5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardLeft' is never used", - "markdown": "Parameter 'discardLeft' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 162, - "startColumn": 67, - "charOffset": 6219, - "charLength": 11, - "snippet": { - "text": "discardLeft" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 160, - "startColumn": 1, - "charOffset": 6080, - "charLength": 275, - "snippet": { - "text": "\n [Production(\"clause : LPAREN groupclauses RPAREN ONEORMORE \")]\n public IClause GroupOneOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token oneZeroOrMore)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dc3a685fb34063fb1ec0e8599a8030d9d5c3be785cbf5264358607c6df52542e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'rparen' is never used", - "markdown": "Parameter 'rparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 105, - "charOffset": 2792, - "charLength": 6, - "snippet": { - "text": "rparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 2598, - "charLength": 237, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParser_expressions RPAREN\")]\n public double OperandParens(Token lparen, double value, Token rparen)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dcfc46acb08b1fd0b5b0be712a5192d040978a0ea5975f61a602129bb1511f8f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 111, - "startColumn": 62, - "charOffset": 2775, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 109, - "startColumn": 1, - "charOffset": 2660, - "charLength": 159, - "snippet": { - "text": "\n [Production(\"list: CROG listElements CROD\")]\n public JSon List(object crog, JList elements, object crod)\n {\n return elements;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "deccf9c05c80b6c4e1d294571169929d2b55bc293260d1b5667b5599b3d9f9bc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'statement' is never used", - "markdown": "Parameter 'statement' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 44, - "charOffset": 2590, - "charLength": 9, - "snippet": { - "text": "statement" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 2483, - "charLength": 152, - "snippet": { - "text": " {\n [Production(\"test : LBEG [d] fun_call LEND [d]\")]\n public object TestStatement(object statement)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e24f67dfa668ffba4c40f08c9f346760b1c2e8294d322eb4ca90a93f382798f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 50, - "charOffset": 3691, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3581, - "charLength": 173, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public JObject property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e2811a4401e368fb411eb818b028f918099a5487b900c26831e36543e7493d03" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crod' is never used", - "markdown": "Parameter 'crod' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 110, - "startColumn": 51, - "charOffset": 2802, - "charLength": 4, - "snippet": { - "text": "crod" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 108, - "startColumn": 1, - "charOffset": 2711, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e31475f78a6ebfe5354b86be1318e3351e8130b1e28c587fc0086525fb66b6ba" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discardRight' is never used", - "markdown": "Parameter 'discardRight' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 170, - "startColumn": 37, - "charOffset": 6634, - "charLength": 12, - "snippet": { - "text": "discardRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 168, - "startColumn": 1, - "charOffset": 6420, - "charLength": 334, - "snippet": { - "text": " [Production(\"clause : LPAREN groupclauses RPAREN ZEROORMORE \")]\n public IClause GroupZeroOrMore(Token discardLeft, GroupClause clauses,\n Token discardRight, Token discardZeroOrMore)\n {\n return new ZeroOrMoreClause(clauses);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4059fe45853cf1f906656389ee687fa6cc3c4dc46451d83ce0bb7e6cc128f98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'third' is never used", - "markdown": "Parameter 'third' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1605, - "startColumn": 75, - "charOffset": 54610, - "charLength": 5, - "snippet": { - "text": "third" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1603, - "startColumn": 1, - "charOffset": 54472, - "charLength": 179, - "snippet": { - "text": " \n [Production(\"first : second? third COMMA[d]\")]\n public object FirstRecurse2(ValueOption optSecond, object third)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4c9dadb82d3fb9415a5f8eb2efbd776d0c147bfdcfa8e3b0c551b62b7bac5da" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 67, - "startColumn": 40, - "charOffset": 1767, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 65, - "startColumn": 1, - "charOffset": 1690, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e50576207f83b2f18e074af18c7835046d940e5c9078cfa7aea153de592c1a98" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 54, - "charOffset": 3812, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3701, - "charLength": 182, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, object comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e63b87bfe40d550ab19c6a4bca584e48da45158b030e20bf535965d79af503c5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accg' is never used", - "markdown": "Parameter 'accg' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 87, - "startColumn": 45, - "charOffset": 2206, - "charLength": 4, - "snippet": { - "text": "accg" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 85, - "startColumn": 1, - "charOffset": 2119, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ea90c37244f330229f473c70adaa4a03af896368ab37d7cc355049d299ec714e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'discarded' is never used", - "markdown": "Parameter 'discarded' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 91, - "charOffset": 331, - "charLength": 9, - "snippet": { - "text": "discarded" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 184, - "charLength": 234, - "snippet": { - "text": "\n [Production(\"rule : IDENTIFIER COLON clauses\")]\n public GrammarNode Root(Token name, Token discarded, ClauseSequence clauses)\n {\n var rule = new Rule();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eb61d5add6f2cfdd8f8cb4530c2b29ee1f20c9bd03dd276218035b8d58862c7a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 233, - "startColumn": 84, - "charOffset": 8103, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 231, - "startColumn": 1, - "charOffset": 7933, - "charLength": 252, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.OR, Affix.InFix, Associativity.Right, 10)]\n public WhileAST binaryOrExpression(WhileAST left, Token operatorToken, WhileAST right)\n {\n var oper = BinaryOperator.OR;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec37ae19d90027e6889dcb47a70467cab2c11fa1a313e59c64c4121e02889878" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 253, - "startColumn": 69, - "charOffset": 8876, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 251, - "startColumn": 1, - "charOffset": 8718, - "charLength": 247, - "snippet": { - "text": "\n [Operation((int) WhileTokenGeneric.NOT, Affix.PreFix, Associativity.Right, 100)]\n public WhileAST binaryOrExpression(Token operatorToken, WhileAST value)\n {\n return new Not(value as Expression);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "eca1ac521491cdd6b6af172051e6501a1e6eb2649ff77ab8e591c8121dfe0075" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'context' is never used", - "markdown": "Parameter 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 330, - "startColumn": 79, - "charOffset": 10873, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 328, - "startColumn": 1, - "charOffset": 10784, - "charLength": 159, - "snippet": { - "text": " }\n\n public TypedValue Evaluate(BoolConstant boolConst, InterpreterContext context)\n {\n return new TypedValue(boolConst.Value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee21d16d92207d76c8f657c9a59e736d0764c99f3ded87258ae97a02542bb7d2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'accd' is never used", - "markdown": "Parameter 'accd' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 89, - "startColumn": 58, - "charOffset": 2225, - "charLength": 4, - "snippet": { - "text": "accd" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 87, - "startColumn": 1, - "charOffset": 2125, - "charLength": 149, - "snippet": { - "text": "\n [Production(\"object: ACCG ACCD\")]\n public JSon EmptyObjectValue(object accg, object accd)\n {\n return new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee94e65c7041c62af4382bdaede454f8aa31062b6ff241c56275b5c2b30cf415" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 49, - "charOffset": 3797, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3688, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f13ea6a849c653fb0b49d19dfa65261f89fce58faf79b3cd74cecdf69b365013" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'tail' is never used", - "markdown": "Parameter 'tail' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 76, - "charOffset": 953, - "charLength": 4, - "snippet": { - "text": "tail" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 825, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f17a29ebaa534d419e9a2e33695bc72b7a170816c8149bb313cad6224a279d9c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 54, - "charOffset": 3614, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 3500, - "charLength": 177, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public JSon property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f2a5f59e3ba4b49b43d6c180ea6280ecf0982c2e134ea19d27b6c8731b2f1590" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 141, - "startColumn": 59, - "charOffset": 3597, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 139, - "startColumn": 1, - "charOffset": 3485, - "charLength": 204, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public JSon property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f631c4552c430441c5c49625b59cd86c57559de7c18f26d53d591816d6922e6c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 49, - "charOffset": 3779, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 3670, - "charLength": 172, - "snippet": { - "text": "\n [Production(\"additionalProperty : COMMA property\")]\n public object property(Token comma, JObject property)\n {\n return property;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6545f1a6d6178ce9c021a842920ce44bf53da6d26a660ca8e62e21c3b5e28dc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'colon' is never used", - "markdown": "Parameter 'colon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 149, - "startColumn": 68, - "charOffset": 3903, - "charLength": 5, - "snippet": { - "text": "colon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 147, - "startColumn": 1, - "charOffset": 3782, - "charLength": 213, - "snippet": { - "text": "\n [Production(\"property: STRING COLON value\")]\n public object property(Token key, object colon, JSon value)\n {\n return new JObject(key.StringWithoutQuotes, value);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f662ebf8d3a08f362082f99539b4a5aa92d08cbd3b44ae8cc8e3faa8d0e3f70d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'forget' is never used", - "markdown": "Parameter 'forget' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EbnfJsonGenericParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 65, - "startColumn": 40, - "charOffset": 1743, - "charLength": 6, - "snippet": { - "text": "forget" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 63, - "startColumn": 1, - "charOffset": 1666, - "charLength": 126, - "snippet": { - "text": "\n [Production(\"value : NULL\")]\n public object NullValue(object forget)\n {\n return new JNull();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f6e833ce2c26a9ef0e93a1520269b01fe5206fa34de4da6bc62e44b4975c6678" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'crog' is never used", - "markdown": "Parameter 'crog' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 105, - "startColumn": 38, - "charOffset": 2607, - "charLength": 4, - "snippet": { - "text": "crog" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 103, - "startColumn": 1, - "charOffset": 2529, - "charLength": 138, - "snippet": { - "text": "\n [Production(\"list: CROG CROD\")]\n public JSon EmptyList(object crog, object crod)\n {\n return new JList();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f85854c2eef90f3828f1147ebc0c8546f972ad84c80ab0681a9d557b4e937dcc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'lparen' is never used", - "markdown": "Parameter 'lparen' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleExpressionParser/SimpleExpressionParserWithContext.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 57, - "charOffset": 3221, - "charLength": 6, - "snippet": { - "text": "lparen" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 3064, - "charLength": 273, - "snippet": { - "text": "\n [Production(\"primary_value : LPAREN SimpleExpressionParserWithContext_expressions RPAREN\")]\n public int OperandParens(Token lparen, int value, Token rparen,Dictionary context)\n {\n return value;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleExpressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa87dacf72b55724a4308e38196d192a7be43536eb598b30746a134be7779336" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'head' is never used", - "markdown": "Parameter 'head' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 35, - "startColumn": 37, - "charOffset": 914, - "charLength": 4, - "snippet": { - "text": "head" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 33, - "startColumn": 1, - "charOffset": 825, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"args2 : arg (COMMA[d] arg)*\")]\n public object argies(object head, List> tail)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb32372ef1cb43a5793dfb5db46b21ef8798711212087b7e5ad4d36a54a6ecb0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'comma' is never used", - "markdown": "Parameter 'comma' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 148, - "startColumn": 64, - "charOffset": 3936, - "charLength": 5, - "snippet": { - "text": "comma" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 146, - "startColumn": 1, - "charOffset": 3815, - "charLength": 192, - "snippet": { - "text": "\n [Production(\"members : property COMMA members\")]\n public JSon ManyMembers(JObject pair, Token comma, JObject tail)\n {\n var members = new JObject();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb32b333992060b3bd914064d91cb2f76f3b6db8d607c8a1b89882a951c7b0fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'dicardElse' is never used", - "markdown": "Parameter 'dicardElse' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileParserGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 96, - "startColumn": 57, - "charOffset": 3399, - "charLength": 10, - "snippet": { - "text": "dicardElse" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 94, - "startColumn": 1, - "charOffset": 3121, - "charLength": 412, - "snippet": { - "text": " [Production(\"statementPrim: IF WhileParserGeneric_expressions THEN statement ELSE statement\")]\n public WhileAST ifStmt(Token discardIf, WhileAST cond, Token dicardThen,\n WhileAST thenStmt, Token dicardElse, Statement elseStmt)\n {\n var stmt = new IfStatement(cond as Expression, thenStmt as Statement, elseStmt);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb543edb429f54de0485ff399a6d326d63d4cdac4300144d413f8ce0237a86ca" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'result' is never used", - "markdown": "Parameter 'result' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 37, - "charOffset": 19783, - "charLength": 6, - "snippet": { - "text": "result" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 19643, - "charLength": 195, - "snippet": { - "text": "\n public void AddDate(IN token, DateFormat format, char separator, LexemeAttribute doubleLexeme,\n BuildResult> result)\n {\n if (doubleLexeme != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fb5f705780c2acda4e095602f7cf7bbb2840a37914fbdee200a420894385eb43" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'expression' is never used", - "markdown": "Parameter 'expression' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 168, - "startColumn": 64, - "charOffset": 4842, - "charLength": 10, - "snippet": { - "text": "expression" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 166, - "startColumn": 1, - "charOffset": 4720, - "charLength": 168, - "snippet": { - "text": "\n [Production(\"kw_arg : ID DEFINE [d] arith_expr\")]\n public object KeywordArg(Token id, object expression)\n {\n return null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fcb836464143b47ad9e326c8171ac32c6a742bb2a5cae4f9d610152b3245c313" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Parameter 'operatorToken' is never used", - "markdown": "Parameter 'operatorToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 197, - "startColumn": 84, - "charOffset": 6840, - "charLength": 13, - "snippet": { - "text": "operatorToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 195, - "startColumn": 1, - "charOffset": 6674, - "charLength": 280, - "snippet": { - "text": "\n [Operation((int) TemplateLexer.OR, Affix.InFix, Associativity.Right, 10)]\n public Expression binaryOrExpression(Expression left, Token operatorToken, Expression right)\n {\n return new BinaryOperation(left, BinaryOperator.OR, right);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fda0fbacd9b5da493753a6709319544552a810ca1e0c730a76eb2e7c6fac2f62" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 35, - "charOffset": 185, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 127, - "charLength": 115, - "snippet": { - "text": " class Program\n {\n static void Main(string[] args)\n {\n Console.WriteLine((\"SETUP\"));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1383c32850fb11d6fa60ed247693228fa3d00a040b05c189ed73092ca9356840" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'lang' is never used", - "markdown": "Parameter 'lang' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 236, - "startColumn": 52, - "charOffset": 10447, - "charLength": 4, - "snippet": { - "text": "lang" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 234, - "startColumn": 1, - "charOffset": 10234, - "charLength": 294, - "snippet": { - "text": "\n private static BuildResult> BuildRegexLexer(Dictionary lexemes,List labels)> attributes,\n BuildResult> result, string lang = null) where IN : struct\n {\n var lexer = new Lexer();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "25fb8a9a156381171da9bc256ec10474ddd6db4d4e4755de8836490187b6d0aa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1166, - "startColumn": 43, - "charOffset": 40600, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1164, - "startColumn": 1, - "charOffset": 40539, - "charLength": 100, - "snippet": { - "text": " }\n \n private static void Main(string[] args)\n {\n Issue414();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ddb2c391f0731cfee0df7f7ea57516f30e17bff84cca1cfffd51f381efc8a11" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'explicitToken' is never used", - "markdown": "Parameter 'explicitToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 238, - "startColumn": 95, - "charOffset": 9085, - "charLength": 13, - "snippet": { - "text": "explicitToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 236, - "startColumn": 1, - "charOffset": 8989, - "charLength": 141, - "snippet": { - "text": "\n\n private IClause BuildTerminalOrNonTerimal(string name, bool discard = false, bool explicitToken = false)\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "96afb1ce602e3a109c1e1682667e4aa87934a2a1ce46ff14dce9a73204460348" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 35, - "charOffset": 254, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 209, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a2e889efc893fc235089cf908cca0ab4fa1dd27a6eee2fcf5e08aafb39a3a6af" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'isCommentStart' is never used", - "markdown": "Parameter 'isCommentStart' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 88, - "charOffset": 1129, - "charLength": 14, - "snippet": { - "text": "isCommentStart" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1023, - "charLength": 275, - "snippet": { - "text": " }\n \n public Token(T token, ReadOnlyMemory value, LexerPosition position, bool isCommentStart = false,\n CommentType commentType = CommentType.Single, int? channel = null, bool isWhiteSpace = false, char decimalSeparator = '.' )\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ae89d78fbf2c52ebe9fc44a016e81feb883d2d6da02f8381e4d2c8640b70a2ba" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 35, - "charOffset": 268, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 223, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4e91aaf9bc8e10e7f4e910930cfc911859f6e7f729c73f87859cd09dbc86285" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedParameter.Local", - "kind": "fail", - "level": "warning", - "message": { - "text": "Parameter 'args' is never used", - "markdown": "Parameter 'args' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 15, - "startColumn": 35, - "charOffset": 255, - "charLength": 4, - "snippet": { - "text": "args" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 13, - "startColumn": 1, - "charOffset": 210, - "charLength": 76, - "snippet": { - "text": "\n }\n static void Main(string[] args)\n {\n try" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fe304ee449232ca618e4ca53ec9e4e555e6e67fa8eba57700153fe2dcbfd5f7e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum 'EbnfToken' is never used", - "markdown": "Enum 'EbnfToken' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 17, - "charOffset": 67, - "charLength": 9, - "snippet": { - "text": "EbnfToken" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 18, - "charLength": 123, - "snippet": { - "text": "namespace sly.parser.generator\n{\n public enum EbnfToken\n {\n [Lexeme(\"^[A-Za-z][A-Za-z0-9_]*\")] IDENTIFIER = 1," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0e952550b6b5b6027ba1a68f310a685654c2a4b4faa5fb4e287e6cbafb568bd4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'EbnfJsonParser' is never used", - "markdown": "Class 'EbnfJsonParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 18, - "charOffset": 220, - "charLength": 14, - "snippet": { - "text": "EbnfJsonParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 173, - "charLength": 88, - "snippet": { - "text": "namespace benchCurrent.json\n{\n public class EbnfJsonParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "15205f6df399b9a9d7bbadb2c4d5b7a243dcc9264774e22083eedc9dfda0655b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'UpToAttribute' is never used", - "markdown": "Class 'UpToAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/UpToAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 13, - "snippet": { - "text": "UpToAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 171, - "snippet": { - "text": "namespace sly.lexer\n{\n public class UpToAttribute : LexemeAttribute\n {\n public UpToAttribute(params string[] exceptions) : base(GenericToken.UpTo, exceptions)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1d4b8a981f92c7909d12de21d4d5f7e443a7c76d42b9ce476748a1a32f64e437" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'JSONParser' is never used", - "markdown": "Class 'JSONParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 18, - "charOffset": 408, - "charLength": 10, - "snippet": { - "text": "JSONParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 384, - "charLength": 61, - "snippet": { - "text": " }\n\n public class JSONParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "22b04154ae94e6d4f14b3bafb082ce92a266a423ca43e3ee1cab57f4217eb09f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DoubleAttribute' is never used", - "markdown": "Class 'DoubleAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/DoubleAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 15, - "snippet": { - "text": "DoubleAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 197, - "snippet": { - "text": "namespace sly.lexer\n{\n public class DoubleAttribute : LexemeAttribute\n {\n public DoubleAttribute(string decimalDelimiter = \".\", int channel = Channels.Main) : base(GenericToken.Double," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3091f4c8f29b6a4f32fdb881ef48be6c0209b5a091a2e018352bac13b50f0c90" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DictionaryExtensionMethods' is never used", - "markdown": "Class 'DictionaryExtensionMethods' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 25, - "charOffset": 151, - "charLength": 26, - "snippet": { - "text": "DictionaryExtensionMethods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 104, - "charLength": 192, - "snippet": { - "text": "namespace bench.json\n{\n public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "32305d9385ae6e73d4a5c00b7195e07b217a3255007f6924eb974fb58cb6b791" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'InfixAttribute' is never used", - "markdown": "Class 'InfixAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/InfixAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 50, - "charLength": 14, - "snippet": { - "text": "InfixAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 219, - "snippet": { - "text": "namespace sly.parser.generator\n{\n public class InfixAttribute : OperationAttribute\n {\n public InfixAttribute(int intToken, Associativity assoc, int precedence) : base(intToken,Affix.InFix,assoc,precedence)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3b687db553754d887d977cba0a6734d32212f3ccc6e91842a2588748d5e6f244" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'CallBacksBuilder' is never used", - "markdown": "Class 'CallBacksBuilder' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/CallBacksBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 7, - "startColumn": 25, - "charOffset": 105, - "charLength": 16, - "snippet": { - "text": "CallBacksBuilder" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 5, - "startColumn": 1, - "charOffset": 59, - "charLength": 69, - "snippet": { - "text": "namespace sly.lexer\n{\n public static class CallBacksBuilder\n {\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "42a01649e7cda86dba35d2dcc9488f04ce7e5288e1fdf995e8f140c6dc922101" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'IntAttribute' is never used", - "markdown": "Class 'IntAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/IntAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 12, - "snippet": { - "text": "IntAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 130, - "snippet": { - "text": "namespace sly.lexer\n{\n public class IntAttribute : LexemeAttribute\n {\n public IntAttribute() : base(GenericToken.Int)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6bac99f7d7997263cc3ee98e6cca7816273dbd999ca40d4a167c452549fd7f7a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'GraphVizEBNFSyntaxTreeVisitor' is never used", - "markdown": "Class 'GraphVizEBNFSyntaxTreeVisitor' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/GraphVizEBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 18, - "charOffset": 268, - "charLength": 29, - "snippet": { - "text": "GraphVizEBNFSyntaxTreeVisitor" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 219, - "charLength": 200, - "snippet": { - "text": "{\n [ExcludeFromCodeCoverage]\n public class GraphVizEBNFSyntaxTreeVisitor : IConcreteSyntaxTreeVisitor where IN : struct\n {\n public DotGraph Graph { get; private set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "70991bd4220774a019bdb30f0ea4ed6395a3efb4186e26c0714b9431560da54b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ByteCodeGenerationException' is never used", - "markdown": "Class 'ByteCodeGenerationException' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/ByteCodeGenerationException.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 5, - "startColumn": 20, - "charOffset": 70, - "charLength": 27, - "snippet": { - "text": "ByteCodeGenerationException" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 3, - "startColumn": 1, - "charOffset": 15, - "charLength": 142, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n internal class ByteCodeGenerationException : Exception\n {\n private object compilationResult;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "824dab20b2d02cc7c1154634139bb79cf431bb584172c0630c50e5bb183554ad" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Enum 'ShortWhileTokenGeneric' is never used", - "markdown": "Enum 'ShortWhileTokenGeneric' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileTokenGeneric.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 99, - "startColumn": 17, - "charOffset": 2255, - "charLength": 22, - "snippet": { - "text": "ShortWhileTokenGeneric" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 97, - "startColumn": 1, - "charOffset": 2228, - "charLength": 88, - "snippet": { - "text": " }\n \n public enum ShortWhileTokenGeneric\n {\n #region keywords 0 -> 19" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b30f63cb261d71c543bc43a3544d6719810b683346673868e095fc34254ff73" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DictionaryExtensionMethods' is never used", - "markdown": "Class 'DictionaryExtensionMethods' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 25, - "charOffset": 151, - "charLength": 26, - "snippet": { - "text": "DictionaryExtensionMethods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 104, - "charLength": 192, - "snippet": { - "text": "namespace bench.json\n{\n public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ffd54d19f7485dc441c359632ec9f3fae0e7e564f19439aad1244ed88637097" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ScriptParserRight' is never used", - "markdown": "Class 'ScriptParserRight' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/ScriptParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 18, - "charOffset": 2465, - "charLength": 17, - "snippet": { - "text": "ScriptParserRight" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 2438, - "charLength": 108, - "snippet": { - "text": " \n \n public class ScriptParserRight\n {\n [Production(\"test : LBEG [d] fun_call LEND [d]\")]" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c142a38e0547fa330d6e3166f3200f83ce98e9159abe024b7b8ceb81943c28b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'AlphaNumDashIdAttribute' is never used", - "markdown": "Class 'AlphaNumDashIdAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaNumDashIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 23, - "snippet": { - "text": "AlphaNumDashIdAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 191, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaNumDashIdAttribute : LexemeAttribute\n {\n public AlphaNumDashIdAttribute() : base(GenericToken.Identifier,IdentifierType.AlphaNumericDash)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a0e168713cf5f52537f1042ee09bef7a1674a6a6869f142662ccd0a5ba5ffbfc" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DateAttribute' is never used", - "markdown": "Class 'DateAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/DateAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 18, - "charOffset": 118, - "charLength": 13, - "snippet": { - "text": "DateAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 90, - "charLength": 212, - "snippet": { - "text": " }\n \n public class DateAttribute : LexemeAttribute\n {\n public DateAttribute(DateFormat format = DateFormat.DDMMYYYY, char separator = '-', int channel = Channels.Main) : base(GenericToken.Date," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b73bdd91fec99667035ad341b5ebb6402e550d56af5adb34c52f8d33eae56330" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'SugarAttribute' is never used", - "markdown": "Class 'SugarAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/SugarAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 14, - "snippet": { - "text": "SugarAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 182, - "snippet": { - "text": "namespace sly.lexer\n{\n public class SugarAttribute : LexemeAttribute\n {\n public SugarAttribute(string token, int channel) : base(GenericToken.SugarToken, channel, token)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b74f8669764520839f4d8de319fecdb02564f933367d1e2dba4cb0613c04be75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'KeywordAttribute' is never used", - "markdown": "Class 'KeywordAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/KeywordAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 16, - "snippet": { - "text": "KeywordAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 165, - "snippet": { - "text": "namespace sly.lexer\n{\n public class KeywordAttribute : LexemeAttribute\n {\n public KeywordAttribute(string keyword) : base(GenericToken.KeyWord, keyword)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ba777f856c6c31b666142225676de0ac392dc99a81abb0ca2fa2f73fff6f6818" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'JSONParser' is never used", - "markdown": "Class 'JSONParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 18, - "charOffset": 408, - "charLength": 10, - "snippet": { - "text": "JSONParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 384, - "charLength": 61, - "snippet": { - "text": " }\n\n public class JSONParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bccefdd612911723a9536ef286757eead3fbbce1cdc667f74263be4b0075d4ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DictionaryExtensionMethods' is never used", - "markdown": "Class 'DictionaryExtensionMethods' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 25, - "charOffset": 169, - "charLength": 26, - "snippet": { - "text": "DictionaryExtensionMethods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 115, - "charLength": 199, - "snippet": { - "text": "namespace benchCurrent.json\n{\n public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c45d2a3692d9a591fd08abb3733d76f1f55af7dbacd92cd0dd5fe9f877f80469" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'DictionaryExtensionMethods' is never used", - "markdown": "Class 'DictionaryExtensionMethods' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 8, - "startColumn": 25, - "charOffset": 155, - "charLength": 26, - "snippet": { - "text": "DictionaryExtensionMethods" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 6, - "startColumn": 1, - "charOffset": 108, - "charLength": 192, - "snippet": { - "text": "namespace jsonparser\n{\n public static class DictionaryExtensionMethods\n {\n public static void Merge(this Dictionary me, Dictionary merge)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c5b381ab6a7e4ee803dcdb24c0f1e1cc1037d82b67ccbb2c12472a170072eae5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'JSONParser' is never used", - "markdown": "Class 'JSONParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 16, - "startColumn": 18, - "charOffset": 426, - "charLength": 10, - "snippet": { - "text": "JSONParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 14, - "startColumn": 1, - "charOffset": 402, - "charLength": 61, - "snippet": { - "text": " }\n\n public class JSONParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c728ca84d92b0d0b5881b9a25e2f6c88184422fe50330634e13ea11baafe895c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'PostfixAttribute' is never used", - "markdown": "Class 'PostfixAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/PostfixAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 50, - "charLength": 16, - "snippet": { - "text": "PostfixAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 225, - "snippet": { - "text": "namespace sly.parser.generator\n{\n public class PostfixAttribute : OperationAttribute\n {\n public PostfixAttribute(int intToken, Associativity assoc, int precedence) : base(intToken,Affix.PostFix,assoc,precedence)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ca20dd6ac301ed49bb48213b82687a5c5dedb890b9f22f43e8d333b8bfa89634" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'AlphaNumIdAttribute' is never used", - "markdown": "Class 'AlphaNumIdAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaNumIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 19, - "snippet": { - "text": "AlphaNumIdAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 179, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaNumIdAttribute : LexemeAttribute\n {\n public AlphaNumIdAttribute() : base(GenericToken.Identifier,IdentifierType.AlphaNumeric)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb93dfee9715e14966cd21107fd8d32a46803f9960e1441411540246dcc33b19" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Interface 'WhileFunction' is never used", - "markdown": "Interface 'WhileFunction' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/WhileFunction.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 22, - "charOffset": 57, - "charLength": 13, - "snippet": { - "text": "WhileFunction" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 96, - "snippet": { - "text": "namespace csly.whileLang.compiler\n{\n public interface WhileFunction\n {\n void Run();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce08f4aea3d557b352caf659df66d8c25de2e3ea31a778afa2895133a523eb04" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'PrefixAttribute' is never used", - "markdown": "Class 'PrefixAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/PrefixAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 50, - "charLength": 15, - "snippet": { - "text": "PrefixAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 222, - "snippet": { - "text": "namespace sly.parser.generator\n{\n public class PrefixAttribute : OperationAttribute\n {\n public PrefixAttribute(int intToken, Associativity assoc, int precedence) : base(intToken,Affix.PreFix,assoc,precedence)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "de9ecd31dd7dfe964f21547ad18def20e28faa81d7c89435e9b3d9a987373274" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'EbnfJsonParser' is never used", - "markdown": "Class 'EbnfJsonParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 18, - "charOffset": 202, - "charLength": 14, - "snippet": { - "text": "EbnfJsonParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 162, - "charLength": 81, - "snippet": { - "text": "namespace bench.json\n{\n public class EbnfJsonParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6482a052a1001dd75fb588e5bd0ae709e5dff96b333b249795e9ac3570d1270" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'CharacterAttribute' is never used", - "markdown": "Class 'CharacterAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CharAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 18, - "snippet": { - "text": "CharacterAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 208, - "snippet": { - "text": "namespace sly.lexer\n{\n public class CharacterAttribute : LexemeAttribute\n {\n public CharacterAttribute(string delimiter = \"'\", string escape = \"\\\\\") : base(GenericToken.String, delimiter, escape)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7fbe12ae76c98d3c1dcd9a542c4846c87dbe1a57aa1629541648b5f277d1146" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Group' is never used", - "markdown": "Class 'Group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/Group.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 70, - "charLength": 5, - "snippet": { - "text": "Group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 147, - "snippet": { - "text": "namespace postProcessedLexerParser.expressionModel\n{\n public class Group : Expression\n {\n private readonly Expression InnerExpression;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e98da765263424fd276f1bb18645fc6e4e25ec2bde95b697df5e44080bfc025e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'Issue165Parser' is never used", - "markdown": "Class 'Issue165Parser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Issue165Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 6, - "startColumn": 18, - "charOffset": 89, - "charLength": 14, - "snippet": { - "text": "Issue165Parser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 4, - "startColumn": 1, - "charOffset": 46, - "charLength": 72, - "snippet": { - "text": "namespace ParserExample\n{\n public class Issue165Parser\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ec459fd39f520d8e23321c791fa497879e202a558912c457835b86714394483f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'AlphaIdAttribute' is never used", - "markdown": "Class 'AlphaIdAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/AlphaIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 16, - "snippet": { - "text": "AlphaIdAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 166, - "snippet": { - "text": "namespace sly.lexer\n{\n public class AlphaIdAttribute : LexemeAttribute\n {\n public AlphaIdAttribute() : base(GenericToken.Identifier,IdentifierType.Alpha)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f010a7b68b707760f44af12172ab862674f164348adb6fc7c39f89d975d273b3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'StringAttribute' is never used", - "markdown": "Class 'StringAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/StringAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 15, - "snippet": { - "text": "StringAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 203, - "snippet": { - "text": "namespace sly.lexer\n{\n public class StringAttribute : LexemeAttribute\n {\n public StringAttribute(string delimiter = \"\\\"\", string escape = \"\\\\\") : base(GenericToken.String, delimiter, escape)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f11721f701fefb1e8e1e769d2b6bdc3bde67644bfc0d1a488e02ef221b4faf74" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'EbnfJsonParser' is never used", - "markdown": "Class 'EbnfJsonParser' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/EBNFJSONParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 18, - "charOffset": 202, - "charLength": 14, - "snippet": { - "text": "EbnfJsonParser" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 162, - "charLength": 81, - "snippet": { - "text": "namespace bench.json\n{\n public class EbnfJsonParser\n {\n #region root" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f404a9ac3808f6359ee9b1f521c3b7bb860914bb1e252336486947f01e7bc22b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'ExtensionAttribute' is never used", - "markdown": "Class 'ExtensionAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/ExtensionAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 18, - "snippet": { - "text": "ExtensionAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 148, - "snippet": { - "text": "namespace sly.lexer\n{\n public class ExtensionAttribute : LexemeAttribute\n {\n public ExtensionAttribute() : base(GenericToken.Extension)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa353847e8a0a0f33ce67f1412e5ebcff62d623d89276a616d97eca7cd538cc7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedType.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Class 'CustomIdAttribute' is never used", - "markdown": "Class 'CustomIdAttribute' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/attributes/CustomIdAttribute.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 18, - "charOffset": 39, - "charLength": 17, - "snippet": { - "text": "CustomIdAttribute" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 232, - "snippet": { - "text": "namespace sly.lexer\n{\n public class CustomIdAttribute : LexemeAttribute\n {\n public CustomIdAttribute(string startPattern, string endPattern) : base(GenericToken.Identifier, IdentifierType.Custom,startPattern,endPattern)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa8c628cffd7fe45cd745c7d3619e19920bcf9a85085565508d58a514def6068" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedTypeParameter", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type parameter 'IN' is never used", - "markdown": "Type parameter 'IN' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/tree/ISyntaxNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 34, - "charOffset": 68, - "charLength": 2, - "snippet": { - "text": "IN" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 104, - "snippet": { - "text": "namespace sly.parser.syntax.tree\n{\n public interface ISyntaxNode where IN : struct\n {\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "08764499b7148ecee1f9c3a2dd15c3c93861b8fa94f455b6dbdfd91d5101faaf" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedTypeParameter", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type parameter 'T' is never used", - "markdown": "Type parameter 'T' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/GrammarNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 3, - "startColumn": 34, - "charOffset": 71, - "charLength": 1, - "snippet": { - "text": "T" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1, - "startColumn": 1, - "charOffset": 0, - "charLength": 85, - "snippet": { - "text": "namespace sly.parser.syntax.grammar\n{\n public interface GrammarNode\n {\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6839c08e704a4eb242b79ae2f2deccf196bf70882a068bdc630965bdabce738d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedTypeParameter", - "kind": "fail", - "level": "warning", - "message": { - "text": "Type parameter 'OUT' is never used", - "markdown": "Type parameter 'OUT' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserConfiguration.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 42, - "charOffset": 219, - "charLength": 3, - "snippet": { - "text": "OUT" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 145, - "charLength": 151, - "snippet": { - "text": "namespace sly.parser.generator\n{\n public class ParserConfiguration where IN : struct\n {\n public string StartingRule { get; set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8f9fafb622f49ec10d9210423b77e30e4f85e32c3347f336af3895c6255ee11c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 21, - "charOffset": 2229, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2178, - "charLength": 118, - "snippet": { - "text": " else\n {\n var ignored = BenchedParser.Parse(content); \n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "000cedd9bcee5d2e223d646df2dd5ff8bf843b5f2db77f4090944928a76bda92" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'found' is never used", - "markdown": "Local variable 'found' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 519, - "startColumn": 33, - "charOffset": 20463, - "charLength": 5, - "snippet": { - "text": "found" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 517, - "startColumn": 1, - "charOffset": 20343, - "charLength": 270, - "snippet": { - "text": " {\n var expected = typeof(Token);\n var found = arg.ParameterType;\n result = CheckArgType(result, rule, expected, visitor, arg);\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "007314a70d93e8005e833cf484253378c09991886fea4dc392cb448e828234eb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'buildResult' is never used", - "markdown": "Local variable 'buildResult' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 490, - "startColumn": 17, - "charOffset": 15617, - "charLength": 11, - "snippet": { - "text": "buildResult" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 488, - "startColumn": 1, - "charOffset": 15470, - "charLength": 291, - "snippet": { - "text": " var instance = new EbnfJsonGenericParser();\n var builder = new ParserBuilder();\n var buildResult = builder.BuildParser(instance, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"root\");\n // if (buildResult.IsOk)\n // {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "010c18783f7146dbae309def52637cb3b6146ae45e49b825a7c3db2db60f56f3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'two' is never used", - "markdown": "Local variable 'two' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 776, - "startColumn": 21, - "charOffset": 28055, - "charLength": 3, - "snippet": { - "text": "two" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 774, - "startColumn": 1, - "charOffset": 27960, - "charLength": 163, - "snippet": { - "text": " var one = lex.Result.Tokenize(\"2.0E+2\");\n ;\n var two = lex.Result.Tokenize(\"4.0e-2\");\n ;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "026c452261942cbf8dcfc6e3f47f93c1fba3bcf9e7d9e4cc7fbae46a0ef3534a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'culture' is never used", - "markdown": "Local variable 'culture' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 242, - "startColumn": 21, - "charOffset": 7047, - "charLength": 7, - "snippet": { - "text": "culture" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 240, - "startColumn": 1, - "charOffset": 6949, - "charLength": 259, - "snippet": { - "text": " {\n var val = Value.Replace(DecimalSeparator, '.');\n var culture = CultureInfo.InvariantCulture;\n double result = 0.0;\n double.TryParse(val, NumberStyles.Any, CultureInfo.InvariantCulture," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0510a24cd034fe9092990e23f76ed41154d82317958b1866693d0d67b1fe058e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'skip' is never used", - "markdown": "Local variable 'skip' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SemanticChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 38, - "charOffset": 731, - "charLength": 4, - "snippet": { - "text": "skip" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 540, - "charLength": 258, - "snippet": { - "text": " if (ast is AssignStatement assign) SemanticCheck(assign, context);\n if (ast is SequenceStatement seq) SemanticCheck(seq, context);\n if (ast is SkipStatement skip)\n {\n //SemanticCheck(skip, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c2e4e555a3e9a3740257dfe87a0f19ddb7d5e28c52350aa9c4293b86f319586" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'summary' is never used", - "markdown": "Local variable 'summary' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 17, - "charOffset": 159, - "charLength": 7, - "snippet": { - "text": "summary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 89, - "charLength": 130, - "snippet": { - "text": " private static void BenchJson() {\n \n var summary = BenchmarkRunner.Run();\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c2eba5cf2ed5052b3f9393897f7a813fe43c31a981a4ecb5438a6f16619ecde" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'b' is never used", - "markdown": "Local variable 'b' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/XML/MinimalXmlParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 27, - "charOffset": 1570, - "charLength": 1, - "snippet": { - "text": "b" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1450, - "charLength": 225, - "snippet": { - "text": " public string CompoundElement(string open, List subs, string close)\n {\n StringBuilder b = new StringBuilder();\n return $@\"tag({open}, {string.Join(\",\", subs)}, {close})\";\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "XML", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0d9eee9e11a8c37e4481ec1914e7bc211d9df754ca4f1a522bda3293c1e910e5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'term' is never used", - "markdown": "Local variable 'term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 601, - "startColumn": 57, - "charOffset": 24235, - "charLength": 4, - "snippet": { - "text": "term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 599, - "startColumn": 1, - "charOffset": 24100, - "charLength": 240, - "snippet": { - "text": " switch (innerClause)\n {\n case TerminalClause term:\n {\n expected = typeof(Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "12fbd33873a02f4e039444282e90b181add45a77bc35f840e7722c63265bc20b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'res' is never used", - "markdown": "Local variable 'res' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1221, - "startColumn": 17, - "charOffset": 42310, - "charLength": 3, - "snippet": { - "text": "res" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1219, - "startColumn": 1, - "charOffset": 42160, - "charLength": 237, - "snippet": { - "text": " var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());\n Assert.False(lexerRes.IsError);\n var res = lexerRes.Result.Tokenize(\"< ();\n var values = new List>();\n foreach (var n in node.Children)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "20747217cc48bf11b29319ce4660fe16f83a926840392b833fe4e4960342ef33" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'i' is never used", - "markdown": "Local variable 'i' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 128, - "startColumn": 30, - "charOffset": 3895, - "charLength": 1, - "snippet": { - "text": "i" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 126, - "startColumn": 1, - "charOffset": 3827, - "charLength": 184, - "snippet": { - "text": " {\n \n for (int i = position; position > 0; position--)\n {\n var token = channel[position];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "35cd07f7aeba50b4583c57ad4305047db21da40245d205ef187a5cce87925b3e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'summary' is never used", - "markdown": "Local variable 'summary' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 17, - "charOffset": 173, - "charLength": 7, - "snippet": { - "text": "summary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 103, - "charLength": 130, - "snippet": { - "text": " private static void BenchJson() {\n \n var summary = BenchmarkRunner.Run();\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "37560493afe634ced8906753b23cb08c309ced7f2a9b1191a37a83a8aa9f690d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'terminal' is never used", - "markdown": "Local variable 'terminal' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 516, - "startColumn": 49, - "charOffset": 20333, - "charLength": 8, - "snippet": { - "text": "terminal" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 514, - "startColumn": 1, - "charOffset": 20227, - "charLength": 203, - "snippet": { - "text": " switch (clause)\n {\n case TerminalClause terminal:\n {\n var expected = typeof(Token);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "40cb8391bcb5a38ea85738069ea53e60af7ecc7dcbd158d3c6123166f44742f2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'graph' is never used", - "markdown": "Local variable 'graph' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 531, - "startColumn": 20, - "charOffset": 17349, - "charLength": 5, - "snippet": { - "text": "graph" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 529, - "startColumn": 1, - "charOffset": 17200, - "charLength": 296, - "snippet": { - "text": " var graphviz = new GraphVizEBNFSyntaxTreeVisitor();\n var root = graphviz.VisitTree(tree);\n string graph = graphviz.Graph.Compile();\n // File.Delete(\"c:\\\\temp\\\\tree.dot\");\n // File.AppendAllText(\"c:\\\\temp\\\\tree.dot\", graph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "41ef3cde44f885790c9142206c6845d7f9ee9899948b58bd469738d5160092c6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 17, - "charOffset": 1426, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1368, - "charLength": 117, - "snippet": { - "text": " \n public void TestJson() {\n var ignored = BenchedLexer.Tokenize(content).Tokens;\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "457663df8fef566275cadac73c5f266336c14360369670fe876668e556bca4da" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'context' is never used", - "markdown": "Local variable 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 158, - "startColumn": 25, - "charOffset": 4036, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 156, - "startColumn": 1, - "charOffset": 3892, - "charLength": 249, - "snippet": { - "text": " var result = Parser.Result.Parse(program);\n var interpreter = new Interpreter();\n var context = interpreter.Interprete(result.Result);\n\n var compiler = new WhileCompiler();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4ba5285b729f8358e861ec1717cedb761190c5b9fe76d26f1de899eaac13a099" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'root' is never used", - "markdown": "Local variable 'root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 654, - "startColumn": 21, - "charOffset": 22482, - "charLength": 4, - "snippet": { - "text": "root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 652, - "startColumn": 1, - "charOffset": 22338, - "charLength": 277, - "snippet": { - "text": " var r = parser.Parse(ko1);\n var graphviz = new GraphVizEBNFSyntaxTreeVisitor();\n var root = graphviz.VisitTree(r.SyntaxTree);\n var graph = graphviz.Graph.Compile();\n r = parser.Parse(ko2);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e885d7ca7ce9dbce9d38d8957328babe27736d9f2b9b65670a8ac660faf4294" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'path' is never used", - "markdown": "Local variable 'path' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 102, - "startColumn": 24, - "charOffset": 3632, - "charLength": 4, - "snippet": { - "text": "path" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 100, - "startColumn": 1, - "charOffset": 3526, - "charLength": 178, - "snippet": { - "text": " List> recursions = new List>();\n \n var (found,path) = FindRecursion(currentPath);\n if (found)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5047fd36bc690fec06389da38b6c576213dacf9230eb39bac68b8c2480f0ef4e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 83, - "startColumn": 21, - "charOffset": 2160, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 81, - "startColumn": 1, - "charOffset": 2109, - "charLength": 118, - "snippet": { - "text": " else\n {\n var ignored = BenchedParser.Parse(content); \n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "512292efd5fca7a5b5007678fb77ad80ddf70eaccc1c7a8e2e125b7be64965cb" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'root' is never used", - "markdown": "Local variable 'root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 988, - "startColumn": 21, - "charOffset": 34290, - "charLength": 4, - "snippet": { - "text": "root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 986, - "startColumn": 1, - "charOffset": 34119, - "charLength": 321, - "snippet": { - "text": " GraphVizEBNFSyntaxTreeVisitor grapher =\n new GraphVizEBNFSyntaxTreeVisitor();\n var root = grapher.VisitTree(node);\n var graph = grapher.Graph.Compile();\n // File.WriteAllText(@\"c:\\tmp\\graph.dot\", graph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "544ee5eeba31e41f5e59ed5dff0524e47cc3397e6d3635d23cfcf5d1abaf44a9" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'node' is never used", - "markdown": "Local variable 'node' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 200, - "startColumn": 76, - "charOffset": 9476, - "charLength": 4, - "snippet": { - "text": "node" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 198, - "startColumn": 1, - "charOffset": 9309, - "charLength": 300, - "snippet": { - "text": " if (secondResult.IsError)\n {\n if (firstResult.Root is SyntaxNode node)\n {\n firstResult.Errors.AddRange(secondResult.Errors);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5948aa73489b13c764e8c44c2bef627d40f151cde24407c30e88e1de372695d3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'rule' is never used", - "markdown": "Local variable 'rule' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 425, - "startColumn": 17, - "charOffset": 13404, - "charLength": 4, - "snippet": { - "text": "rule" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 423, - "startColumn": 1, - "charOffset": 13352, - "charLength": 106, - "snippet": { - "text": "\n var parser = r.Result;\n var rule = parser.Parse(\"a ( b ) \", \"clauses\");\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a67c68a5dc825dd01c0c07871949fad57f6f3ebf0aa6fb9f472a42f987c9dde" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'code' is never used", - "markdown": "Local variable 'code' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 228, - "startColumn": 25, - "charOffset": 6172, - "charLength": 4, - "snippet": { - "text": "code" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 226, - "startColumn": 1, - "charOffset": 6083, - "charLength": 281, - "snippet": { - "text": "\n var compiler = new IndentedWhileCompiler();\n var code = compiler.TranspileToCSharp(program);\n var f = compiler.CompileToFunction(program,false);\n Console.WriteLine(\"***********************************\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b0434211b246ab03f4df136a0a946556001ce7e18104031e62104ebccce878f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ctx' is never used", - "markdown": "Local variable 'ctx' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 314, - "startColumn": 21, - "charOffset": 8998, - "charLength": 3, - "snippet": { - "text": "ctx" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 312, - "startColumn": 1, - "charOffset": 8911, - "charLength": 160, - "snippet": { - "text": " {\n var interpreter = new Interpreter();\n var ctx = interpreter.Interprete(rGen.Result);\n }\n else" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5b137b306ae1e502ea2dc2775929b42be23b17d25afbdc17310c92b353cef17f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'code' is never used", - "markdown": "Local variable 'code' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 161, - "startColumn": 25, - "charOffset": 4166, - "charLength": 4, - "snippet": { - "text": "code" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 159, - "startColumn": 1, - "charOffset": 4085, - "charLength": 228, - "snippet": { - "text": "\n var compiler = new WhileCompiler();\n var code = compiler.TranspileToCSharp(program);\n var f = compiler.CompileToFunction(program,false);\n int r = f();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5ca6e10b570b7140c725a5053fedc64e8c7292fe8436cfbbddea3f52d9ed5285" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'epsilon' is never used", - "markdown": "Local variable 'epsilon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/ConcreteSyntaxTreeWalker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 49, - "startColumn": 40, - "charOffset": 1505, - "charLength": 7, - "snippet": { - "text": "epsilon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 47, - "startColumn": 1, - "charOffset": 1384, - "charLength": 198, - "snippet": { - "text": " case SyntaxNode node:\n return Visit(node);\n case SyntaxEpsilon epsilon:\n {\n return Visitor.VisitEpsilon();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "62a5f4e820d7c6054495b3b0be0e559728bbf9d17a290c07f68150d5d05e5ea7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'VARIABLE' is never used", - "markdown": "Local variable 'VARIABLE' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/TokenChannels.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 86, - "startColumn": 26, - "charOffset": 2242, - "charLength": 8, - "snippet": { - "text": "VARIABLE" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 84, - "startColumn": 1, - "charOffset": 2151, - "charLength": 199, - "snippet": { - "text": "\n int index = _tokenChannels.Values.Max(x => x.Count);\n foreach (var VARIABLE in _tokenChannels.Values)\n {\n for (int i = channel.Count; i < index; i++)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63c01988a098d369494d826f3298d9b447e2409aa9d36bad45d623d65056389b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'graph' is never used", - "markdown": "Local variable 'graph' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 989, - "startColumn": 21, - "charOffset": 34342, - "charLength": 5, - "snippet": { - "text": "graph" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 987, - "startColumn": 1, - "charOffset": 34194, - "charLength": 261, - "snippet": { - "text": " new GraphVizEBNFSyntaxTreeVisitor();\n var root = grapher.VisitTree(node);\n var graph = grapher.Graph.Compile();\n // File.WriteAllText(@\"c:\\tmp\\graph.dot\", graph);\n };" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "63e0f02e84650454b24e79f2821b26ee48f0f78f3fb2cb92df5c1a3de10d4377" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'width' is never used", - "markdown": "Local variable 'width' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 902, - "startColumn": 21, - "charOffset": 31366, - "charLength": 5, - "snippet": { - "text": "width" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 900, - "startColumn": 1, - "charOffset": 31292, - "charLength": 220, - "snippet": { - "text": " var tokens = lexer.Tokenize(source);\n\n var width = tokens.Tokens.GetChannels().Select(x => x.Tokens.Count).Max();\n \n List headers = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "67c58fac3f7a2acf4eddaede2f64f4c875ac0426994e1be8d16b4517a5cffd6f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'typer' is never used", - "markdown": "Local variable 'typer' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/model/BinaryOperation.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 145, - "startColumn": 17, - "charOffset": 4372, - "charLength": 5, - "snippet": { - "text": "typer" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 143, - "startColumn": 1, - "charOffset": 4254, - "charLength": 248, - "snippet": { - "text": " private Emit> EmitConcat(CompilerContext context, Emit> emiter)\n {\n var typer = new ExpressionTyper();\n Left.EmitByteCode(context, emiter);\n if (Left.Whiletype != WhileType.STRING)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68bcada10cc38c2cbf9ddcc4c226f53eaebc67cc4c386568ae569c5cd5218dda" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'current' is never used", - "markdown": "Local variable 'current' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/EOLManager.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 17, - "charOffset": 350, - "charLength": 7, - "snippet": { - "text": "current" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 250, - "charLength": 268, - "snippet": { - "text": " var CurrentPosition = position;\n var spanValue = value.Span;\n var current = spanValue[CurrentPosition];\n var end = IsEndOfLine(value, CurrentPosition);\n while (CurrentPosition < value.Length && end == EolType.No)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "693e86703d83595a72118ebf3f44fa5297e6ee30a38c505fc6dedc80ba7a17bd" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 69, - "startColumn": 21, - "charOffset": 1820, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 67, - "startColumn": 1, - "charOffset": 1769, - "charLength": 118, - "snippet": { - "text": " else\n {\n var ignored = BenchedParser.Parse(content); \n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d55d0bb9398bd912e3be541ab9756b52430016311c0c2fd6bfc18f0230bfed2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'builder2' is never used", - "markdown": "Local variable 'builder2' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 592, - "startColumn": 17, - "charOffset": 20018, - "charLength": 8, - "snippet": { - "text": "builder2" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 590, - "startColumn": 1, - "charOffset": 19954, - "charLength": 164, - "snippet": { - "text": " Console.WriteLine(\"new instance\");\n\n var builder2 = new ParserBuilder();\n Console.WriteLine(\"builder\");\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "729467fcb1aa8f388099dcf68e13887e61fd48df9fe0616f52b633f2c8b7dd9c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'conf' is never used", - "markdown": "Local variable 'conf' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 426, - "startColumn": 17, - "charOffset": 16304, - "charLength": 4, - "snippet": { - "text": "conf" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 424, - "startColumn": 1, - "charOffset": 16237, - "charLength": 155, - "snippet": { - "text": " NonTerminal nonTerminal)\n {\n var conf = result.Result.Configuration;\n\n foreach (var rule in nonTerminal.Rules)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "792e4c9aaf3172c5138d415087a502f212c31adfce6aac8259f4373f128dbf9e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'baseJob' is never used", - "markdown": "Local variable 'baseJob' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/JsonParserBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 26, - "startColumn": 21, - "charOffset": 511, - "charLength": 7, - "snippet": { - "text": "baseJob" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 24, - "startColumn": 1, - "charOffset": 449, - "charLength": 150, - "snippet": { - "text": " public Config()\n {\n var baseJob = Job.MediumRun.With(CsProjCoreToolchain.Current.Value);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8226bfcb72ad4f7f8cab15fbad6b032b1aba70fafacfd0af1b657a7605cc20a2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'skip' is never used", - "markdown": "Local variable 'skip' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/interpreter/Interpreter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 130, - "startColumn": 38, - "charOffset": 3220, - "charLength": 4, - "snippet": { - "text": "skip" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 128, - "startColumn": 1, - "charOffset": 3035, - "charLength": 249, - "snippet": { - "text": " if (ast is AssignStatement assign) Interprete(assign, context);\n if (ast is SequenceStatement seq) Interprete(seq, context);\n if (ast is SkipStatement skip)\n {\n //Interprete(skip, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "83e6626a4dcbb3cbb78846e0f0235204319d27551760526c1f62949dd6347b1e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'node' is never used", - "markdown": "Local variable 'node' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 220, - "startColumn": 76, - "charOffset": 10476, - "charLength": 4, - "snippet": { - "text": "node" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 218, - "startColumn": 1, - "charOffset": 10309, - "charLength": 300, - "snippet": { - "text": " if (secondResult.IsError)\n {\n if (firstResult.Root is SyntaxNode node)\n {\n firstResult.Errors.AddRange(secondResult.Errors);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "856a8a29377eef2620df552c300051972eac3e6ac156f5406ebc75482ee185aa" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'line' is never used", - "markdown": "Local variable 'line' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 413, - "startColumn": 17, - "charOffset": 12934, - "charLength": 4, - "snippet": { - "text": "line" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 411, - "startColumn": 1, - "charOffset": 12774, - "charLength": 238, - "snippet": { - "text": " var error = errors[0] as UnexpectedTokenSyntaxError; // \n var token = error.UnexpectedToken.TokenID; // comma\n var line = error.Line; // 3\n var column = error.Column; // 12\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "888b2fa4054257af4208873210e31423d1fb5b43968b4395ca5c000751786919" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'group' is never used", - "markdown": "Local variable 'group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 564, - "startColumn": 54, - "charOffset": 22513, - "charLength": 5, - "snippet": { - "text": "group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 562, - "startColumn": 1, - "charOffset": 22383, - "charLength": 241, - "snippet": { - "text": " break;\n }\n case GroupClause group:\n {\n expected = typeof(Group);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8e69044e7a1cd04f541620c91d8e41e8cc2ee7f3aa258af1372bd5fa816cdb24" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 17, - "charOffset": 1193, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1135, - "charLength": 110, - "snippet": { - "text": " \n public void TestJson() {\n var ignored = BenchedLexer.Tokenize(content);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98d0b0e951df324addecba359d8c5bc659e7ddfc881e6f2b061e33e62c544cb7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'group' is never used", - "markdown": "Local variable 'group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 80, - "startColumn": 42, - "charOffset": 2859, - "charLength": 5, - "snippet": { - "text": "group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 78, - "startColumn": 1, - "charOffset": 2698, - "charLength": 293, - "snippet": { - "text": " case SyntaxLeaf leaf:\n return SyntaxVisitorResult.NewToken(leaf.Token);\n case GroupSyntaxNode group:\n return SyntaxVisitorResult.NewOptionGroupSome(innerResult.GroupResult);\n default:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "996f82a11212b41793d6f45ef5df7cd27cfaa813d6ca198a0846e28e916ec7c6" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'term' is never used", - "markdown": "Local variable 'term' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 546, - "startColumn": 57, - "charOffset": 21690, - "charLength": 4, - "snippet": { - "text": "term" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 544, - "startColumn": 1, - "charOffset": 21555, - "charLength": 246, - "snippet": { - "text": " switch (innerClause)\n {\n case TerminalClause term:\n {\n expected = typeof(List>);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9bb95d66864ce11d4c493cf65c436a66b9e2e1f77183dedba90edb829fe011e1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'headers' is never used", - "markdown": "Local variable 'headers' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 904, - "startColumn": 30, - "charOffset": 31483, - "charLength": 7, - "snippet": { - "text": "headers" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 902, - "startColumn": 1, - "charOffset": 31346, - "charLength": 200, - "snippet": { - "text": " var width = tokens.Tokens.GetChannels().Select(x => x.Tokens.Count).Max();\n \n List headers = new List();\n \n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9cbfadc408fb4974a68c2617a3dbc3024a368baa5001d3be30093b267d87e35a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'found' is never used", - "markdown": "Local variable 'found' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 526, - "startColumn": 33, - "charOffset": 20812, - "charLength": 5, - "snippet": { - "text": "found" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 524, - "startColumn": 1, - "charOffset": 20704, - "charLength": 217, - "snippet": { - "text": " {\n Type expected = null;\n var found = arg.ParameterType;\n if (nonTerminal.IsGroup)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9fdf9ccd79e42245c185f77cbefc686f8e0ff02fb58378dde928fcf7593fbf87" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'isError' is never used", - "markdown": "Local variable 'isError' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 408, - "startColumn": 17, - "charOffset": 12647, - "charLength": 7, - "snippet": { - "text": "isError" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 406, - "startColumn": 1, - "charOffset": 12588, - "charLength": 185, - "snippet": { - "text": " var r = parser.Parse(source);\n\n var isError = r.IsError; // true\n var root = r.Result; // null;\n var errors = r.Errors; // !null & count > 0" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a1a3d67182097047dc0e72659e5dd908803df3557ce543a26e44e8acb5473a3a" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'baseJob' is never used", - "markdown": "Local variable 'baseJob' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 24, - "startColumn": 21, - "charOffset": 458, - "charLength": 7, - "snippet": { - "text": "baseJob" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 22, - "startColumn": 1, - "charOffset": 396, - "charLength": 150, - "snippet": { - "text": " public Config()\n {\n var baseJob = Job.MediumRun.With(CsProjCoreToolchain.Current.Value);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a3d2fbf31ea060c0c097c3023ebff31d626f95ff3e7affb094585300e265da57" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'token' is never used", - "markdown": "Local variable 'token' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/EnumConverter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 38, - "startColumn": 51, - "charOffset": 1169, - "charLength": 5, - "snippet": { - "text": "token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 36, - "startColumn": 1, - "charOffset": 1096, - "charLength": 96, - "snippet": { - "text": " {\n \n return Enum.TryParse(name, out IN token);\n }\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a91c1aed792486166e9c8ee49c0c5d1b25a8327766231fa42bafbfbcda5513ce" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'group' is never used", - "markdown": "Local variable 'group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 619, - "startColumn": 54, - "charOffset": 25066, - "charLength": 5, - "snippet": { - "text": "group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 617, - "startColumn": 1, - "charOffset": 24936, - "charLength": 254, - "snippet": { - "text": " break;\n }\n case GroupClause group:\n {\n expected = typeof(ValueOption>);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a9af580b9a8f66555d5d21ed76fdd3d244bd35031bfc96477200123a4f374cc4" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'res' is never used", - "markdown": "Local variable 'res' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/i18n/I18N.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 55, - "startColumn": 17, - "charOffset": 1515, - "charLength": 3, - "snippet": { - "text": "res" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 53, - "startColumn": 1, - "charOffset": 1378, - "charLength": 298, - "snippet": { - "text": " var translation = new Dictionary();\n Assembly assembly = GetType().Assembly;\n var res = assembly.GetManifestResourceNames();\n using (var stream = assembly.GetManifestResourceStream($\"sly.i18n.translations.{lang}.txt\"))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "af0cbae6e7d74fab5db39ce09f09ba575eacc951a7e4aefb27b77cf32ab50251" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'val' is never used", - "markdown": "Local variable 'val' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SemanticChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 53, - "startColumn": 17, - "charOffset": 2044, - "charLength": 3, - "snippet": { - "text": "val" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 51, - "startColumn": 1, - "charOffset": 1938, - "charLength": 174, - "snippet": { - "text": " private void SemanticCheck(PrintStatement ast, CompilerContext context)\n {\n var val = expressionTyper.TypeExpression(ast.Value, context);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b41c6ea16256dbf1787d2e16ff1946a5860cc634b003cb9a3e87978a7addc072" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'node' is never used", - "markdown": "Local variable 'node' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 21, - "charOffset": 25103, - "charLength": 4, - "snippet": { - "text": "node" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 25052, - "charLength": 169, - "snippet": { - "text": " else\n {\n var node = innerResult.Root;\n \n var children = new List> {innerResult.Root};" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b69fdfde2cb81fb69e54c229b020ea0c617c51473df70a61083909ebe0e7d345" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 't' is never used", - "markdown": "Local variable 't' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 631, - "startColumn": 33, - "charOffset": 27448, - "charLength": 1, - "snippet": { - "text": "t" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 629, - "startColumn": 1, - "charOffset": 27349, - "charLength": 308, - "snippet": { - "text": " if (x.IsSuccess)\n {\n var t = fsmBuilder.Marks;\n var y = fsmBuilder.Marks.FirstOrDefault(k => k.Value == x.NodeId);\n if (y.Key == GenericLexer.in_identifier) // explicit keyword" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bca15fb4e93fbd08d14477d215ee018815262f2cd65afd37abd6e5e0c20f1a60" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'found' is never used", - "markdown": "Local variable 'found' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 597, - "startColumn": 34, - "charOffset": 24012, - "charLength": 5, - "snippet": { - "text": "found" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 595, - "startColumn": 1, - "charOffset": 23903, - "charLength": 245, - "snippet": { - "text": " {\n Type expected = null;\n Type found = arg.ParameterType;\n var innerClause = option.Clause;\n switch (innerClause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c1bc24fa7805f1748437e392d426ac9e31c61fd2ce33220b1422b90ba6188cd3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'token' is never used", - "markdown": "Local variable 'token' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 412, - "startColumn": 17, - "charOffset": 12870, - "charLength": 5, - "snippet": { - "text": "token" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 410, - "startColumn": 1, - "charOffset": 12718, - "charLength": 284, - "snippet": { - "text": " var errors = r.Errors; // !null & count > 0\n var error = errors[0] as UnexpectedTokenSyntaxError; // \n var token = error.UnexpectedToken.TokenID; // comma\n var line = error.Line; // 3\n var column = error.Column; // 12" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cf6f0642b2e2ff98458cb8eb1819ab89f241f3f8c3014db2926a9dba604415c1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'column' is never used", - "markdown": "Local variable 'column' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 414, - "startColumn": 17, - "charOffset": 12974, - "charLength": 6, - "snippet": { - "text": "column" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 412, - "startColumn": 1, - "charOffset": 12854, - "charLength": 159, - "snippet": { - "text": " var token = error.UnexpectedToken.TokenID; // comma\n var line = error.Line; // 3\n var column = error.Column; // 12\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cfa33963b6ec0d8ce66e8bd8afe65addd4fd23d5eaeb930aefb5eba6a63fac11" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'graph' is never used", - "markdown": "Local variable 'graph' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 655, - "startColumn": 21, - "charOffset": 22543, - "charLength": 5, - "snippet": { - "text": "graph" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 653, - "startColumn": 1, - "charOffset": 22381, - "charLength": 248, - "snippet": { - "text": " var graphviz = new GraphVizEBNFSyntaxTreeVisitor();\n var root = graphviz.VisitTree(r.SyntaxTree);\n var graph = graphviz.Graph.Compile();\n r = parser.Parse(ko2);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d4c46ff861aaaf4670e34e816a18be7259b2c67a250060b9760b422b220db7f2" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'recursionChecker' is never used", - "markdown": "Local variable 'recursionChecker' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 47, - "charOffset": 1724, - "charLength": 16, - "snippet": { - "text": "recursionChecker" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1559, - "charLength": 262, - "snippet": { - "text": " {\n configuration = ExtractEbnfParserConfiguration(parserInstance.GetType(), grammarParser);\n LeftRecursionChecker recursionChecker = new LeftRecursionChecker();\n\n // check left recursion." - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d5b875ae22a395c66f7dc7e2779f862c01253022ebacd609fcc1053b6c73c233" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'epsilon' is never used", - "markdown": "Local variable 'epsilon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 40, - "charOffset": 1102, - "charLength": 7, - "snippet": { - "text": "epsilon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 972, - "charLength": 230, - "snippet": { - "text": " case SyntaxNode node:\n return Visit(node, context);\n case SyntaxEpsilon epsilon:\n return SyntaxVisitorResult.Epsilon();\n default:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d8d05df24eae7ee44acf7715378458021f6c4807b5eafdbea774bbfbfb27b35b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'group' is never used", - "markdown": "Local variable 'group' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 587, - "startColumn": 46, - "charOffset": 23538, - "charLength": 5, - "snippet": { - "text": "group" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 585, - "startColumn": 1, - "charOffset": 23432, - "charLength": 206, - "snippet": { - "text": " break;\n }\n case GroupClause group:\n {\n Type expected = typeof(Group);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d978a4aae58bd38c0d2a144b48db1ed5c9c0027efd7aead6b30aae13ac6c4461" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/profiler/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 25, - "startColumn": 21, - "charOffset": 778, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 23, - "startColumn": 1, - "charOffset": 693, - "charLength": 193, - "snippet": { - "text": " {\n Console.WriteLine($\"test #{i} .\");\n var ignored = result.Result.Parse(content);\n Console.WriteLine($\"test #{i} done.\");\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "profiler", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "df7fb5acaf116c3747249614d1da257b3f8e43e4cb98be5c0fbe5eeac2ecb947" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'index' is never used", - "markdown": "Local variable 'index' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 301, - "startColumn": 25, - "charOffset": 11064, - "charLength": 5, - "snippet": { - "text": "index" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 299, - "startColumn": 1, - "charOffset": 10933, - "charLength": 264, - "snippet": { - "text": " int line = eols.Any>() ? eols.Count : 0;\n int column = 0;\n int index = newPosition.Index;\n // r.Result.Position.Line = line+1;\n r.NewPosition.Line = line + 1;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dff8e1d424aae167f9caf331c3a854b899698c89100fe7245ee915a98567a602" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'summary' is never used", - "markdown": "Local variable 'summary' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 17, - "charOffset": 160, - "charLength": 7, - "snippet": { - "text": "summary" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 90, - "charLength": 130, - "snippet": { - "text": " private static void BenchJson() {\n \n var summary = BenchmarkRunner.Run();\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e3208e5fcfdc88b82686af9cdc1cd05c1bf03f0b9a6192a2fdf4386dfdc7639b" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'root' is never used", - "markdown": "Local variable 'root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 530, - "startColumn": 17, - "charOffset": 17297, - "charLength": 4, - "snippet": { - "text": "root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 528, - "startColumn": 1, - "charOffset": 17158, - "charLength": 274, - "snippet": { - "text": " var tree = result.SyntaxTree;\n var graphviz = new GraphVizEBNFSyntaxTreeVisitor();\n var root = graphviz.VisitTree(tree);\n string graph = graphviz.Graph.Compile();\n // File.Delete(\"c:\\\\temp\\\\tree.dot\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e4dcbffa71d1e78ce13c2cdaa4e3c44cd3aad51d779bbbfe486fe93168c61364" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'found' is never used", - "markdown": "Local variable 'found' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 542, - "startColumn": 34, - "charOffset": 21469, - "charLength": 5, - "snippet": { - "text": "found" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 540, - "startColumn": 1, - "charOffset": 21360, - "charLength": 243, - "snippet": { - "text": " {\n Type expected = null;\n Type found = arg.ParameterType;\n var innerClause = many.Clause;\n switch (innerClause)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e6cc14cb305b5dec50d235f553e6873776b1b5216a5f1f1dda1efdd6aab01b3f" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'one' is never used", - "markdown": "Local variable 'one' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 774, - "startColumn": 21, - "charOffset": 27980, - "charLength": 3, - "snippet": { - "text": "one" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 772, - "startColumn": 1, - "charOffset": 27920, - "charLength": 171, - "snippet": { - "text": " if (lex.IsOk)\n {\n var one = lex.Result.Tokenize(\"2.0E+2\");\n ;\n var two = lex.Result.Tokenize(\"4.0e-2\");" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e7282637334e5161c8c40448159a1e84cdc5de8f882f8630a54bacaba7c736d3" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'context' is never used", - "markdown": "Local variable 'context' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 225, - "startColumn": 25, - "charOffset": 6034, - "charLength": 7, - "snippet": { - "text": "context" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 223, - "startColumn": 1, - "charOffset": 5932, - "charLength": 215, - "snippet": { - "text": " \n var interpreter = new Interpreter();\n var context = interpreter.Interprete(result.Result);\n\n var compiler = new IndentedWhileCompiler();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ed600f8547732ee2f7f6fd2d9650faf24d494e31ec1d2a4bd07a816e89a49c02" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'found' is never used", - "markdown": "Local variable 'found' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 590, - "startColumn": 34, - "charOffset": 23672, - "charLength": 5, - "snippet": { - "text": "found" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 588, - "startColumn": 1, - "charOffset": 23545, - "charLength": 277, - "snippet": { - "text": " {\n Type expected = typeof(Group);\n Type found = arg.ParameterType;\n result = CheckArgType(result, rule, expected, visitor, arg);\n break;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ef2c49eadeac8e9bc947e850c52108e4ba02511ff79f0f5daceb313d8d849b94" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'root' is never used", - "markdown": "Local variable 'root' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 409, - "startColumn": 17, - "charOffset": 12692, - "charLength": 4, - "snippet": { - "text": "root" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 407, - "startColumn": 1, - "charOffset": 12630, - "charLength": 223, - "snippet": { - "text": "\n var isError = r.IsError; // true\n var root = r.Result; // null;\n var errors = r.Errors; // !null & count > 0\n var error = errors[0] as UnexpectedTokenSyntaxError; // " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "efcc87147e13380b268c82ea60710b8f76de5355615b1ea38d143d8e751d4079" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'tIn' is never used", - "markdown": "Local variable 'tIn' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 255, - "startColumn": 25, - "charOffset": 9534, - "charLength": 3, - "snippet": { - "text": "tIn" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 253, - "startColumn": 1, - "charOffset": 9472, - "charLength": 170, - "snippet": { - "text": " try\n {\n var tIn = typeof(IN);\n var b = Enum.TryParse(item, out token);\n if (b)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f0af8c03e804322ae1b7f0bea327c60af0c6c0ff089f028bfc3a9d8a7df0a575" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'epsilon' is never used", - "markdown": "Local variable 'epsilon' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/EBNFSyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 40, - "charOffset": 2615, - "charLength": 7, - "snippet": { - "text": "epsilon" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2535, - "charLength": 204, - "snippet": { - "text": " switch (child)\n {\n case SyntaxEpsilon epsilon: \n return SyntaxVisitorResult.NewOptionNone();\n case SyntaxLeaf leaf:" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f128c76e0d6c61d489c79c6ec91dca841c5465787deb9a757a91563ede7fb17e" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'src' is never used", - "markdown": "Local variable 'src' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/GenericLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 158, - "startColumn": 20, - "charOffset": 5669, - "charLength": 3, - "snippet": { - "text": "src" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 156, - "startColumn": 1, - "charOffset": 5601, - "charLength": 156, - "snippet": { - "text": "\n var tokens = new List>();\n string src = source.ToString();\n\n var r = LexerFsm.Run(source, new LexerPosition());" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4f3bfb7ce54ae79fc3e7ca4ff14d697ee840defb5b652fbae823ac245e95a59" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'ignored' is never used", - "markdown": "Local variable 'ignored' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/GenericLexerBench.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 48, - "startColumn": 17, - "charOffset": 1060, - "charLength": 7, - "snippet": { - "text": "ignored" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 46, - "startColumn": 1, - "charOffset": 1003, - "charLength": 109, - "snippet": { - "text": " public void TestJson()\n {\n var ignored = BenchedLexer.Tokenize(content);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f745afa2506a45d6a8efccacf201afee428358abbaf134411fc89650dcf70078" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'dump' is never used", - "markdown": "Local variable 'dump' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 556, - "startColumn": 21, - "charOffset": 18214, - "charLength": 4, - "snippet": { - "text": "dump" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 554, - "startColumn": 1, - "charOffset": 18125, - "charLength": 203, - "snippet": { - "text": " var lexer = res.Result as GenericLexer;\n\n var dump = lexer.ToString();\n var graph = lexer.ToGraphViz();\n Console.WriteLine(graph);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fbaa7c0862a9f717dcf42e35a88ab2dfe93e56dcaedf67420bf21bf7f6be0dd1" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UnusedVariable.Compiler", - "kind": "fail", - "level": "warning", - "message": { - "text": "Local variable 'e' is never used", - "markdown": "Local variable 'e' is never used" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 274, - "startColumn": 38, - "charOffset": 7933, - "charLength": 1, - "snippet": { - "text": "e" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 272, - "startColumn": 1, - "charOffset": 7848, - "charLength": 135, - "snippet": { - "text": " }\n }\n catch (Exception e)\n {\n ;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fc5807d0e87f07d6dd3e4fc88880f2ee0fd5bc6aa9e5cf309177432b8d04150d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseCollectionCountProperty", - "kind": "fail", - "level": "note", - "message": { - "text": "Replace 'Enumerable.Count()' invocation with collection count property access", - "markdown": "Replace 'Enumerable.Count()' invocation with collection count property access" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/LeftRecursionChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 60, - "startColumn": 43, - "charOffset": 2198, - "charLength": 15, - "snippet": { - "text": ">()" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 58, - "startColumn": 1, - "charOffset": 2086, - "charLength": 193, - "snippet": { - "text": " stopped = !current.MayBeEmpty();\n i++;\n if (i < rule.Clauses.Count>())\n {\n current = rule.Clauses[i];" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f5b4c872c1d0b3126d6c968dd8027448645b2cceb39e7386f81868dbf34fc76e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseDeconstruction", - "kind": "fail", - "level": "note", - "message": { - "text": "Use deconstruction", - "markdown": "Use deconstruction" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 468, - "startColumn": 26, - "charOffset": 20107, - "charLength": 4, - "snippet": { - "text": "pair" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 466, - "startColumn": 1, - "charOffset": 19968, - "charLength": 212, - "snippet": { - "text": " var doubleLexeme = attributes.Values.SelectMany(x => x).FirstOrDefault(x => x.IsDouble);\n \n foreach (var pair in attributes)\n {\n var tokenID = pair.Key;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e265bedd434af97ac465018b748fcf6fb927a023e5fc8d5850fccd008d457727" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseNullPropagation", - "kind": "fail", - "level": "note", - "message": { - "text": "Use null propagation", - "markdown": "Use null propagation" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 41, - "charOffset": 4225, - "charLength": 7, - "snippet": { - "text": "!= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 4103, - "charLength": 208, - "snippet": { - "text": " if (!syntaxResult.IsError && syntaxResult.Root != null)\n {\n if (SyntaxParseCallback != null)\n {\n SyntaxParseCallback(syntaxResult.Root);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17e493c119c16995367fc25b43110a8cae759e1c88225984fcfa52751853cd78" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseNullPropagation", - "kind": "fail", - "level": "note", - "message": { - "text": "Use null propagation", - "markdown": "Use null propagation" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerPosition.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 21, - "charOffset": 1638, - "charLength": 7, - "snippet": { - "text": "!= null" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1567, - "charLength": 144, - "snippet": { - "text": " public int CompareTo(object obj)\n {\n if (obj != null)\n {\n if (obj is LexerPosition position)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c6831ef5e54b0ceded9f5187ea40f24ba49b883b0a0dc226ecc97757b34ee8b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 33, - "startColumn": 49, - "charOffset": 1260, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 31, - "startColumn": 1, - "charOffset": 1080, - "charLength": 340, - "snippet": { - "text": " var newNonTerm = CreateSubRule(group);\n newNonTerms.Add(newNonTerm);\n var newClause = new NonTerminalClause(newNonTerm.Name);\n newClause.IsGroup = true;\n newclauses.Add(newClause);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "07e402d8bf697bff8747bc07ca3075fe62c05fdb2547d98da084b643f2efbcf6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 340, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 278, - "charLength": 118, - "snippet": { - "text": " public JList(JSon item)\n {\n Items = new List();\n Items.Add(item);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "09c360afd40e4cc6cd922e715b0c476410adbf1ea07dd007c811e82843605ef8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 58, - "startColumn": 23, - "charOffset": 1731, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 56, - "startColumn": 1, - "charOffset": 1630, - "charLength": 203, - "snippet": { - "text": " public static SyntaxVisitorResult NewValue(OUT val)\n {\n var res = new SyntaxVisitorResult();\n res.ValueResult = val;\n res.IsValue = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11df059330bb0c7b5b20c847fe854bb6dd91598488d6075e637ca22d33741f32" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 22, - "charOffset": 191, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 113, - "charLength": 152, - "snippet": { - "text": " public JObject(string key, JSon value)\n {\n Values = new Dictionary();\n Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "1549fea343deba8c848fb7949b105b3d08a3fec774e9818712015d5d1b0eaa75" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 62, - "startColumn": 65, - "charOffset": 2824, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 60, - "startColumn": 1, - "charOffset": 2614, - "charLength": 402, - "snippet": { - "text": " var newNonTerm = CreateSubRule(optionGroup);\n newNonTerms.Add(newNonTerm);\n var newInnerNonTermClause = new NonTerminalClause(newNonTerm.Name);\n newInnerNonTermClause.IsGroup = true;\n option.Clause = newInnerNonTermClause;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "16fa195372352be01d806f6eb24fda0b60b7cd91ba065862b1414e811bc949d3" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Token.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 279, - "startColumn": 25, - "charOffset": 8158, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 277, - "startColumn": 1, - "charOffset": 8085, - "charLength": 148, - "snippet": { - "text": " public static Token Empty()\n {\n var empty = new Token();\n empty.IsEmpty = true;\n return empty;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "17ce8db31e0d64ec06ed9328f158d321e6a0e655249de55b28b01b39938aa98f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 23, - "charOffset": 1492, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1385, - "charLength": 209, - "snippet": { - "text": " public static SyntaxVisitorResult NewToken(Token tok)\n {\n var res = new SyntaxVisitorResult();\n res.TokenResult = tok;\n res.IsToken = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "27476738387d4cd6cbb636a7cc9fcb07da016a4b6a119cb7f8bb3dfd4585ea57" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 250, - "startColumn": 49, - "charOffset": 11955, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 248, - "startColumn": 1, - "charOffset": 11765, - "charLength": 404, - "snippet": { - "text": " children.Add(thirdResult.Root);\n currentPosition = thirdResult.EndingPosition;\n var finalNode = new SyntaxNode( nonTerminalName, children);\n finalNode.ExpressionAffix = rule.ExpressionAffix;\n finalNode = ManageExpressionRules(rule, finalNode);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "342f443a025d7c5b1b90f11a5946f52ec4ff78373285dcd405199461318d1eb6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JSONLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 50, - "startColumn": 29, - "charOffset": 1467, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 48, - "startColumn": 1, - "charOffset": 1361, - "charLength": 318, - "snippet": { - "text": " Func> NewToken = tok =>\n {\n var token = new Token();\n token.Position = new LexerPosition(currentTokenPosition, currentTokenLine, currentTokenColumn);\n token.SpanValue = source.Slice(tokenStartIndex,tokenLength);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "349d9edf6c8f2af59a6c27d03ce648d03cd35558d7ddbc7cb1a014dd704bb575" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 78, - "startColumn": 33, - "charOffset": 2720, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 76, - "startColumn": 1, - "charOffset": 2596, - "charLength": 233, - "snippet": { - "text": " result = new ParseResult();\n result.IsError = true;\n result.Errors = new List();\n result.Errors.Add(lexingResult.Error);\n return result;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3aae88f3445f4ab5329ddd64c09c0bea4f2cd1ee9039d71d81a1d181197d3c44" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 518, - "startColumn": 38, - "charOffset": 24063, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 516, - "startColumn": 1, - "charOffset": 23933, - "charLength": 277, - "snippet": { - "text": " else if (choiceClause.IsNonTerminalChoice)\n {\n result = new SyntaxParseResult();\n result.IsError = false;\n result.Root = new SyntaxEpsilon();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "3f6cb9ab09856e4bb9cd4fd0ec4d557bd66462d67fe5360930d247211d1aaa41" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 22, - "charOffset": 180, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 102, - "charLength": 152, - "snippet": { - "text": " public JObject(string key, JSon value)\n {\n Values = new Dictionary();\n Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "43030a5dbbca3447570be96e8fe894b4c69cf855bf35a8a2847fdb77eeb1548f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 119, - "startColumn": 23, - "charOffset": 3732, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 117, - "startColumn": 1, - "charOffset": 3618, - "charLength": 218, - "snippet": { - "text": " public static SyntaxVisitorResult NewGroup(Group group)\n {\n var res = new SyntaxVisitorResult();\n res.GroupResult = group;\n res.IsGroup = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "449fcb18ddbc2cd717a151fda05264948b154ee74189551121247989fee931a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 133, - "startColumn": 23, - "charOffset": 4132, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 131, - "startColumn": 1, - "charOffset": 4039, - "charLength": 186, - "snippet": { - "text": " public static SyntaxVisitorResult Epsilon()\n {\n var res = new SyntaxVisitorResult();\n res.IsEpsilon = true;\n return res;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4640cdd6d85c84eead41fd2a0279f2cbdc917021947c3c39e2f12076a02fa1d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 265, - "startColumn": 26, - "charOffset": 12835, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 263, - "startColumn": 1, - "charOffset": 12791, - "charLength": 146, - "snippet": { - "text": " }\n\n var result = new SyntaxParseResult();\n result.IsError = isError;\n result.Errors = errors;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "476d55621a3f2c8c8d579f194ab02a7b3a8bf34eaec712c4cf278daa4770995b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EBNFParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 26, - "charOffset": 2959, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2790, - "charLength": 345, - "snippet": { - "text": " SyntaxTreeVisitor visitor = null;\n visitor = new EBNFSyntaxTreeVisitor(configuration, parserInstance);\n var parser = new Parser(I18n, syntaxParser, visitor);\n parser.Configuration = configuration;\n var lexerResult = BuildLexer(extensionBuilder, lexerPostProcess," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4d111b82827b6eed4fc2bb3b4706268d3dd01768bbb37fd9d93d8e72cf14b8dd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 182, - "startColumn": 26, - "charOffset": 7294, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 180, - "startColumn": 1, - "charOffset": 7250, - "charLength": 146, - "snippet": { - "text": " }\n\n var result = new SyntaxParseResult();\n result.IsError = isError;\n result.Errors = errors;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5251b6d206e618cdd48e6c8f48111848a86809409ab9625d754ca7110301f543" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 135, - "startColumn": 24, - "charOffset": 3912, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 133, - "startColumn": 1, - "charOffset": 3836, - "charLength": 168, - "snippet": { - "text": " public FSMNode AddNode(N value)\n {\n var node = new FSMNode(value);\n node.Id = Nodes.Count;\n Nodes[node.Id] = node;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "59e7d0775f196c68b2d29bf8e719f583f1db5c16a171a3e8200a72d692fdf0a1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 329, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 267, - "charLength": 118, - "snippet": { - "text": " public JList(JSon item)\n {\n Items = new List();\n Items.Add(item);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "644a45e6e3bf7f2daeeb0c66637ecb7bd948466da3da3737c3488424a6f6a970" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 93, - "startColumn": 27, - "charOffset": 4118, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 91, - "startColumn": 1, - "charOffset": 3956, - "charLength": 260, - "snippet": { - "text": " var subRuleNonTerminalName = $\"GROUP-{clauses}\";\n var nonTerminal = new NonTerminal(subRuleNonTerminalName);\n var subRule = new Rule();\n subRule.Clauses = group.Clauses;\n subRule.IsSubRule = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "64c60bc9ebfadc27a264fa068a3aec4a88f9197d7862bd2a321667f51646a763" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 511, - "startColumn": 38, - "charOffset": 23677, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 509, - "startColumn": 1, - "charOffset": 23555, - "charLength": 289, - "snippet": { - "text": " if (choiceClause.IsTerminalChoice)\n {\n result = new SyntaxParseResult();\n result.IsError = false;\n result.Root = new SyntaxLeaf(Token.Empty(),false);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "67dfd2e5c8d82346977fecb31aac2626543fe8096e992d9b607318c56df9ca8c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 259, - "startColumn": 26, - "charOffset": 10351, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 257, - "startColumn": 1, - "charOffset": 10276, - "charLength": 246, - "snippet": { - "text": " return parseResult;\n }\n var result = new SyntaxParseResult();\n result.IsError = !terminal.Check(tokens[position]);\n result.EndingPosition = !result.IsError ? position + 1 : position;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "68fe19dd556e591c614fbcca955c6591536c16ea4ab1792c68ae2800f4889068" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 253, - "startColumn": 51, - "charOffset": 12220, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 251, - "startColumn": 1, - "charOffset": 12004, - "charLength": 396, - "snippet": { - "text": " finalNode.ExpressionAffix = rule.ExpressionAffix;\n finalNode = ManageExpressionRules(rule, finalNode);\n var finalResult = new SyntaxParseResult();\n finalResult.Root = finalNode;\n finalResult.IsEnded = currentPosition >= tokens.Count - 1" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "78053937bb6adbf845633911a19cbec96225d86952b5c2cb450299d743122302" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 22, - "charOffset": 184, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 106, - "charLength": 152, - "snippet": { - "text": " public JObject(string key, JSon value)\n {\n Values = new Dictionary();\n Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "783edb193a405bf2ea9c7836182a1b372371843ac514d61fb4ccf1767332192d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/syntax/grammar/ClauseSequence.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 23, - "charOffset": 271, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 192, - "charLength": 143, - "snippet": { - "text": " public ClauseSequence(IClause item)\n {\n Clauses = new List>();\n Clauses.Add(item);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7d1be3120b9de4bdaba18cc10bc04a739fa8c2385062d89db4d701ad96573f2a" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/postProcessedLexerParser/expressionModel/FormulaParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 71, - "startColumn": 43, - "charOffset": 2701, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 69, - "startColumn": 1, - "charOffset": 2591, - "charLength": 233, - "snippet": { - "text": " List> others)\n {\n List parameters = new List();\n parameters.Add(first);\n parameters.AddRange(others.Select(x => x.Value(0)));" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "postProcessedLexerParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7da58ad61b853dc72ee586617dec5b9c5b03de9b3d85933038563148c8c5081f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 66, - "startColumn": 23, - "charOffset": 1983, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 64, - "startColumn": 1, - "charOffset": 1869, - "charLength": 227, - "snippet": { - "text": " public static SyntaxVisitorResult NewValueList(List values)\n {\n var res = new SyntaxVisitorResult();\n res.ValueListResult = values;\n res.IsValueList = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "82b4e5b8f8c43be2acc7726361df094d158235eab390b06e39aede46b9f4ab9e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonModel/JObject.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 22, - "charOffset": 180, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 102, - "charLength": 152, - "snippet": { - "text": " public JObject(string key, JSon value)\n {\n Values = new Dictionary();\n Values[key] = value;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "87b226841ea5ab75f12ad5cc89c3cf4872fda0e06f2202473df835903c096113" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 245, - "startColumn": 44, - "charOffset": 11607, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 243, - "startColumn": 1, - "charOffset": 11501, - "charLength": 263, - "snippet": { - "text": " else\n {\n children = new List>();\n children.Add(firstResult.Root);\n children.Add(secondResult.Root);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8ddd8c25d9765024c9f51011a9a25a7c026d08c79408e6e3e8a44019cfb38e79" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 23, - "charOffset": 2828, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2791, - "charLength": 132, - "snippet": { - "text": " }\n\n var eos = new Token();\n eos.Channel = Channels.Main;\n if (previousToken != null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "92e9fb2b1dd855e0a3504d418e070e3d1513125a2c84aca3b825164496c57194" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 44, - "startColumn": 65, - "charOffset": 1894, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 42, - "startColumn": 1, - "charOffset": 1686, - "charLength": 398, - "snippet": { - "text": " var newNonTerm = CreateSubRule(manyGroup);\n newNonTerms.Add(newNonTerm);\n var newInnerNonTermClause = new NonTerminalClause(newNonTerm.Name);\n newInnerNonTermClause.IsGroup = true;\n many.Clause = newInnerNonTermClause;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "948c8e5f728cff830f8544b67958c64b06214d4edf85df69e5fea1e4403e1f15" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 134, - "startColumn": 26, - "charOffset": 6469, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 132, - "startColumn": 1, - "charOffset": 6425, - "charLength": 146, - "snippet": { - "text": " }\n\n var result = new SyntaxParseResult();\n result.IsError = isError;\n result.Errors = errors;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "95330a536a5300c360c77e48ceb6f08e3a8a8a048170d67522c41e4f1cd8a6a4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/Lexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 73, - "startColumn": 37, - "charOffset": 2476, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 71, - "startColumn": 1, - "charOffset": 2372, - "charLength": 307, - "snippet": { - "text": " if (!matchedDefinition.IsIgnored)\n {\n previousToken = new Token(matchedDefinition.TokenID, value,\n new LexerPosition(currentIndex, currentLine, currentColumn));\n previousToken.Channel = matchedDefinition.Channel;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "989998c564d3befb95cb16fa4ad06030014d29aba81d063c66e0138ddbef41fe" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/compiler/SemanticChecker.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 27, - "charOffset": 324, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 235, - "charLength": 198, - "snippet": { - "text": " {\n expressionTyper = new ExpressionTyper();\n var context = new CompilerContext();\n context.IsQuiet = isQuiet;\n return SemanticCheck(ast, context);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "99b992173ea54b451b107f19cc5ef8f27cc9e0546df8657cd45a9db798a67317" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 383, - "startColumn": 26, - "charOffset": 15342, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 381, - "startColumn": 1, - "charOffset": 15315, - "charLength": 127, - "snippet": { - "text": "\n\n var result = new SyntaxParseResult();\n result.Errors = errors;\n result.Root = max.Root;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9b4d0e59d8eaf57cd45ae8b3c7a63e1fa42661e529f7f63c44e488042af4e48c" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 112, - "startColumn": 23, - "charOffset": 3503, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 110, - "startColumn": 1, - "charOffset": 3404, - "charLength": 202, - "snippet": { - "text": " public static SyntaxVisitorResult NewOptionNone()\n {\n var res = new SyntaxVisitorResult();\n res.OptionResult = None();\n return res;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c187173b59f3012697619e22078baa9e3fcd49cf1d16d64da80096bb01ba376" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 423, - "startColumn": 25, - "charOffset": 16952, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 421, - "startColumn": 1, - "charOffset": 16913, - "charLength": 132, - "snippet": { - "text": " }\n\n var error = new SyntaxParseResult();\n error.IsError = true;\n error.Root = null;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9c6fb70ee1d5f0b5bee314fbc1115c4cbd580c4070e79ed6a3dd2c8cb1f0b742" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 243, - "startColumn": 24, - "charOffset": 8997, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 241, - "startColumn": 1, - "charOffset": 8889, - "charLength": 246, - "snippet": { - "text": " private Rule BuildNonTerminal(Tuple ntAndRule)\n {\n var rule = new Rule();\n rule.RuleString = $\"{ntAndRule.Item1} : {ntAndRule.Item2}\";\n var clauses = new List>();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "9ee53e88e1d86dc5e19d221bf0dc6181119b0cf47375d0a20a6552c396d41afb" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 74, - "startColumn": 23, - "charOffset": 2257, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 72, - "startColumn": 1, - "charOffset": 2132, - "charLength": 238, - "snippet": { - "text": " public static SyntaxVisitorResult NewGroupList(List> values)\n {\n var res = new SyntaxVisitorResult();\n res.GroupListResult = values;\n res.IsGroupList = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b63af0794b19fa431a6d0c463e7fe576c2d9afa6f0971c2aa6bf05fa76f596a2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/Parser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 76, - "startColumn": 26, - "charOffset": 2621, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 74, - "startColumn": 1, - "charOffset": 2544, - "charLength": 199, - "snippet": { - "text": " if (lexingResult.IsError)\n {\n result = new ParseResult();\n result.IsError = true;\n result.Errors = new List();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bb75b439c7ee9a9df62c52c7df9d7491d2a8e332ee4a2546e0cf2103a5aa56f5" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/RuleParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 24, - "charOffset": 403, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 241, - "charLength": 268, - "snippet": { - "text": " public GrammarNode Root(Token name, Token discarded, ClauseSequence clauses)\n {\n var rule = new Rule();\n rule.NonTerminalName = name.Value;\n rule.Clauses = clauses.Clauses;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bca5aee93beb24939ab8dfb58f5d4fcf910c70643f77a0856a65540ed9eccfab" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 82, - "startColumn": 23, - "charOffset": 2526, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 80, - "startColumn": 1, - "charOffset": 2406, - "charLength": 233, - "snippet": { - "text": " public static SyntaxVisitorResult NewTokenList(List> tokens)\n {\n var res = new SyntaxVisitorResult();\n res.TokenListResult = tokens;\n res.IsTokenList = true;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c1acaba487dd3fb6419c2a345946ceb8e76ae2c62bbbd6559ee60ffdf01327d9" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 333, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 271, - "charLength": 118, - "snippet": { - "text": " public JList(JSon item)\n {\n Items = new List();\n Items.Add(item);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c54f4f9d49ef61907673925da1980badba12d167b27116bafc965a1894b34091" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonModel/JList.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 21, - "charOffset": 329, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 267, - "charLength": 118, - "snippet": { - "text": " public JList(JSon item)\n {\n Items = new List();\n Items.Add(item);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cad24ed8e714f484e4e86d1687f392a343fc8518141d1efe2560dd25ad11d3e6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 90, - "startColumn": 23, - "charOffset": 2783, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 88, - "startColumn": 1, - "charOffset": 2675, - "charLength": 216, - "snippet": { - "text": " public static SyntaxVisitorResult NewOptionSome(OUT value)\n {\n var res = new SyntaxVisitorResult();\n res.OptionResult = Some(value);\n return res;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb3f3cbbec1b8c9fc8b839dcd9a41d69d53f4be550d4c02d0fcf7f7263255e76" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexerBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 324, - "startColumn": 29, - "charOffset": 14128, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 322, - "startColumn": 1, - "charOffset": 14052, - "charLength": 273, - "snippet": { - "text": " if (!subLexers.Any())\n {\n subLexers = new Dictionary>>();\n subLexers[ModeAttribute.DefaultLexerMode] = attributes.ToDictionary(x => x.Key,x => x.Value.lexemes);\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cd66b7719369f6dfd6fadc62ea2bfa89866f4cbfcc62ee313c84f66705338a9e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 23, - "charOffset": 3275, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 3171, - "charLength": 220, - "snippet": { - "text": " public static SyntaxVisitorResult NewOptionGroupNone()\n {\n var res = new SyntaxVisitorResult();\n res.OptionGroupResult = NoneGroup();\n return res;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ce23ca3b5c5dcfedeee058a5e3960ce44096d4f8458aa8bb0dc9470f7e9dab26" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 30, - "charOffset": 3272, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 3051, - "charLength": 325, - "snippet": { - "text": " var syntaxParser = BuildSyntaxParser(configuration, parserType, rootRule);\n var visitor = new SyntaxTreeVisitor(configuration, parserInstance);\n parser = new Parser(I18n, syntaxParser, visitor);\n\n parser.Instance = parserInstance;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da3bdc5b1be0dee0cbe02e1737d858e8d84e160632a50538363074120596abdd" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 143, - "startColumn": 24, - "charOffset": 4110, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 141, - "startColumn": 1, - "charOffset": 4041, - "charLength": 166, - "snippet": { - "text": " public FSMNode AddNode()\n {\n var node = new FSMNode(default(N));\n node.Id = Nodes.Count;\n Nodes[node.Id] = node;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "da57dab7ce1819d19e5f52e86fccefb3caa69848b088773db44e10eede9eed91" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 528, - "startColumn": 34, - "charOffset": 24437, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 526, - "startColumn": 1, - "charOffset": 24353, - "charLength": 244, - "snippet": { - "text": " default:\n {\n result = new SyntaxParseResult();\n result.IsError = true;\n var children = new List> {innerResult.Root};" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd1d0450493d5cb0b37dbd381b871dc1c4f11aa19f5155b02d0839baa4722cd8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use collection initializer", - "markdown": "Use collection initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 299, - "startColumn": 28, - "charOffset": 10879, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 297, - "startColumn": 1, - "charOffset": 10748, - "charLength": 251, - "snippet": { - "text": " private BuildResult> CheckParser(BuildResult> result)\n {\n var checkers = new List>();\n checkers.Add(CheckUnreachable);\n checkers.Add(CheckNotFound);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "dd86fa214de0820478b31068817a3dbba89d0d988116bed1c7bef4b7625b54b8" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 502, - "startColumn": 34, - "charOffset": 23229, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 500, - "startColumn": 1, - "charOffset": 23131, - "charLength": 256, - "snippet": { - "text": " {\n case TerminalClause _:\n result = new SyntaxParseResult();\n result.IsError = true;\n result.Root = new SyntaxLeaf(Token.Empty(),false);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f004f9e7c9715726e50ecfe9f0d3ab14e91839fad59e8b8c64000bd6d27f533e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/EBNFRecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 152, - "startColumn": 28, - "charOffset": 7249, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 150, - "startColumn": 1, - "charOffset": 7183, - "charLength": 241, - "snippet": { - "text": " else\n {\n node = new SyntaxNode( nonTerminalName, children);\n node.ExpressionAffix = rule.ExpressionAffix;\n node = ManageExpressionRules(rule, node);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f4a8e79655b70e2c8517478e54b330a1f93d38cd963c063a56d3519707f6a878" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseObjectOrCollectionInitializer", - "kind": "fail", - "level": "note", - "message": { - "text": "Use object initializer", - "markdown": "Use object initializer" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/SyntaxTreeVisitor.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 97, - "startColumn": 23, - "charOffset": 3027, - "charLength": 3, - "snippet": { - "text": "new" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 95, - "startColumn": 1, - "charOffset": 2903, - "charLength": 248, - "snippet": { - "text": " public static SyntaxVisitorResult NewOptionGroupSome(Group group)\n {\n var res = new SyntaxVisitorResult();\n res.OptionGroupResult = Some>(group);\n return res;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "fa885732b0cd23ec99af980cf3600e638ea443ea13f3499eaaeac480d9554d15" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 832, - "startColumn": 22, - "charOffset": 29339, - "charLength": 113, - "snippet": { - "text": "@\"if truc == 1\n un = 1\n deux = 2\nelse \n trois = 3\n quatre = 4\n if bidule ==89\n toto = 28\nfinal = 9999\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 830, - "startColumn": 1, - "charOffset": 29270, - "charLength": 277, - "snippet": { - "text": " IndentedTest1(source);\n \n source = @\"if truc == 1\n un = 1\n deux = 2\nelse \n trois = 3\n quatre = 4\n if bidule ==89\n toto = 28\nfinal = 9999\n\";\n Console.WriteLine(\"********************\");\n Console.WriteLine(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2c23b628228a1dce90ebefae3d8a1b9694e696ca87a3ac4d92cdeedde8d317f1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/SimpleTemplate/TemplateParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 36, - "startColumn": 21, - "charOffset": 856, - "charLength": 259, - "snippet": { - "text": "@\"item : OPEN_CODE[d] IF[d] OPEN_PAREN[d] TemplateParser_expressions CLOSE_PAREN[d] CLOSE_CODE[d]\n item* \n elseBlock? \n OPEN_CODE[d] ENDIF[d] CLOSE_CODE[d] \"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 34, - "startColumn": 1, - "charOffset": 825, - "charLength": 417, - "snippet": { - "text": " }\n\n [Production(@\"item : OPEN_CODE[d] IF[d] OPEN_PAREN[d] TemplateParser_expressions CLOSE_PAREN[d] CLOSE_CODE[d]\n item* \n elseBlock? \n OPEN_CODE[d] ENDIF[d] CLOSE_CODE[d] \")]\n public ITemplate Conditional(Expression cond, List thenBlock, ValueOption elseBlock)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "SimpleTemplate", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "2d420aa9c885837c6b0d3392130bb15dac2a7b028141021928fb4974d4f12f10" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1236, - "startColumn": 37, - "charOffset": 42953, - "charLength": 302, - "snippet": { - "text": "@\"\n\n\n\n \n \n \n \n inner inner content\n \n \n\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1234, - "startColumn": 1, - "charOffset": 42842, - "charLength": 457, - "snippet": { - "text": " }\n Console.WriteLine(r.Result.SyntaxParser.Dump());\n var pr = r.Result.Parse(@\"\n\n\n\n \n \n \n \n inner inner content\n \n \n\n\");\n if (pr.IsError)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "44588ee62088638ab213a0bd7c49b223277d60dac7321dcd971e1035ed6b487b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 251, - "startColumn": 27, - "charOffset": 7213, - "charLength": 52, - "snippet": { - "text": "@\"\n(\n r:=1;\n i:=1;\n while i < 11 do \n (\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 249, - "startColumn": 1, - "charOffset": 7001, - "charLength": 349, - "snippet": { - "text": " var builder = new ParserBuilder();\n var Parser = builder.BuildParser(whileParser, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"statement\");\n var program = @\"\n(\n r:=1;\n i:=1;\n while i < 11 do \n (\";\n program += \"r := r * i;\\n\";\n program += \"i := i + 1 \\n);\\n\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "689f8bbaf4947b1dbe10e9d898bd77385874c9993b25b712ae496ffa6c93bd95" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 402, - "startColumn": 26, - "charOffset": 12533, - "charLength": 34, - "snippet": { - "text": "@\"{\n 'one': 1,\n 'bug':{,}\n}\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 400, - "startColumn": 1, - "charOffset": 12506, - "charLength": 124, - "snippet": { - "text": "\n\n var source = @\"{\n 'one': 1,\n 'bug':{,}\n}\".Replace(\"'\", \"\\\"\");\n var r = parser.Parse(source);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6d929a99c5981c45b942d129ccb7f27c8e592acf0b6138b396b1d164954cf387" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 193, - "startColumn": 1, - "charOffset": 5238, - "charLength": 239, - "snippet": { - "text": "@\"# indented factorial\nr:=1\ni:=1\nwhile i < 11 do\n\tprint \"\"i=\"\".i\n\tprint \"\"r=\"\".r\n\tr := r * i\n\ti := i + 1\nprint \"\"toto\"\"\n# begin a nested block\n x := 123\n y := 456\n z := x * y + 1\n print \"\"z= \"\".z\n# end of nested block\nreturn r\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 191, - "startColumn": 1, - "charOffset": 5198, - "charLength": 335, - "snippet": { - "text": " \n var program = \n@\"# indented factorial\nr:=1\ni:=1\nwhile i < 11 do\n\tprint \"\"i=\"\".i\n\tprint \"\"r=\"\".r\n\tr := r * i\n\ti := i + 1\nprint \"\"toto\"\"\n# begin a nested block\n x := 123\n y := 456\n z := x * y + 1\n print \"\"z= \"\".z\n# end of nested block\nreturn r\";\n for (int i = 0; i < 10; i++)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "74e7d1fb7155846b31424214f8ca7789290b372491e219bb5d8b986610df876d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 289, - "startColumn": 26, - "charOffset": 8270, - "charLength": 114, - "snippet": { - "text": "@\"\n(\n r:=1;\n i:=1;\n while i < 11 DO \n ( \n r := r * i;\n PRINT r;\n print i;\n i := i + 1 )\n)\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 287, - "startColumn": 1, - "charOffset": 8206, - "charLength": 181, - "snippet": { - "text": " var sw = new Stopwatch();\n\n var source = @\"\n(\n r:=1;\n i:=1;\n while i < 11 DO \n ( \n r := r * i;\n PRINT r;\n print i;\n i := i + 1 )\n)\";\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7b7dd6602082e57313553a38e6050116466ba6800cc422f866a6e0852ff0ae95" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1063, - "startColumn": 26, - "charOffset": 37193, - "charLength": 222, - "snippet": { - "text": "@\"hello \n\n{= world =}\n\nbilly \n \n\n!\n{% if (a == 1) %}-bob{%else%}foobar{%endif%}\n{% for 1..10 as i%}[\n {=i=}\n]]\n{% end%}\n\n====================\n\n{% for items as item%}**\n {=item=}\n...\n{% end%}\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1061, - "startColumn": 1, - "charOffset": 37154, - "charLength": 331, - "snippet": { - "text": " \n\n var source = @\"hello \n\n{= world =}\n\nbilly \n \n\n!\n{% if (a == 1) %}-bob{%else%}foobar{%endif%}\n{% for 1..10 as i%}[\n {=i=}\n]]\n{% end%}\n\n====================\n\n{% for items as item%}**\n {=item=}\n...\n{% end%}\n\";\n \n var tokens = genericLexer.Tokenize(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "8b5f5ac08abe31284931afa203483562bace276d3d4866220d3a2afb71c983ce" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 969, - "startColumn": 25, - "charOffset": 33587, - "charLength": 88, - "snippet": { - "text": "@\"if truc == 1\n un = 1\n deux = 2\n cinq = 5\nelse\n trois = 3\n quatre = 4\n\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 967, - "startColumn": 1, - "charOffset": 33494, - "charLength": 336, - "snippet": { - "text": " public static void TestIndentedParserNeverEnding()\n {\n var source =@\"if truc == 1\n un = 1\n deux = 2\n cinq = 5\nelse\n trois = 3\n quatre = 4\n\n\";\n ParserBuilder builder = new ParserBuilder();\n var instance = new IndentedParser();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "98614db04fbe764bfbcbddd22d91056dffe266a0d063b4b69586d2927c612e7d" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 816, - "startColumn": 29, - "charOffset": 29051, - "charLength": 103, - "snippet": { - "text": "@\"if truc == 1\n un = 1\n deux = 2\nelse\n if bidule ==89\n toto = 28\n trois = 3\n quatre = 4\n\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 814, - "startColumn": 1, - "charOffset": 28967, - "charLength": 258, - "snippet": { - "text": " public static void TestIndentedLang()\n {\n string source = @\"if truc == 1\n un = 1\n deux = 2\nelse\n if bidule ==89\n toto = 28\n trois = 3\n quatre = 4\n\n\";\nConsole.WriteLine(\"********************\");\nConsole.WriteLine(source);" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c320afd57ab7de528976174542720402a35f4c36cb4c9c19d675b0cd66b7dbc7" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 140, - "startColumn": 27, - "charOffset": 3481, - "charLength": 52, - "snippet": { - "text": "@\"\n(\n r:=1;\n i:=1;\n while i < 11 do \n (\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 138, - "startColumn": 1, - "charOffset": 3344, - "charLength": 278, - "snippet": { - "text": " var Parser = builder.BuildParser(whileParser, ParserType.EBNF_LL_RECURSIVE_DESCENT, \"statement\");\n\n var program = @\"\n(\n r:=1;\n i:=1;\n while i < 11 do \n (\";\n //program += \"\\nprint \\\"r=\\\".r;\\n\";\n program += \"r := r * i;\\n\";" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c99eab3e2e754701c8cdc31050df341c07067ed9d43c792a354f54cfbea503c2" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 895, - "startColumn": 30, - "charOffset": 31251, - "charLength": 39, - "snippet": { - "text": "@\"toto \n// commentaire\n1\nid\n\"\"string\"\"\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 893, - "startColumn": 1, - "charOffset": 31160, - "charLength": 185, - "snippet": { - "text": " {\n var lexer = lexerResult.Result;\n var source = @\"toto \n// commentaire\n1\nid\n\"\"string\"\"\";\n var tokens = lexer.Tokenize(source);\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e1ea9c5b59f572ce01c46967d08acac18a981d68c3f66550aa2c638aa1552c31" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseRawString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use raw string", - "markdown": "Use raw string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 1266, - "startColumn": 51, - "charOffset": 43859, - "charLength": 99, - "snippet": { - "text": "@\"hello\ninner text\n\n\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 1264, - "startColumn": 1, - "charOffset": 43669, - "charLength": 334, - "snippet": { - "text": " var lexerRes = LexerBuilder.BuildLexer(new BuildResult>());\n Assert.False(lexerRes.IsError);\n var tokens = lexerRes.Result.Tokenize(@\"hello\ninner text\n\n\");\n if (tokens.IsOk)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "ee90c9b15d7f14de2fdd17d5afbe73501cc567472506f3537fe8ddb2ea00ba94" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseStringInterpolation", - "kind": "fail", - "level": "note", - "message": { - "text": "Use string interpolation expression", - "markdown": "Use string interpolation expression" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/visitor/dotgraph/DotNode.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 32, - "startColumn": 36, - "charOffset": 773, - "charLength": 13, - "snippet": { - "text": "string.Format" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 30, - "startColumn": 1, - "charOffset": 669, - "charLength": 166, - "snippet": { - "text": " public string Attribute(string name, double value)\n {\n return Attribute(name, string.Format(\"{0:0.00}\", value).Replace(\",\",\".\"));\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6aab281ec66f35fe63c530fa36b2ace7afa6b9da8807e7b08d679cfe19dc48d6" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/while/parser/WhileToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 81, - "startColumn": 17, - "charOffset": 1454, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 79, - "startColumn": 1, - "charOffset": 1394, - "charLength": 112, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 53,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 54,\n\n EOF = 0" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "while", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "0c49222774e297c4758da2b4204c2bfcea2f88d4f0c3bf0c6dce25d6934095d4" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/ParserExample/Program.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 77, - "startColumn": 17, - "charOffset": 1770, - "charLength": 11, - "snippet": { - "text": "\"[\\\\r\\\\n]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 75, - "startColumn": 1, - "charOffset": 1680, - "charLength": 132, - "snippet": { - "text": " [Lexeme(\"r\")] r = 21,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 100,\n [Lexeme(\"[\\\\r\\\\n]+\", true, true)] EOL = 101\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "ParserExample", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4b54ed65b0cef7992296098962466d426b6c50df946e7dd82eabc164d0c2af08" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 19, - "startColumn": 17, - "charOffset": 468, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 17, - "startColumn": 1, - "charOffset": 414, - "charLength": 99, - "snippet": { - "text": " [Lexeme(\"^\\\\)\")] RPAREN = 9,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 10\n }\n " - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7547405ab352a4621e5ea89ed2063b17aa7295a590bb8a7e3b0c80bd94303333" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/benchCurrent/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 17, - "charOffset": 525, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 432, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "benchCurrent", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a95410ccdad747e6d93f7ca0b12fd6a6b2686d6545a6546ad331eb13cab46c3b" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench2.4/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 17, - "charOffset": 518, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench2.4", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "b4ff4bced9e1d93e9852d29b0e7aebca459fa0d8baeae9d5fe9abfb9057fcac1" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/expressionParser/ExpressionToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 54, - "startColumn": 17, - "charOffset": 1417, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 52, - "startColumn": 1, - "charOffset": 1357, - "charLength": 96, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 11,\n\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 12\n\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "expressionParser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cb2989cd614d70336daf9afec027cac1996e88fa83fcca9aa93023e98e5ca90e" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/bench/json/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 17, - "charOffset": 518, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "bench", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d10bb3b9b3bbe98ab597269d70325622e7729d08ce77a8548b156f779a7f5e40" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/EbnfToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 13, - "startColumn": 17, - "charOffset": 349, - "charLength": 10, - "snippet": { - "text": "\"^\\\\[d\\\\]\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 11, - "startColumn": 1, - "charOffset": 254, - "charLength": 158, - "snippet": { - "text": " [Lexeme(\"[ \\\\t]+\", true)] WS = 5,\n [Lexeme(\"^\\\\?\")] OPTION = 6,\n [Lexeme(\"^\\\\[d\\\\]\")] DISCARD = 7,\n\n [Lexeme(\"^\\\\(\")] LPAREN = 8," - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d34c5dd2879f12cae8e4f7664ef253ef1798955b4e77c448da8c8ed8fe05080f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "UseVerbatimString", - "kind": "fail", - "level": "note", - "message": { - "text": "Use verbatim string", - "markdown": "Use verbatim string" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/samples/jsonparser/JsonToken.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 18, - "startColumn": 17, - "charOffset": 518, - "charLength": 11, - "snippet": { - "text": "\"[\\\\n\\\\r]+\"" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 16, - "startColumn": 1, - "charOffset": 425, - "charLength": 171, - "snippet": { - "text": " [Lexeme(\":\")] COLON = 10,\n [Lexeme(\"[ \\\\t]+\", true)] WS = 12,\n [Lexeme(\"[\\\\n\\\\r]+\", true, true)] EOL = 13,\n [Lexeme(\"(null)\")] NULL = 14\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "jsonparser", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f66aa0ed08cfb62c9f2772c1f2d65fd472343c9f59b2488c4e247803c81f45aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 7.0" - ] - } - }, - { - "ruleId": "UselessBinaryOperation", - "kind": "fail", - "level": "warning", - "message": { - "text": "Addition or subtraction of 0 in every execution path, which is useless", - "markdown": "Addition or subtraction of 0 in every execution path, which is useless" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/fsm/FSMLexer.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 188, - "startColumn": 50, - "charOffset": 5364, - "charLength": 3, - "snippet": { - "text": "+ i" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 186, - "startColumn": 1, - "charOffset": 5300, - "charLength": 160, - "snippet": { - "text": " }\n\n char current = source.At(index + i);\n while (i < source.Length && (current == ' ' || current == '\\t'))\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "cdab5ecea7f5f0daae6d005b12a9280e26754b0ffa566b990a30fb0c6635c5a7" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 13, - "charOffset": 251, - "charLength": 4, - "snippet": { - "text": "Line" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 145, - "charLength": 192, - "snippet": { - "text": " public LexicalError(int line, int column, char unexpectedChar, string i18n)\n {\n Line = line;\n Column = column;\n UnexpectedChar = unexpectedChar;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "11d61726ce78f487b84b54711ac651590d44f663f3438160b7a9a41227076e71" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/IndentationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 10, - "startColumn": 13, - "charOffset": 239, - "charLength": 6, - "snippet": { - "text": "Column" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 8, - "startColumn": 1, - "charOffset": 192, - "charLength": 116, - "snippet": { - "text": " {\n Line = line;\n Column = column;\n ErrorType = ErrorType.IndentationError;\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4e2f2180807789bc9d3156b2353522fd195450da23f5dd59a24fc812426bf453" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 13, - "charOffset": 350, - "charLength": 9, - "snippet": { - "text": "ErrorType" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 264, - "charLength": 158, - "snippet": { - "text": " Column = column;\n UnexpectedChar = unexpectedChar;\n ErrorType = ErrorType.UnexpectedChar;\n I18n = i18n;\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "6ad75079302d6907d5b66dd3ddb5f3f9c0fb34e68c8251fdb7ca71ffea960c2d" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/IndentationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 11, - "startColumn": 13, - "charOffset": 268, - "charLength": 9, - "snippet": { - "text": "ErrorType" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 9, - "startColumn": 1, - "charOffset": 202, - "charLength": 116, - "snippet": { - "text": " Line = line;\n Column = column;\n ErrorType = ErrorType.IndentationError;\n\n }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "79bbcccc5d8b4614f4746a0d9c8bc7469f8e86047c9b614d72145aca7a01cb32" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 21, - "startColumn": 13, - "charOffset": 683, - "charLength": 9, - "snippet": { - "text": "ErrorType" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 19, - "startColumn": 1, - "charOffset": 615, - "charLength": 216, - "snippet": { - "text": " _labels = labels;\n _i18N = i18n;\n ErrorType = unexpectedToken.IsEOS ? ErrorType.UnexpectedEOS : ErrorType.UnexpectedToken;\n \n UnexpectedToken = unexpectedToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "7e37b28714ec184ee54d54f63a20b7e3bdda8240d97c5388c64364ad944b26c5" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/UnexpectedTokenSyntaxError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 39, - "startColumn": 13, - "charOffset": 1297, - "charLength": 9, - "snippet": { - "text": "ErrorType" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 37, - "startColumn": 1, - "charOffset": 1249, - "charLength": 196, - "snippet": { - "text": " {\n _i18N = i18n;\n ErrorType = unexpectedToken.IsEOS ? ErrorType.UnexpectedEOS : ErrorType.UnexpectedToken;\n \n UnexpectedToken = unexpectedToken;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c7d0b7bf2927cb72dd6fb37e3804fab1fe9c213ad53e8b61b4db067a45675428" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/IndentationError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 9, - "startColumn": 13, - "charOffset": 214, - "charLength": 4, - "snippet": { - "text": "Line" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 7, - "startColumn": 1, - "charOffset": 96, - "charLength": 211, - "snippet": { - "text": " public IndentationError(int line, int column, string i18n) : base(column,line,' ',i18n)\n {\n Line = line;\n Column = column;\n ErrorType = ErrorType.IndentationError;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "d03000a59e4956a4af0015faaee40a92118fd2ebf4c974b60a2f115299b6a3ac" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParser.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 20, - "startColumn": 13, - "charOffset": 624, - "charLength": 24, - "snippet": { - "text": "InitializeStartingTokens" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 18, - "startColumn": 1, - "charOffset": 513, - "charLength": 183, - "snippet": { - "text": " StartingNonTerminal = startingNonTerminal;\n ComputeSubRules(configuration);\n InitializeStartingTokens(Configuration, startingNonTerminal);\n }\n" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "e37eff1d2a622e17f63ef0d9210502176ba6b0fd2fe3c5176fde66cff67adeba" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberCallInConstructor", - "kind": "fail", - "level": "warning", - "message": { - "text": "Virtual member call in constructor", - "markdown": "Virtual member call in constructor" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/lexer/LexicalError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 12, - "startColumn": 13, - "charOffset": 276, - "charLength": 6, - "snippet": { - "text": "Column" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 10, - "startColumn": 1, - "charOffset": 229, - "charLength": 158, - "snippet": { - "text": " {\n Line = line;\n Column = column;\n UnexpectedChar = unexpectedChar;\n ErrorType = ErrorType.UnexpectedChar;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "f64ac14ee2df34ee41d8faa88f3b2e7891c8b53bb9d3551930f0ac0e324dc96c" - }, - "properties": { - "ideaSeverity": "WARNING", - "qodanaSeverity": "High", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberNeverOverridden.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Virtual method 'InitializeStartingTokens' is never overridden", - "markdown": "Virtual method 'InitializeStartingTokens' is never overridden" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 104, - "startColumn": 19, - "charOffset": 4398, - "charLength": 7, - "snippet": { - "text": "virtual" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 102, - "startColumn": 1, - "charOffset": 4347, - "charLength": 205, - "snippet": { - "text": " #region STARTING_TOKENS\n\n protected virtual void InitializeStartingTokens(ParserConfiguration configuration, string root)\n {\n var nts = configuration.NonTerminals;" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "4348cb75000da5328094d3ea9b300bdcb3ec71656e14caf4b67f98cdfa96b447" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberNeverOverridden.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Virtual method 'ExtractParserConfiguration' is never overridden", - "markdown": "Virtual method 'ExtractParserConfiguration' is never overridden" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 198, - "startColumn": 19, - "charOffset": 7110, - "charLength": 7, - "snippet": { - "text": "virtual" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 196, - "startColumn": 1, - "charOffset": 7090, - "charLength": 170, - "snippet": { - "text": "\n\n protected virtual ParserConfiguration ExtractParserConfiguration(Type parserClass)\n {\n var conf = new ParserConfiguration();" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "5a37d10d18748b3f311b743ba42e1977e9954edb2cc1da9bbecc15701ff1f1f0" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberNeverOverridden.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Virtual property 'ErrorType' is never overridden", - "markdown": "Virtual property 'ErrorType' is never overridden" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/ParseError.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 14, - "startColumn": 16, - "charOffset": 213, - "charLength": 7, - "snippet": { - "text": "virtual" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 12, - "startColumn": 1, - "charOffset": 164, - "charLength": 225, - "snippet": { - "text": " public class ParseError\n {\n public virtual ErrorType ErrorType { get; protected set; }\n public virtual int Column { get; protected set; }\n public virtual string ErrorMessage { get; protected set; }" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "a5d56637efc35e57675883d9145b94ea406a5535158cf0842a85a08c7b520389" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberNeverOverridden.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Virtual method 'BuildLexer' is never overridden", - "markdown": "Virtual method 'BuildLexer' is never overridden" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/generator/ParserBuilder.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 187, - "startColumn": 19, - "charOffset": 6663, - "charLength": 7, - "snippet": { - "text": "virtual" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 185, - "startColumn": 1, - "charOffset": 6643, - "charLength": 241, - "snippet": { - "text": "\n\n protected virtual BuildResult> BuildLexer(\n Action> extensionBuilder = null,\n LexerPostProcess lexerPostProcess = null, IList explicitTokens = null)" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "bc28035b73b80776ed5e8ac70f49da4486e8b950f66c930f31a61b182a5911aa" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NETStandard 2.0", - ".NET 7.0", - ".NET 6.0", - ".NETStandard 2.1" - ] - } - }, - { - "ruleId": "VirtualMemberNeverOverridden.Global", - "kind": "fail", - "level": "note", - "message": { - "text": "Virtual method 'InitStartingTokensForNonTerminal' is never overridden", - "markdown": "Virtual method 'InitStartingTokensForNonTerminal' is never overridden" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "src/sly/parser/parser/llparser/RecursiveDescentSyntaxParserStarter.cs", - "uriBaseId": "SRCROOT" - }, - "region": { - "startLine": 120, - "startColumn": 19, - "charOffset": 4958, - "charLength": 7, - "snippet": { - "text": "virtual" - }, - "sourceLanguage": "C#" - }, - "contextRegion": { - "startLine": 118, - "startColumn": 1, - "charOffset": 4929, - "charLength": 159, - "snippet": { - "text": " }\n\n protected virtual void InitStartingTokensForNonTerminal(Dictionary> nonTerminals,\n string name)\n {" - }, - "sourceLanguage": "C#" - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "sly", - "kind": "module" - } - ] - } - ], - "partialFingerprints": { - "equalIndicator/v1": "c3a99bfe9b1e5d7b24900ef869d0de53e982dced1c1fcb3b31efd8b91386cc1f" - }, - "properties": { - "ideaSeverity": "WEAK WARNING", - "qodanaSeverity": "Moderate", - "tags": [ - "C#", - ".NET 6.0", - ".NETStandard 2.0", - ".NET 7.0", - ".NETStandard 2.1" - ] - } - } - ], + "results": [], "automationDetails": { "id": "sly/qodana/2024-01-07", "guid": "48017dc5-207b-4499-b75d-45a54a006e6b", diff --git a/qodana.yaml b/qodana.yaml index 9171248b..5942f979 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -1,37 +1,13 @@ -#-------------------------------------------------------------------------------# -# Qodana analysis is configured by qodana.yaml file # -# https://www.jetbrains.com/help/qodana/qodana-yaml.html # -#-------------------------------------------------------------------------------# version: "1.0" - -#Specify IDE code to run analysis without container (Applied in CI/CD pipeline) +linter: jetbrains/qodana-dotnet:2023.2 ide: QDNET - -#Specify inspection profile for code analysis profile: name: qodana.starter - -#Enable inspections -#include: -# - name: - -#Disable inspections -#exclude: -# - name: -# paths: -# - exclude: - name: All paths: - - src/samples/ParserExample - - src/profiler - - src/benchCurrent - - src/bench2.4 - src/bench - -#Execute shell command before Qodana execution (Applied in CI/CD pipeline) -#bootstrap: sh ./prepare-qodana.sh - -#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) -#plugins: -# - id: #(plugin id can be found at https://plugins.jetbrains.com) + - src/bench2.4 + - src/benchCurrent + - src/profiler + - src/samples/ParserExample