parser

package
v0.0.0-...-3af71b4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IncludePaths []string
	Defines      []string

	CppCommand string

	SkipHostConfig bool
	OverrideConfig *cc.Config
}

type Parser

type Parser interface {
	Parse(headers ...string) (*cc.AST, error)
}

Parser parses C-headers and returns the corresponding abstract syntax tree.

func New

func New(config Config) Parser

* New returns a new Parser for the given configuration.

Jump to

Keyboard shortcuts

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