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();
}
Ejemplo n.º 3
0
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();
}
Ejemplo n.º 5
0
void AstNodeArrayDType::dumpSmall(ostream& str) {
    this->AstNodeDType::dumpSmall(str);
    if (castPackArrayDType()) str<<"p"; else str<<"u";
    str<<"["<<declRange().left()<<":"<<declRange().right()<<"]";
}