def IsDecltype(clean_lines, linenum, column):
 (text, _, start_col) = ReverseCloseExpression(clean_lines, linenum, column)
 if (start_col < 0):
  return False
 if Search('\\bdecltype\\s*$', text[0:start_col]):
  return True
 return False

def IsDecltype ( clean_lines , linenum , column ) : ( text , _ , start_col ) = ReverseCloseExpression ( clean_lines , linenum , column ) if ( start_col < 0 ) : return False if Search ( '\\bdecltype\\s*$' , text [ 0 : start_col ] ) : return True return False
check if the token ending on is decltype() .