Skip to content

Commit

Permalink
Format source using VSCode
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopsazevedo committed Feb 22, 2024
1 parent 114ee59 commit 1050986
Showing 1 changed file with 118 additions and 101 deletions.
219 changes: 118 additions & 101 deletions extensions/default_unparsing_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"node_configs": {
"ArrayTypeDef":{
"ArrayTypeDef": {
"node": {
"kind": "group",
"document": [
Expand All @@ -25,7 +25,7 @@
{
"kind": "text",
"text": "of"
},
},
{
"kind": "recurse_field",
"field": "f_component_type"
Expand Down Expand Up @@ -188,39 +188,39 @@
]
}
},
"ComponentDef":{
"node":{
"ComponentDef": {
"node": {
"kind": "align",
"width": 2,
"contents": {
"kind": "group",
"document": [
{
"kind": "recurse_field",
"field": "f_has_aliased"
},
{
"kind": "recurse_field",
"field": "f_has_constant"
},
{
"kind": "recurse_field",
"field": "f_type_expr"
}
{
"kind": "recurse_field",
"field": "f_has_aliased"
},
{
"kind": "recurse_field",
"field": "f_has_constant"
},
{
"kind": "recurse_field",
"field": "f_type_expr"
}
]
}
}
},
"ConstrainedArrayIndices":{
"node":{
"ConstrainedArrayIndices": {
"node": {
"kind": "align",
"width": 1,
"contents": {
"kind": "group",
"document": [
"document": [
{
"kind" : "innerRoot",
"contents" : {
"kind": "innerRoot",
"contents": {
"kind": "recurse_field",
"field": "f_list"
}
Expand All @@ -229,52 +229,55 @@
}
}
},
"ConstraintList":{
"sep":["recurse", "line"]
"ConstraintList": {
"sep": [
"recurse",
"line"
]
},
"ConcreteTypeDecl":{
"node":{
"ConcreteTypeDecl": {
"node": {
"kind": "align",
"width": 2,
"contents": {
"kind": "group",
"document": [
{
"kind": "text",
"text": "type"
},
"whitespace",
{
"kind": "recurse_field",
"field": "f_name"
},
{
"kind": "recurse_field",
"field": "f_discriminants"
},
"whitespace",
{
"kind": "text",
"text": "is"
},
"line",
{
"kind": "recurse_field",
"field": "f_type_def"
},
{
"kind": "recurse_field",
"field": "f_aspects"
},
{
"kind": "text",
"text": ";"
}
{
"kind": "text",
"text": "type"
},
"whitespace",
{
"kind": "recurse_field",
"field": "f_name"
},
{
"kind": "recurse_field",
"field": "f_discriminants"
},
"whitespace",
{
"kind": "text",
"text": "is"
},
"line",
{
"kind": "recurse_field",
"field": "f_type_def"
},
{
"kind": "recurse_field",
"field": "f_aspects"
},
{
"kind": "text",
"text": ";"
}
]
}
}
},
"DecimalFixedPointDef":{
"DecimalFixedPointDef": {
"node": {
"kind": "group",
"document": [
Expand All @@ -299,17 +302,17 @@
},
{
"kind": "recurse_field",
"field": "f_range"
"field": "f_range"
}
]
},
"fields": {
"f_range": [
"line",
{
"kind": "innerRoot",
"contents": "recurse"
}
"line",
{
"kind": "innerRoot",
"contents": "recurse"
}
]
}
},
Expand All @@ -335,35 +338,40 @@
"f_prefix": [
{
"kind": "recurse_flatten",
"if": ["DottedName"]
"if": [
"DottedName"
]
},
"softline"
]
}
},
"EnumLiteralDeclList":{
"sep":["recurse", "line"]
"EnumLiteralDeclList": {
"sep": [
"recurse",
"line"
]
},
"EnumTypeDef":{
"EnumTypeDef": {
"node": {
"kind": "group",
"document": [
{
"kind": "text",
"text": "("
},
{
"kind": "align",
"width": 1,
"contents" : {
"kind": "recurse_field",
"field": "f_enum_literals"
}
},
{
"kind": "text",
"text": ")"
}
},
{
"kind": "align",
"width": 1,
"contents": {
"kind": "recurse_field",
"field": "f_enum_literals"
}
},
{
"kind": "text",
"text": ")"
}
]
}
},
Expand Down Expand Up @@ -417,7 +425,7 @@
"hardlineWithoutBreakParent"
]
},
"FloatingPointDef":{
"FloatingPointDef": {
"node": {
"kind": "group",
"document": [
Expand Down Expand Up @@ -524,8 +532,11 @@
]
}
},
"NameList":{
"sep":["recurse", "line"]
"NameList": {
"sep": [
"recurse",
"line"
]
},
"ModeIn": {
"node": [
Expand Down Expand Up @@ -559,7 +570,7 @@
"whitespace"
]
},
"OrdinaryFixedPointDef":{
"OrdinaryFixedPointDef": {
"node": {
"kind": "group",
"document": [
Expand All @@ -574,8 +585,8 @@
},
"line",
{
"kind" : "innerRoot",
"contents" : {
"kind": "innerRoot",
"contents": {
"kind": "recurse_field",
"field": "f_range"
}
Expand Down Expand Up @@ -884,7 +895,7 @@
}
}
},
"RangeSpec":{
"RangeSpec": {
"node": {
"kind": "align",
"width": 2,
Expand Down Expand Up @@ -923,22 +934,22 @@
]
}
},
"SignedIntTypeDef":{
"SignedIntTypeDef": {
"node": {
"kind": "recurse_field",
"field": "f_range"
}
},
"UnconstrainedArrayIndices":{
"node":{
"UnconstrainedArrayIndices": {
"node": {
"kind": "align",
"width": 1,
"contents": {
"kind": "group",
"document": [
"document": [
{
"kind" : "innerRoot",
"contents" : {
"kind": "innerRoot",
"contents": {
"kind": "recurse_field",
"field": "f_types"
}
Expand All @@ -947,10 +958,13 @@
}
}
},
"UnconstrainedArrayIndexList":{
"sep":["recurse", "line"]
"UnconstrainedArrayIndexList": {
"sep": [
"recurse",
"line"
]
},
"UnconstrainedArrayIndex":{
"UnconstrainedArrayIndex": {
"node": {
"kind": "group",
"document": [
Expand All @@ -964,18 +978,21 @@
"text": "range"
},
{
"kind": "recurse_field",
"field": "f_lower_bound"
"kind": "recurse_field",
"field": "f_lower_bound"
},
"whitespace",
{
"kind": "text",
"text": "<>"
"kind": "text",
"text": "<>"
}
]
},
"fields": {
"f_lower_bound": ["whitespace", "recurse"]
"f_lower_bound": [
"whitespace",
"recurse"
]
}
},
"UsePackageClause": {
Expand Down

0 comments on commit 1050986

Please sign in to comment.