Debian Codegraph @

hcl/printer/testdata/comment_crlf.input

raw
1 // A standalone comment is a comment which is not attached to any kind of node
2
3 // This comes from Terraform, as a test
4 variable "foo" {
5 # Standalone comment should be still here
6
7 default = "bar"
8 description = "bar" # yooo
9 }
10
11 /* This is a multi line standalone
12 comment*/
13
14
15 // fatih arslan
16 /* This is a developer test
17 account and a multine comment */
18 developer = [ "fatih", "arslan"] // fatih arslan
19
20 # One line here
21 numbers = [1,2] // another line here
22
23 # Another comment
24 variable = {
25 description = "bar" # another yooo
26 foo {
27 # Nested standalone
28
29 bar = "fatih"
30 }
31 }
32
33 // lead comment
34 foo {
35 bar = "fatih" // line comment 2
36 } // line comment 3
37
38 multiline = // comment
39 "assignment"