[][src]Module c2rust_transpile::c_ast

Modules

iterators

Structs

AsmOperand
CDeclId
CExprId
CQualTypeId

Qualified type

CStmtId
CTypeId
CommentContext

Comments associated with a typed AST context

ConversionContext

This stores the information needed to convert an AstContext into a TypedAstContext.

IdMapper

Correspondence between old/new IDs.

Located

Represents some AST node possibly with source location information bundled with it

Printer
Qualifiers

Type qualifiers (6.7.3)

SrcLoc

Represents a position inside a C source file

TypedAstContext

AST context containing all of the nodes in the Clang AST

Enums

Attribute

Enumeration of supported attributes for Declarations

BinOp

Represents a binary operator in C (6.5.5 Multiplicative operators - 6.5.14 Logical OR operator)

CDeclKind
CExprKind

Represents an expression in C (6.5 Expressions)

CLiteral
CStmtKind

Represents a statement in C (6.8 Statements)

CTypeKind

Represents a type in C (6.2.5 Types)

CastKind
ConstIntExpr

Represents a constant integer expression as used in a case expression

Designator
IntBase
MemberKind
OffsetOfKind

An OffsetOf Expr may or may not be a constant

UnOp

Represents a unary operator in C (6.5.3 Unary operators) and GNU C extensions

UnTypeOp

Represents a unary type operator in C

Type Definitions

CDecl

All of our AST types should have location information bundled with them

CEnumConstantId
CEnumId
CExpr
CFieldId
CFuncTypeId
CLabelId
CParamId
CRecordId
CStmt
CType
CTypedefId
NodeType

Possible node types