Skip to content

Commit

Permalink
Add ComponentClause and RecordrepClause configs
Browse files Browse the repository at this point in the history
  • Loading branch information
CKMonika committed Apr 17, 2024
1 parent e4c63fe commit f4c738c
Show file tree
Hide file tree
Showing 9 changed files with 2,130 additions and 0 deletions.
100 changes: 100 additions & 0 deletions extensions/default_unparsing_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,33 @@
}
}
},
"ComponentClause": {
"node": {
"kind": "group",
"document": [
{
"kind": "recurse_field",
"field": "f_id"
},
{
"kind": "text",
"text": "at"
},
{
"kind": "recurse_field",
"field": "f_position"
},
{
"kind": "recurse_field",
"field": "f_range"
},
{
"kind": "text",
"text": ";"
}
]
}
},
"ComponentDecl": {
"node": {
"kind": "group",
Expand Down Expand Up @@ -4370,6 +4397,79 @@
]
}
},
"RecordRepClause": {
"node": {
"kind": "group",
"document": [
{
"kind": "group",
"document": [
{
"kind": "text",
"text": "for"
},
{
"kind": "recurse_field",
"field": "f_name"
},
"whitespace",
{
"kind": "text",
"text": "use"
}
]
},
{
"kind": "align",
"width": 2,
"contents": [
"hardline",
{
"kind": "text",
"text": "record"
},
{
"kind": "recurse_field",
"field": "f_at_expr"
},
{
"kind": "recurse_field",
"field": "f_components"
},
"hardline",
{
"kind": "group",
"document": [
{
"kind": "text",
"text": "end"
},
"whitespace",
{
"kind": "text",
"text": "record"
},
{
"kind": "text",
"text": ";"
}
]
}
]
}
]
},
"fields": {
"f_components": {
"kind": "align",
"width": 2,
"contents": [
"hardline",
"recurse"
]
}
}
},
"ReturnStmt": {
"node": {
"kind": "align",
Expand Down
Loading

0 comments on commit f4c738c

Please sign in to comment.