Map < String , Object > function ( Closure < ? > arg0 ) { LayoutWriterStack loc0 = LayoutWriterStack . currentStack ( ) ; loc0 . push ( ) ; Map < String , Object > loc1 = new HashMap < String , Object > ( ) ; loc1 . put ( "srini_string" , arg0 . call ( ) ) ; loc1 . putAll ( loc0 . pop ( ) ) ; return loc1 ; }
executes the body closure of a tag and returns a map with namned results that hold the content of the parts within the body . this method should only be called by tags that are part of a surrounding layout tag . example : def parts = layoutwriterstack.writeparts body out concode_field_sep String ATTRIBUTE_NAME_WRITER_STACK concode_elem_sep Stack<Map<String,Object>> stack concode_field_sep Map<String,Object> pop concode_elem_sep Writer currentWriter concode_elem_sep LayoutWriterStack currentStack concode_elem_sep void push