Skip to content

Commit

Permalink
ParseNode, ParseTree and TreeBank classes are converted to open.
Browse files Browse the repository at this point in the history
  • Loading branch information
Olcay Taner YILDIZ committed Apr 16, 2022
1 parent 2c1bac8 commit 2da40b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/ParseTree/ParseNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import Dictionary

public class ParseNode{
open class ParseNode{

public var children: [ParseNode]? = nil
public var parent: ParseNode? = nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/ParseTree/ParseTree.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

public class ParseTree{
open class ParseTree{

private static var sentenceLabels : [String] = ["SINV", "SBARQ", "SBAR", "SQ", "S"]
public var root: ParseNode? = nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/ParseTree/TreeBank.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

public class TreeBank {
open class TreeBank {

public var parseTrees : [ParseTree] = []

Expand Down

0 comments on commit 2da40b2

Please sign in to comment.