void AstSel::dump(ostream& str) { this->AstNode::dump(str); if (declRange().ranged()) { str<<" decl"<<declRange()<<"]"; if (declElWidth()!=1) str<<"/"<<declElWidth(); } }
void AstNodeArrayDType::dump(ostream& str) { this->AstNodeDType::dump(str); str<<" "<<declRange(); }
void AstNodeArrayDType::dump(ostream& str) { this->AstNodeDType::dump(str); str<<" ["<<declRange().left()<<":"<<declRange().right()<<"]"; }
void AstNodeArrayDType::dumpSmall(ostream& str) { this->AstNodeDType::dumpSmall(str); if (castPackArrayDType()) str<<"p"; else str<<"u"; str<<declRange(); }
void AstNodeArrayDType::dumpSmall(ostream& str) { this->AstNodeDType::dumpSmall(str); if (castPackArrayDType()) str<<"p"; else str<<"u"; str<<"["<<declRange().left()<<":"<<declRange().right()<<"]"; }