OSDN Git Service

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