-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95b9d5f
commit 91a2d5b
Showing
8 changed files
with
164 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# ----------------------------------------------------------------- | ||
# pycparser: __init__.py | ||
# | ||
# This package file exports some convenience functions for | ||
# interacting with pycparser | ||
# | ||
# Eli Bendersky [https://eli.thegreenplace.net/] | ||
# License: BSD | ||
# ----------------------------------------------------------------- | ||
__all__ = ["c_parser", "c_ast"] | ||
__version__ = "2.19" | ||
|
||
from typing import Any, List, Optional, Union | ||
from . import c_ast | ||
from .c_parser import CParser | ||
|
||
def preprocess_file( | ||
filename: str, cpp_path: str = "cpp", cpp_args: Union[List[str], str] = "" | ||
) -> str: ... | ||
def parse_file( | ||
filename: str, | ||
use_cpp: bool = False, | ||
cpp_path: str = "cpp", | ||
cpp_args: str = "", | ||
parser: Optional[CParser] = None, | ||
) -> c_ast.FileAST: ... |
Oops, something went wrong.