public void visitUnaryNode(ASTPtUnaryNode node)
throws IllegalActionException {
Type[] childTypes = _inferAllChildren(node);
Type baseType = childTypes[0];
if (node.isMinus()) {
_setType(node, baseType.zero().subtract(baseType));
} else {
_setType(node, baseType);
}
}