src/phylogeni/io/parseNewick

  Source   Edit

Types

NewickError = object of IOError
  Source   Edit
NewickParser[T] = object of BaseLexer
  tree: Tree[T]
  currNode*: Node[T]
  token: string
  state: NewickState
  annotationState: bool
  Source   Edit

Procs

proc parseNewickFile[T](tree: var Tree[T]; path: string)
Parse a newick file   Source   Edit
proc parseNewickFile[T](treeSeq: var TreeSeq[T]; path: string)
Parse a newick file   Source   Edit
proc parseNewickStream[T](tree: var Tree[T]; stream: Stream)
Parse a newick stream   Source   Edit
proc parseNewickStream[T](treeSeq: var TreeSeq[T]; stream: Stream)
Parse a newick stream   Source   Edit
proc parseNewickString[T](tree: var Tree[T]; str: string)
Parse a newick string   Source   Edit
proc parseNewickString[T](treesSeq: var TreeSeq[T]; str: string)
Parse a newick string   Source   Edit