File: comment.input

package info (click to toggle)
golang-github-hashicorp-hcl 0.0~git20161215.0.80e628d-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 948 kB
  • sloc: makefile: 22
file content (37 lines) | stat: -rw-r--r-- 736 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// A standalone comment is a comment which is not attached to any kind of node

   // This comes from Terraform, as a test
variable "foo" {
	# Standalone comment should be still here

       default = "bar"
    description =     "bar" # yooo
}

/* This is a multi line standalone
comment*/


// fatih arslan
/* This is a developer test
account and a multine comment */
developer = [     "fatih",       "arslan"] // fatih arslan

# One line here
numbers = [1,2] // another line here

         # Another comment
variable = {
    description =     "bar" # another yooo
    foo { 
	# Nested standalone
	
        bar = "fatih"
    } 
}

          // lead comment
foo { 
    bar = "fatih"       // line comment 2 
}        // line comment 3