Data Structures | |
class | Scope |
class | TypeSpec |
class | PointerToSpec |
class | ArrayTypeSpec |
class | QualTypeSpec |
class | StructTypeSpec |
class | IncompleteStructTypeSpec |
class | TypedefNameSpec |
class | FuncTypeSpec |
class | ExprBase |
class | Expr |
class | EmptyExpr |
class | Call |
class | IntegerLiteral |
class | CastTo |
class | Func |
class | Binary |
class | ArrRef |
class | MemberRef |
class | Var |
class | Unary |
class | Paren |
class | SizeofType |
class | StmtBase |
class | Stmt |
class | NewlineStmt |
class | Decl |
class | Compound |
class | For |
class | If |
class | FuncArgDecl |
class | ReturnStmt |
class | FuncDef |
class | Include |
class | Builder |
Functions | |
def | gcd |
def | lcm |
def | align_lcm |
def | flatten |
def | ptr_to_spec_decl |
def | struct_texpr_to_typespec |
def | build_declarator_and_typespec |
def ctrump::Builder::align_lcm | ( | x, | ||
y | ||||
) |
Definition at line 89 of file Builder.py.
def ctrump::Builder::build_declarator_and_typespec | ( | builder, | ||
texpr, | ||||
var_sym, | ||||
qual_flags = 0 , |
||||
gccattr_flags = 0 , |
||||
aligned = ctrump.ALIGN_UNSPECIFIED , |
||||
emit_struct_definition = False | ||||
) |
:return:(flags, gccattr_flags, alignd, declarator, type_spec)
Definition at line 197 of file Builder.py.
def ctrump::Builder::flatten | ( | dest, | ||
l | ||||
) |
Definition at line 96 of file Builder.py.
def ctrump::Builder::gcd | ( | x, | ||
y | ||||
) |
Definition at line 76 of file Builder.py.
def ctrump::Builder::lcm | ( | x, | ||
y | ||||
) |
Definition at line 86 of file Builder.py.
def ctrump::Builder::ptr_to_spec_decl | ( | builder, | ||
pointer_to, | ||||
var_sym, | ||||
qual_flags, | ||||
gccattr_flags, | ||||
aligned, | ||||
emit_struct_definition | ||||
) |
def ctrump::Builder::struct_texpr_to_typespec | ( | builder, | ||
texpr, | ||||
emit_struct_definition = False | ||||
) |