Files
tree-sitter-jhcl/fuzz/corpus/0ebe0f8f99b2a628c9c9af54b12ef18fb85822bf

37 lines
731 B
Plaintext
Raw Normal View History

// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ 1, 2, 3.4, "foo" ]
tupl2 = []
obj1 = { foo = "baz" }
null1 = null
boo = [ for v in var.list : v if v < 3 ]
func1 = : @br("123")
cond1 = (1 == 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl1 = "prefix-${var.bar}"
tpl2 = "prefix-${func("bar")}"
tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl4 = <<EOF
prefix
${func("foo${ var.bar }")}
suffi%
EOF
nested_resource_1 {
attr1 = 2
attr2 = 2.112
attr1" "strlit2" {
atttr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x21FF<46> }
}