protected function isNewConst($node)
{
if (!isset($this->constTable) || !$node instanceof Expr\FuncCall || !ParserHelper::isSameFunc($node->migName, 'define') || !$node->args[0]->value instanceof Scalar\String_) {
return false;
}
$name = $node->args[0]->value->value;
return $this->constTable->has($name) && (is_null($this->condConst) || $name != $this->condConst);
}