| 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 |
// fatih arslan |
| 15 |
/* This is a developer test |
| 16 |
account and a multine comment */ |
| 17 |
developer = ["fatih", "arslan"] // fatih arslan |
| 18 |
|
| 19 |
# One line here |
| 20 |
numbers = [1, 2] // another line here |
| 21 |
|
| 22 |
# Another comment |
| 23 |
variable = { |
| 24 |
description = "bar" # another yooo |
| 25 |
|
| 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 |
// comment |
| 39 |
multiline = "assignment" |