Documentation ¶
Index ¶
Constants ¶
View Source
const EXTERN = "extern \"C\""
View Source
const KIND_FUNCTION = "function"
View Source
const KIND_PROTOTYPE = "prototype"
View Source
const STATIC = "static"
View Source
const TEMPLATE = "template"
Variables ¶
View Source
var KNOWN_TAG_KINDS = map[string]bool{ "prototype": true, "function": true, }
Functions ¶
This section is empty.
Types ¶
type CTagsParser ¶
type CTagsParser struct {
// contains filtered or unexported fields
}
func (*CTagsParser) FindCLinkageLines ¶
func (p *CTagsParser) FindCLinkageLines(tags []*types.CTag) map[string][]int
This function scans the source files searching for "extern C" context * It save the line numbers in a map filename -> {lines...}
func (*CTagsParser) FixCLinkageTagsDeclarations ¶
func (p *CTagsParser) FixCLinkageTagsDeclarations(tags []*types.CTag)
func (*CTagsParser) GeneratePrototypes ¶
func (p *CTagsParser) GeneratePrototypes() ([]*types.Prototype, int)
Click to show internal directories.
Click to hide internal directories.