config

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0 Imports: 10 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 interface {
	Help() bool
	Verbose() bool
	Zip() bool
	AllowUnreachable() bool
	AutoResolveLRConf() bool
	SourceFile() string
	OutDir() string

	NoLexer() bool
	DebugLexer() bool
	DebugParser() bool

	ErrorsDir() string
	ParserDir() string
	ScannerDir() string
	TokenDir() string

	ProjectName() string
	Package() string

	PrintParams()
}

func New

func New() (Config, error)

type ConfigRecord

type ConfigRecord struct {
	// contains filtered or unexported fields
}

func (*ConfigRecord) AllowUnreachable

func (this *ConfigRecord) AllowUnreachable() bool

func (*ConfigRecord) AutoResolveLRConf

func (this *ConfigRecord) AutoResolveLRConf() bool

func (*ConfigRecord) DebugLexer

func (this *ConfigRecord) DebugLexer() bool

func (*ConfigRecord) DebugParser

func (this *ConfigRecord) DebugParser() bool

func (*ConfigRecord) ErrorsDir

func (this *ConfigRecord) ErrorsDir() string

func (*ConfigRecord) Help

func (this *ConfigRecord) Help() bool

func (*ConfigRecord) NoLexer

func (this *ConfigRecord) NoLexer() bool

func (*ConfigRecord) OutDir

func (this *ConfigRecord) OutDir() string

func (*ConfigRecord) Package

func (this *ConfigRecord) Package() string

func (*ConfigRecord) ParserDir

func (this *ConfigRecord) ParserDir() string

func (*ConfigRecord) PrintParams

func (this *ConfigRecord) PrintParams()

func (*ConfigRecord) ProjectName

func (this *ConfigRecord) ProjectName() string

func (*ConfigRecord) ScannerDir

func (this *ConfigRecord) ScannerDir() string

func (*ConfigRecord) SourceFile

func (this *ConfigRecord) SourceFile() string

func (*ConfigRecord) TokenDir

func (this *ConfigRecord) TokenDir() string

func (*ConfigRecord) Verbose

func (this *ConfigRecord) Verbose() bool

func (*ConfigRecord) Zip

func (this *ConfigRecord) Zip() bool

Jump to

Keyboard shortcuts

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