mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
11 lines
426 B
Python
11 lines
426 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
from typing import Optional
|
|
import libcst
|
|
|
|
def parse_module(source: str, encoding: Optional[str]) -> libcst.Module: ...
|
|
def parse_expression(source: str) -> libcst.BaseExpression: ...
|
|
def parse_statement(source: str) -> libcst.BaseStatement: ...
|