fix: do not fail when the node is dom.Initializer

change: the type of rawNode in MethodTree class changes to ASTNode, for
assigning Initializer