Skip to content

Source table

source_table

A module to Parse all Source files and add them to the database.

SourceTable

A Table Generator that parses all c and h files in the workspace.

__init__

__init__(*args: Any, **kwargs: Any) -> SourceTable

Initializes the Source Table Parser.

Parameters:

Name Type Description Default
args any

non-keyword arguments

()
kwargs any

keyword arguments described below

{}

Other Parameters:

Name Type Description
source_stats bool

Whether to parse source statistics

n_jobs int

Number of files to run in parallel

source_extensions list[str]

List of file extensions to parse

parse

parse(
    session: Session, pathobj: Edk2Path, id: str, env: dict
) -> None

Parse the workspace and update the database.