question: static < T > T tryEval ( Location location , Class < T > requestedType , Snippet snippet , Context context , List < ? > args ) { if ( snippet . kind ( ) == SnippetKind . ABSTRACT ) { throw new EvalException ( location , "attempt to evaluate abstract snippet '%s'" , snippet . displayName ( ) ) ; } Doc result = snippet . eval ( context , args ) ; return requestedType . cast ( Values . convert ( location , requestedType , result ) ) ; }
target:  Helper for snippet evaluation.