public function JSNode::addNode in Javascript Aggregator 6
1 call to JSNode::addNode()
File
- ./
jsminplus.php, line 1694
Class
Code
public function addNode($node) {
if ($node !== null) {
if ($node->start < $this->start) {
$this->start = $node->start;
}
if ($this->end < $node->end) {
$this->end = $node->end;
}
}
$this->treeNodes[] = $node;
}