Debian Codegraph @

tests/snippets/terraform/test_variable_declaration.txt

raw
1 ---input---
2 variable "aws_region" {
3 description = "AWS region to launch servers."
4 default = "us-west-2"
5 somevar = true
6 }
7
8 ---tokens---
9 'variable' Keyword.Reserved
10 ' ' Text.Whitespace
11 '"aws_region"' Name.Variable
12 ' ' Text.Whitespace
13 '{' Punctuation
14 '\n' Text.Whitespace
15
16 ' ' Text.Whitespace
17 'description' Name.Attribute
18 ' ' Text.Whitespace
19 '=' Operator
20 ' ' Text.Whitespace
21 '"AWS region to launch servers."' Literal.String.Double
22 '\n' Text.Whitespace
23
24 ' ' Text.Whitespace
25 'default' Name.Attribute
26 ' ' Text.Whitespace
27 '=' Operator
28 ' ' Text.Whitespace
29 '"us-west-2"' Literal.String.Double
30 '\n' Text.Whitespace
31
32 ' ' Text.Whitespace
33 'somevar' Name.Attribute
34 ' ' Text.Whitespace
35 '=' Operator
36 ' ' Text.Whitespace
37 'true' Name.Constant
38 '\n' Text.Whitespace
39
40 '}' Punctuation
41 '\n' Text.Whitespace