parser

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseWith

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

Types

type Config

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

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

	CCDefs bool `yaml:"-"`
	CCIncl bool `yaml:"-"`
}

Jump to

Keyboard shortcuts

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