Make Formatter Happy
Continuous Integration / Grammar Tests (push) Successful in 36s
Continuous Integration / Library Format Tests (push) Successful in 1m19s
Continuous Integration / Library Tests (push) Successful in 3m51s

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-06-12 06:34:57 -04:00
parent fe88e447a9
commit e17533dfc8
6 changed files with 37 additions and 24 deletions
+5 -3
View File
@@ -39,7 +39,8 @@ extension AST.Statement: Compilable {
"assignmentStatement": AST.ParserAssignmentStatement.self,
"expressionStatement": AST.ExpressionStatement.self,
"variableDeclaration": AST.VariableDeclarationStatement.self,
"conditionalStatement": AST.ConditionalStatement.self, "blockStatement": AST.BlockStatement.self,
"conditionalStatement": AST.ConditionalStatement.self,
"blockStatement": AST.BlockStatement.self,
"return_statement": AST.ReturnStatement.self,
]
guard let parser = statementParsers[statement.nodeType ?? ""] else {
@@ -176,8 +177,9 @@ extension AST.ParserState: Compilable {
sourceLocation: node.toSourceLocation(),
withError: "Missing transition statement of state declaration")))
let updated_context = context.update(withContextName: (state_identifier as! AST.Identifier)).update(withContextStatements: parsed_s)
let updated_context = context.update(withContextName: (state_identifier as! AST.Identifier))
.update(withContextStatements: parsed_s)
return AST.TransitionStatement.Compile(node: current_node!, withContext: updated_context)
}
}
}