Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/libcst/_parser/types/conversions.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:43 +0000

1# Copyright (c) Meta Platforms, Inc. and affiliates. 

2# 

3# This source code is licensed under the MIT license found in the 

4# LICENSE file in the root directory of this source tree. 

5 

6from typing import Any, Callable, Sequence 

7 

8from libcst._parser.types.config import ParserConfig 

9from libcst._parser.types.token import Token 

10 

11# pyre-fixme[33]: Aliased annotation cannot contain `Any`. 

12NonterminalConversion = Callable[[ParserConfig, Sequence[Any]], Any] 

13# pyre-fixme[33]: Aliased annotation cannot contain `Any`. 

14TerminalConversion = Callable[[ParserConfig, Token], Any]