parser_go

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MulanPSL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDir

func ParseDir(dir string, pSet *generator.PrototypeSet) error

func ParseFile

func ParseFile(fn string) (*generator.File, error)

解析一个文件的原型

func ParseSet

func ParseSet() (*generator.PrototypeSet, error)

Types

type ParserConfig

type ParserConfig struct {
	Dir string `json:"dir,omitempty"`

	AddFilePattern []string `json:"addFilePattern,omitempty"`
	ExcludeGoFile  bool     `json:"excludeGoFile,omitempty"`
}
var CFG *ParserConfig

Jump to

Keyboard shortcuts

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