Lines Matching refs:empty
332 " Return the tokens of line `lnum`, if that line is not empty. If it is
333 " empty, find the first non-empty line in the given `direction` and return
339 " result: [] -- the result is an empty list if we hit the beginning or end
342 " lnum: integer -- the index of the non-empty line that was found and
392 " -- the result is an empty list if we hit the beginning or end of
405 elseif !empty(indtokens)
406 " We found a non-empty line. If we were moving up, we return the last
420 " result = [] -- the result is an empty list if the given token is the first
440 " result = [] -- the result is an empty list if the given token is the last
605 if empty(a:stack)
622 " It asks the caller to return if the stack is already empty.
638 " Return 'return' if the stack is empty
646 if !empty(a:stack) && a:stack[0] ==# 'align_to_begin_element'
648 if empty(a:stack)
680 if !empty(a:stack) && a:stack[0] ==# 'when'
683 if empty(a:stack)
689 elseif !empty(a:stack) && a:stack[0] ==# '->'
692 if empty(a:stack)
698 if !empty(a:stack)
713 if !empty(next1_indtoken) && next1_indtoken[0] =~# '-'
716 if !empty(next2_indtoken) && next2_indtoken[0] =~# 'spec'
719 if !empty(next3_indtoken)
722 if !empty(next4_indtoken)
863 \ (empty(stack) || stack ==# ['when'] || stack ==# ['->'] ||
890 if empty(stack) || stack == ['->', ';']
912 if empty(stack)
934 if empty(stack)
969 if !empty(next_indtoken) && next_indtoken[0] =~# '^[A-Z_@]'
978 if !empty(next_indtoken) && next_indtoken[0] ==# '('
986 if empty(stack)
1027 if empty(stack)
1034 if !empty(stack) && stack[0] ==# 'align_to_begin_element'
1214 if empty(stack)
1237 if empty(stack) && !last_token_of_line
1240 elseif empty(stack) || stack[0] ==# ';' || stack[0] ==# 'end'
1265 while !empty(stack) && stack[0] ==# ';'
1269 if empty(stack)
1314 if empty(stack) || stack[0] ==# '->' || stack[0] ==# 'when'
1327 elseif token ==# '||' && empty(stack) && !last_token_of_line
1337 if empty(stack) || stack[0] ==# '->' || stack[0] ==# 'when'
1340 call s:Log(' Misc token when the stack is empty or has "->" ' .
1356 if empty(stack) && stored_vcol != -1 &&
1357 \ (!empty(indtokens) && indtokens[0][0] != '<string_end>' &&
1389 call s:Log('First non-empty line of the file -> return 0.')
1396 if !empty(ml)
1409 if !empty(ml) && !(ml[2] ==# 'catch' && s:IsCatchStandalone(v:lnum, 0))