Element function ( DartEditor arg0 , int arg1 , int arg2 ) { CompilationUnit loc0 = arg0 . getInputUnit ( ) ; ASTNode loc1 = new NodeLocator ( arg1 , arg1 + arg2 ) . searchWithin ( loc0 ) ; if ( loc1 == null ) { return null ; } return ElementLocator . locate ( loc1 ) ; }
get the element associated with the selected portion of the given input element . concode_field_sep PlaceHolder placeHolder concode_field_sep Element getElementEnclosingOffset