Created
July 28, 2016 03:00
-
-
Save lizixroy/c8828df72e29f18ae8775d119765fbf7 to your computer and use it in GitHub Desktop.
ParseTreeNode.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ParseTreeNode { | |
let nonTerminal: String | |
let leftNode: ParseTreeNode? | |
let rightNode: ParseTreeNode? | |
init(nonTerminal: String, leftNode: ParseTreeNode?, rightNode: ParseTreeNode?) { | |
self.nonTerminal = nonTerminal | |
self.leftNode = leftNode | |
self.rightNode = rightNode | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment