method snippet =
    string_of_sv (call_method sv "snippet" [])