Section 54. If complaint is made to any court that a child between seven and 18 years of age is a delinquent child, said court shall examine, on oath, the complainant and the witnesses, if any, produced by him, and shall reduce the complaint to writing, and cause it to be subscribed by the complainant.
If said child is under twelve years of age, said court shall first issue a summons requiring him to appear before it at the time and place named therein, and such summons shall be issued in all other cases, instead of a warrant, unless the court has reason to believe that he will not appear upon summons, in which case, or if such a child has been summoned and did not appear, said court may issue a warrant reciting the substance of the complaint, and requiring the officer to whom it is directed forthwith to take such child and bring him before said court, to be dealt with according to law, and to summon the witnesses named therein to appear and give evidence at the examination.
The commonwealth may proceed by complaint in juvenile court or in a juvenile session of a district court, as the case may be, or by indictment as provided by chapter two hundred and seventy-seven, if a person is alleged to have committed an offense against a law of the commonwealth while between the ages of fourteen and 18 which, if he were an adult, would be punishable by imprisonment in the state prison, and the person has previously been committed to the department of youth services, or the offense involves the infliction or threat of serious bodily harm in violation of law or the person has committed a violation of paragraph (a), (c) or (d) of section ten or section ten E of chapter two hundred and sixty-nine. The court shall proceed on the complaint or the indictment, as the case may be, in accordance with sections fifty-five to seventy-two, inclusive. Complaints and indictments brought against persons for such offenses, and for other criminal offenses properly joined under Massachusetts Rules of Criminal Procedure 9 (a) (1), shall be brought in accordance with the usual course and manner of criminal proceedings.