Documentation
¶
Index ¶
- type ArrayType
- type BuiltinType
- type Comment
- type CommentGroup
- type Decl
- type DeclBase
- type EnumItem
- type EnumTypeDecl
- type Expr
- type Field
- type FieldList
- type File
- type FuncDecl
- type FuncType
- type Ident
- type InstantiationType
- type Location
- type Node
- type ParenExpr
- type PointerType
- type ReferenceType
- type ScopingExpr
- type Stmt
- type Tag
- type TagExpr
- type TypeDecl
- type TypeFlag
- type TypeKind
- type TypedefDecl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltinType ¶
[signed/unsigned/short/long/long long/double] [int]/char/float/complex/bool
type Comment ¶
type Comment struct {
Text string // comment text (excluding '\n' for //-style comments)
}
type CommentGroup ¶
type CommentGroup struct {
List []*Comment // len(List) > 0
}
type DeclBase ¶
type DeclBase struct {
Doc *CommentGroup // associated documentation; or nil
Loc *Location
Parent Expr // namespace or class
}
type EnumTypeDecl ¶
enum Name { Item1, Item2, ... };
type Field ¶
type Field struct {
Doc *CommentGroup // associated documentation; or nil
Type Expr // field/method/parameter type; or nil
Names []*Ident // field/method/(type) parameter names; or nil
Comment *CommentGroup // line comments; or nil
}
type InstantiationType ¶
Template<Arg1, Arg2, ...>
Click to show internal directories.
Click to hide internal directories.