types

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASTInformation added in v0.9.4

type ASTInformation struct {
	Namespace   string      `json:"namespace"`
	Class       string      `json:"class"`
	Name        string      `json:"name"`
	BaseClasses []string    `json:"baseClasses"`
	ReturnType  string      `json:"returnType"`
	Location    string      `json:"location"`
	Parameters  []Parameter `json:"parameters"`
	Symbol      string      `json:"symbol"`
}

type CPPSymbol added in v0.9.4

type CPPSymbol struct {
	DemangleName string
	*nm.Symbol
}

type Config

type Config struct {
	Name         string   `json:"name"`
	CFlags       string   `json:"cflags"`
	Libs         string   `json:"libs"`
	Include      []string `json:"include"`
	TrimPrefixes []string `json:"trimPrefixes"`
}

Config represents a configuration for the llcppg tool.

type Parameter added in v0.9.4

type Parameter struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type SymbolInfo added in v0.9.4

type SymbolInfo struct {
	Mangle string `json:"mangle"` // C++ Symbol
	CPP    string `json:"c++"`    // C++ function name
	Go     string `json:"go"`     // Go function name
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL