ctrump::Builder Namespace Reference


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


Function Documentation

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 
)

ポインタ型をポインタの宣言子に変換する

Definition at line 131 of file Builder.py.

def ctrump::Builder::struct_texpr_to_typespec (   builder,
  texpr,
  emit_struct_definition = False 
)

構造体型をtype-specifierに変換する

Definition at line 144 of file Builder.py.


Generated on Tue Mar 31 20:19:53 2009 for ctrump by  doxygen 1.5.6