{"modulePath":"github.com/ddkwork/librarygo","version":"v1.1.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cpp2go\n\n## Types\n\n```go\ntype Ast interface {\n\tTranslate(filter Filter) (ok bool) //convert part of c or cpp codes to list as ast not all,lat bind and generate to go codes\n}\n```\n\n```go\nfunc NewAst() Ast\n```\n\n```go\ntype Define interface {\n\tFind() (ok bool)\n}\n```\n\n```go\nfunc NewDefine() Define\n```\n\n```go\ntype Enum interface {\n\tFind() (ok bool)\n}\n```\n\n```go\nfunc NewEnum() Enum\n```\n\n```go\ntype Extern interface {\n\tFind() (ok bool)\n}\n```\n\n```go\nfunc NewExtern() Extern\n```\n\n```go\ntype Filter struct {\n\tPathInfo\n\tLineInfos LineInfosType\n}\n```\n\n```go\ntype Filters []Filter\n```\n\n```go\ntype Interface interface {\n\tAst\n\tScanner\n\tTranslateCFile(path, pkg string)\n}\n```\n\n```go\nfunc New() Interface\n```\n\n```go\ntype Ir interface {\n\t// contains filtered or unexported methods\n}\n```\n\n```go\ntype LineInfo struct {\n\tLine int\n\tText string\n\n\tTextElem []string\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype LineInfosType []LineInfo\n```\n\n```go\ntype Method interface {\n\tFind() (ok bool)\n\t// contains filtered or unexported methods\n}\n```\n\n```go\nfunc NewMethod() Method\n```\n\n```go\ntype PathInfo struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\ntype Scanner interface {\n\tFilters(root string) (filters Filters, ok bool)\n\tRemoveComment(root string) (ok bool)\n}\n```\n\n```go\nfunc NewScanner() Scanner\n```\n\n```go\ntype StructType interface {\n\tAst\n\t// contains filtered or unexported methods\n}\n```\n\n```go\nfunc NewStructType() StructType\n```\n\n","path":"github.com/ddkwork/librarygo/src/cpp2go","name":"cpp2go","synopsis":"","isRedistributable":true}
