-
The depth of the deepest children of the
Node
in aTree
Declaration
Swift
public var maxDepth: Int?
-
The depth of the
Node
in aTree
Declaration
Swift
public var depth: Int?
-
Gives String representation of the node
Declaration
Swift
public func toString() -> String
-
Gives Tex (String) representation of the node
Declaration
Swift
public func toTex() -> String
-
The
print()
descriptionDeclaration
Swift
override public var description: String { get }
-
The name of the Symbol (ex:
x
ory
)Declaration
Swift
public var content: String
-
The name of the node
Declaration
Swift
public var type: String
-
Useless here, but it’s to conform to the Node protocol
Declaration
Swift
public var children: [Node]
-
Create a SymbolNode
Declaration
Swift
public init(_ variable: String)
Parameters
double
Floating point number
-
Compiles SymbolNode to simpler node (useless here, but required by protocol)
Declaration
Swift
public func compile() -> Node
-
Converts SymboleNode to BigNumber by replacing unknown value by their parameters. If it fails, it will return 0.
Declaration