Documentation ¶
Index ¶
- func IsArrType(t CType) bool
- func IsCFuncType(t CType) bool
- func IsCharArr(t CType) bool
- func IsCharType(t CType) bool
- func IsIntType(t CType) bool
- func IsPtrType(t CType) bool
- func IsScalarType(t CType) bool
- func IsSignedIntType(t CType) bool
- func IsStructType(t CType) bool
- type Array
- type Binop
- type Block
- type CFunc
- type CFuncT
- type CStruct
- type CType
- type Call
- type Cast
- type Constant
- type ConstantGPtr
- type DeclList
- type DoWhile
- type EmptyStmt
- type Expr
- type ExprStmt
- type For
- type ForwardedType
- type GSymbol
- type Goto
- type Ident
- type If
- type Index
- type Initializer
- type LSymbol
- type LabeledStmt
- type Node
- type Primitive
- type Ptr
- type Return
- type SClass
- type Selector
- type String
- type Switch
- type SwitchCase
- type Symbol
- type TSymbol
- type TargetSizeDesc
- type TranslationUnit
- type Unop
- type While
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCFuncType ¶
func IsCharType ¶
func IsScalarType ¶
func IsSignedIntType ¶
func IsStructType ¶
Types ¶
type CFunc ¶
type ConstantGPtr ¶
func (*ConstantGPtr) GetPos ¶
func (c *ConstantGPtr) GetPos() cpp.FilePos
func (*ConstantGPtr) GetType ¶
func (c *ConstantGPtr) GetType() CType
type For ¶
type ForwardedType ¶
type ForwardedType struct {
Type CType
}
type Initializer ¶
func (*Initializer) GetPos ¶
func (i *Initializer) GetPos() cpp.FilePos
type LabeledStmt ¶
type LabeledStmt struct { Pos cpp.FilePos AnonLabel string Label string Stmt Node IsCase bool IsDefault bool }
func (*LabeledStmt) GetPos ¶
func (l *LabeledStmt) GetPos() cpp.FilePos
type Switch ¶
type SwitchCase ¶
type TargetSizeDesc ¶
type TranslationUnit ¶
func Parse ¶
func Parse(szdesc TargetSizeDesc, pp *cpp.Preprocessor) (tu *TranslationUnit, errRet error)
Click to show internal directories.
Click to hide internal directories.