parse

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbgParse   dbgFlags = 1 << iota
	DbgFlagAll          = DbgParse
)

Variables

This section is empty.

Functions

func Do

func Do(conf *Config) error

func MarshalFileInfo

func MarshalFileInfo(info *llcppg.FileInfo) *cjson.JSON

func MarshalFileMap

func MarshalFileMap(fmap map[string]*llcppg.FileInfo) *cjson.JSON

func MarshalPkg

func MarshalPkg(pkg *llcppg.Pkg) *cjson.JSON

func OutputPkg added in v0.4.0

func OutputPkg(conf *Config, pkg *llcppg.Pkg)

func SetDebug added in v0.3.1

func SetDebug(dbgFlags dbgFlags)

Types

type Config

type Config struct {
	Conf   *llcppg.Config
	Out    bool     // if gen llcppg.sigfetch.json
	Cflags []string // other cflags want to parse

	ExtractMode bool
	ExtractFile string
	IsTemp      bool
	IsCpp       bool

	CombinedFile     string
	PreprocessedFile string
	Exec             func(conf *Config, pkg *llcppg.Pkg)
}

Directories

Path Synopsis
preprocess_test command

Jump to

Keyboard shortcuts

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