2024-04-07 20:59:34 +02:00
|
|
|
[
|
2024-04-07 22:37:52 +02:00
|
|
|
{
|
|
|
|
"type": "assignment",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"left": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"operator": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2024-04-07 22:40:17 +02:00
|
|
|
{
|
2024-04-08 03:13:43 +02:00
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
2024-04-07 22:37:52 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2024-04-08 03:12:22 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"left": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"operator": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
2024-04-08 03:13:43 +02:00
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
2024-04-08 03:12:22 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:39:47 +02:00
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-07 22:37:52 +02:00
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
2024-04-08 00:16:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:24:14 +02:00
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:36:21 +02:00
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:16:31 +02:00
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
2024-04-08 02:12:35 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
2024-04-07 22:37:52 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-04-08 09:48:10 +02:00
|
|
|
{
|
2024-04-11 19:33:52 +02:00
|
|
|
"type": "boolean_literal",
|
2024-04-08 09:48:10 +02:00
|
|
|
"named": true,
|
|
|
|
"fields": {}
|
|
|
|
},
|
2024-04-08 00:39:47 +02:00
|
|
|
{
|
2024-04-11 19:33:52 +02:00
|
|
|
"type": "comment",
|
2024-04-08 00:39:47 +02:00
|
|
|
"named": true,
|
|
|
|
"fields": {}
|
|
|
|
},
|
2024-04-07 23:49:15 +02:00
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true,
|
|
|
|
"fields": {}
|
|
|
|
},
|
2024-04-08 00:16:31 +02:00
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true,
|
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "escape_sequence",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2024-04-08 00:24:14 +02:00
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true,
|
2024-04-08 02:46:43 +02:00
|
|
|
"fields": {
|
|
|
|
"element": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
2024-04-08 03:12:22 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 02:46:43 +02:00
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-04-08 00:24:14 +02:00
|
|
|
}
|
|
|
|
},
|
2024-04-08 00:36:21 +02:00
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
2024-04-08 02:44:57 +02:00
|
|
|
"property": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
2024-04-08 02:49:24 +02:00
|
|
|
"type": "property",
|
2024-04-08 02:12:35 +02:00
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-04-08 02:36:27 +02:00
|
|
|
{
|
|
|
|
"type": "module",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
2024-04-08 02:49:24 +02:00
|
|
|
"property": {
|
2024-04-08 02:36:27 +02:00
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
2024-04-08 02:49:24 +02:00
|
|
|
"type": "property",
|
2024-04-08 02:36:27 +02:00
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-04-08 02:49:24 +02:00
|
|
|
"type": {
|
|
|
|
"multiple": false,
|
2024-04-08 22:25:44 +02:00
|
|
|
"required": true,
|
2024-04-08 02:44:57 +02:00
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
2024-04-08 02:49:24 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "property",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"field": {
|
2024-04-08 02:36:27 +02:00
|
|
|
"multiple": false,
|
2024-04-08 02:49:24 +02:00
|
|
|
"required": true,
|
2024-04-08 02:36:27 +02:00
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"value": {
|
2024-04-08 02:49:24 +02:00
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
2024-04-08 02:36:27 +02:00
|
|
|
"types": [
|
2024-04-08 03:12:22 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 02:36:27 +02:00
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "select_case",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"pattern": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2024-04-09 14:09:48 +02:00
|
|
|
{
|
|
|
|
"type": "default",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
2024-04-08 03:12:22 +02:00
|
|
|
{
|
|
|
|
"type": "binary_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "boolean_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "identifier",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "integer_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "map_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "unset",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_cases",
|
|
|
|
"named": true,
|
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "select_case",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_expression",
|
|
|
|
"named": true,
|
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "select_cases",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_value",
|
|
|
|
"named": true
|
2024-04-08 02:25:09 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "soong_config_variable",
|
|
|
|
"named": true
|
2024-04-08 02:12:35 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "select_value",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"condition": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "selection_type",
|
|
|
|
"named": true
|
2024-04-08 00:36:21 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-04-08 02:25:09 +02:00
|
|
|
{
|
|
|
|
"type": "soong_config_variable",
|
|
|
|
"named": true,
|
|
|
|
"fields": {
|
|
|
|
"condition": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": ",",
|
|
|
|
"named": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"namespace": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "selection_type",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"variable": {
|
|
|
|
"multiple": false,
|
|
|
|
"required": true,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "interpreted_string_literal",
|
|
|
|
"named": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-04-07 20:59:34 +02:00
|
|
|
{
|
|
|
|
"type": "source_file",
|
|
|
|
"named": true,
|
2024-04-07 22:37:52 +02:00
|
|
|
"fields": {},
|
|
|
|
"children": {
|
|
|
|
"multiple": true,
|
|
|
|
"required": false,
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "assignment",
|
|
|
|
"named": true
|
2024-04-08 02:36:27 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "module",
|
|
|
|
"named": true
|
2024-04-07 22:37:52 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-04-07 20:59:34 +02:00
|
|
|
},
|
2024-04-08 00:16:31 +02:00
|
|
|
{
|
|
|
|
"type": "\"",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "(",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": ")",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 00:24:14 +02:00
|
|
|
{
|
|
|
|
"type": ",",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-07 20:59:34 +02:00
|
|
|
{
|
2024-04-07 23:49:15 +02:00
|
|
|
"type": "-",
|
2024-04-07 20:59:34 +02:00
|
|
|
"named": false
|
2024-04-07 22:37:52 +02:00
|
|
|
},
|
2024-04-08 09:48:10 +02:00
|
|
|
{
|
|
|
|
"type": "/",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "/*",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 09:41:25 +02:00
|
|
|
{
|
|
|
|
"type": "//",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 00:36:21 +02:00
|
|
|
{
|
|
|
|
"type": ":",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-07 22:37:52 +02:00
|
|
|
{
|
2024-04-07 23:49:15 +02:00
|
|
|
"type": "=",
|
|
|
|
"named": false
|
2024-04-07 22:37:52 +02:00
|
|
|
},
|
2024-04-08 00:24:14 +02:00
|
|
|
{
|
|
|
|
"type": "[",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "]",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "default",
|
2024-04-09 14:08:02 +02:00
|
|
|
"named": true
|
2024-04-08 02:12:35 +02:00
|
|
|
},
|
2024-04-08 00:16:31 +02:00
|
|
|
{
|
|
|
|
"type": "escape_sequence",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:39:47 +02:00
|
|
|
{
|
|
|
|
"type": "false",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-07 22:37:52 +02:00
|
|
|
{
|
2024-04-07 23:49:15 +02:00
|
|
|
"type": "identifier",
|
2024-04-07 22:37:52 +02:00
|
|
|
"named": true
|
2024-04-08 00:16:31 +02:00
|
|
|
},
|
2024-04-08 03:13:43 +02:00
|
|
|
{
|
|
|
|
"type": "operator",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:16:31 +02:00
|
|
|
{
|
|
|
|
"type": "raw_string_literal",
|
|
|
|
"named": true
|
2024-04-08 00:36:21 +02:00
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "select",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "selection_type",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:39:47 +02:00
|
|
|
{
|
|
|
|
"type": "true",
|
|
|
|
"named": false
|
|
|
|
},
|
2024-04-08 02:12:35 +02:00
|
|
|
{
|
|
|
|
"type": "unset",
|
|
|
|
"named": true
|
|
|
|
},
|
2024-04-08 00:36:21 +02:00
|
|
|
{
|
|
|
|
"type": "{",
|
|
|
|
"named": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "}",
|
|
|
|
"named": false
|
2024-04-07 20:59:34 +02:00
|
|
|
}
|
|
|
|
]
|