Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/ast-grep/rule-tests/__snapshots__/cmhasliteralprefix-char-snapshot.yml
5142 views
1
id: cmhasliteralprefix-char
2
snapshots:
3
cmHasLiteralPrefix(haystack, "'"):
4
fixed: cmHasPrefix(haystack, '\'')
5
labels:
6
- source: cmHasLiteralPrefix(haystack, "'")
7
style: primary
8
start: 0
9
end: 33
10
cmHasLiteralPrefix(haystack, "\n"):
11
fixed: cmHasPrefix(haystack, '\n')
12
labels:
13
- source: cmHasLiteralPrefix(haystack, "\n")
14
style: primary
15
start: 0
16
end: 34
17
cmHasLiteralPrefix(haystack, "a"):
18
fixed: cmHasPrefix(haystack, 'a')
19
labels:
20
- source: cmHasLiteralPrefix(haystack, "a")
21
style: primary
22
start: 0
23
end: 33
24
25