def _get_indent_length(line):
 result = 0
 for char in line:
  if (char == ' '):
   result += 1
  elif (char == ' DCTB '):
   result += _TAB_LENGTH
  else:
   break
 return result

def _get_indent_length ( line ) : result = 0 for char in line : if ( char == ' ' ) : result += 1 elif ( char == ' DCTB ' ) : result += _TAB_LENGTH else : break return result
return the length of the indentation on the given tokens line .