Debian Codegraph @

tests/snippets/terraform/test_functions.txt

raw
1 ---input---
2 provider "aws" {
3 value = file("path.txt")
4 }
5
6 provider "aws" {
7 value = jsonencode(element("value"))
8 }
9
10 ---tokens---
11 'provider' Keyword.Reserved
12 ' ' Text.Whitespace
13 '"aws"' Name.Variable
14 ' ' Text.Whitespace
15 '{' Punctuation
16 '\n' Text.Whitespace
17
18 ' ' Text.Whitespace
19 'value' Name.Attribute
20 ' ' Text.Whitespace
21 '=' Operator
22 ' ' Text.Whitespace
23 'file' Name.Function
24 '(' Punctuation
25 '"path.txt"' Literal.String.Double
26 ')' Punctuation
27 '\n' Text.Whitespace
28
29 '}' Punctuation
30 '\n' Text.Whitespace
31
32 '\n' Text.Whitespace
33
34 'provider' Keyword.Reserved
35 ' ' Text.Whitespace
36 '"aws"' Name.Variable
37 ' ' Text.Whitespace
38 '{' Punctuation
39 '\n' Text.Whitespace
40
41 ' ' Text.Whitespace
42 'value' Name.Attribute
43 ' ' Text.Whitespace
44 '=' Operator
45 ' ' Text.Whitespace
46 'jsonencode' Name.Function
47 '(' Punctuation
48 'element' Name.Function
49 '(' Punctuation
50 '"value"' Literal.String.Double
51 ')' Punctuation
52 ')' Punctuation
53 '\n' Text.Whitespace
54
55 '}' Punctuation
56 '\n' Text.Whitespace