added basic::get_precedence()