← every case · 4000 · a quote that opens nothing
F# lets a name end in an apostrophe, so s' is one name. The apostrophe in the word it's, inside the string on the same line, is the other one. Neither may pair with the other: a counter that pairs them opens a string at the closing quote, which hides the block comment opened after it whether its strings end with the line or run on. The string runs over three lines and the middle one begins with //, so a counter that reads no string at all counts that line as a comment
| 1 | codecodecodecodecodecodecode | let s' = "it's fine |
| 2 | codecodecodecodecodecodecode | // and this line is inside it too |
| 3 | codecodecodecodecodecodecode | and so is this one" (* a real comment |
| 4 | commentscommentscommentscommentscommentscommentscomments | that closes on this line *) |
| 5 | codecodecodecodecodecodecode | let t' = 1 |
stringcommentthe tag around another language
its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs
--strip-str-comments
its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs --strip-str-comments
its F# filters drop every line that begins with //, so line 2, inside the string opened on line 1, is counted as a comment
cloc --json --config /tmp/linejudge-empty-file cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs --docstring-as-code
codestats cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs --output json-compact --include-generated --no-gitignore --hidden --no-config
mezura cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs --output json --hide timing --no-default-config --no-local --counting content
mezura cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs --output json --hide timing --no-default-config --no-local --counting region
scc --format json --no-config cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs
tokei --output json cases/4000-a_quote_that_opens_nothing/4080-primed_identifier_and_apostrophe/input.fs