public function append($other, $separator = null)
{
if ($separator) {
$this->separator = $separator;
}
if ($other instanceof SassList) {
$this->value = array_merge($this->value, $other->value);
} elseif ($other instanceof SassLiteral) {
$this->value[] = $other;
} else {
throw new SassListException('Appendation can only occur with literals', SassScriptParser::$context->node);
}
}