Module parser

Module parser 

Source
Expand description

C parser implementation using clang-sys.

This module provides the core parsing functionality to convert C source code into an AST representation using LLVM/Clang bindings.

Structs§

Ast
Abstract Syntax Tree representing parsed C code.
CParser
C parser using clang-sys.
Function
Represents a C function.
MacroDefinition
Represents a C macro definition (#define).
Parameter
Represents a function parameter.
Struct
Represents a struct definition.
StructField
Represents a struct field.
SwitchCase
Represents a single case in a switch statement.
Typedef
Represents a C typedef declaration.
Variable
Represents a variable declaration.

Enums§

BinaryOperator
Binary operators for C expressions.
Expression
Represents a C expression.
Statement
Represents a C statement.
Type
Represents a C type.
UnaryOperator
Unary operators for C expressions.