@@ -309,7 +309,10 @@ public struct AST {
|
||||
public var tipe: AST.Identifier
|
||||
public let arguments: AST.ArgumentList
|
||||
|
||||
public init(named name: AST.Identifier, withType tipe: AST.Identifier, withArguments arguments: AST.ArgumentList) {
|
||||
public init(
|
||||
named name: AST.Identifier, withType tipe: AST.Identifier,
|
||||
withArguments arguments: AST.ArgumentList
|
||||
) {
|
||||
self.name = name
|
||||
self.arguments = arguments
|
||||
self.tipe = tipe
|
||||
@@ -643,7 +646,9 @@ public struct ASTCompilerContext {
|
||||
public let lexical_context_statements: [AST.AnStatement]?
|
||||
public let extern_context: Bool
|
||||
|
||||
public init(_ name: AST.Identifier? = .none, _ stmts: [AST.AnStatement]? = .none, _ extern: Bool = false) {
|
||||
public init(
|
||||
_ name: AST.Identifier? = .none, _ stmts: [AST.AnStatement]? = .none, _ extern: Bool = false
|
||||
) {
|
||||
self.lexical_context_name = name
|
||||
self.lexical_context_statements = stmts
|
||||
self.extern_context = extern
|
||||
@@ -661,5 +666,3 @@ public struct ASTCompilerContext {
|
||||
return ASTCompilerContext(self.lexical_context_name, self.lexical_context_statements, extern)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user