parser

package
v0.0.0-...-f5ababa Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWith

func ParseWith(cfg *Config) (*cc.TranslationUnit, error)

Types

type Config

type Config struct {
	Arch         string   `yaml:"Arch"`
	IncludePaths []string `yaml:"IncludePaths"`
	SourcesPaths []string `yaml:"SourcesPaths"`

	Defines map[string]interface{} `yaml:"Defines"`

	CCDefs bool `yaml:"-"`
	CCIncl bool `yaml:"-"`
	// contains filtered or unexported fields
}

type TargetArch

type TargetArch string
const (
	Arch32    TargetArch = "i386"
	Arch48    TargetArch = "x86_48"
	Arch64    TargetArch = "x86_64"
	ArchArm32 TargetArch = "arm"
	ArchArm64 TargetArch = "aarch64"
)

Jump to

Keyboard shortcuts

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