<s>[INST] returns the selection mode of the given ast node regarding this selection . possible values are intersects , before , selected , and after . concode_field_sep int fLength concode_elem_sep int fExclusiveEnd concode_elem_sep int INTERSECTS concode_elem_sep int AFTER concode_elem_sep int fStart concode_elem_sep int BEFORE concode_elem_sep int SELECTED concode_field_sep int getExclusiveEnd concode_elem_sep Selection createFromStartEnd concode_elem_sep boolean coveredBy concode_elem_sep boolean coveredBy concode_elem_sep int getOffset concode_elem_sep boolean liesOutside concode_elem_sep Selection createFromStartLength concode_elem_sep int getEndVisitSelectionMode concode_elem_sep int getLength concode_elem_sep String toString concode_elem_sep boolean endsIn concode_elem_sep int getInclusiveEnd concode_elem_sep boolean covers concode_elem_sep boolean covers [/INST] int function ( ASTNode arg0 ) { int loc0 = arg0 . getStartPosition ( ) ; int loc1 = loc0 + arg0 . getLength ( ) ; if ( loc1 <= fStart ) return BEFORE ; else if ( covers ( arg0 ) ) return SELECTED ; else if ( fExclusiveEnd <= loc0 ) return AFTER ; return INTERSECTS ; </s>