Exemple #1
0
def _MatchHistoryToken_Fast(line, start_pos):
  # type: (str, int) -> Tuple[Id_t, int]
  """Returns (id, end_pos)."""
  tok_type, end_pos = fastlex.MatchHistoryToken(line, start_pos)
  return IdInstance(tok_type), end_pos
Exemple #2
0
def _MatchHistoryToken_Fast(line, start_pos):
    """Returns (id, end_pos)."""
    tok_type, end_pos = fastlex.MatchHistoryToken(line, start_pos)
    return IdInstance(tok_type), end_pos