npconf

package
v0.0.0-...-992af11 Latest Latest
Warning

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

Go to latest
Published: Aug 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 NpConf

type NpConf struct {
	Section []*Section
}

func LoadNpConf

func LoadNpConf(data []byte) *NpConf

type NpConfParserListener

type NpConfParserListener struct {
	parser.BasenpconfListener
	// contains filtered or unexported fields
}

func (*NpConfParserListener) EnterEveryRule

func (s *NpConfParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*NpConfParserListener) EnterLine

func (s *NpConfParserListener) EnterLine(ctx *parser.LineContext)

EnterLine is called when production line is entered.

func (*NpConfParserListener) EnterNpconf

func (s *NpConfParserListener) EnterNpconf(ctx *parser.NpconfContext)

EnterNpconf is called when production npconf is entered.

func (*NpConfParserListener) EnterSection

func (s *NpConfParserListener) EnterSection(ctx *parser.SectionContext)

EnterSection is called when production section is entered.

func (*NpConfParserListener) EnterSectionfooter

func (s *NpConfParserListener) EnterSectionfooter(ctx *parser.SectionfooterContext)

EnterSectionfooter is called when production sectionfooter is entered.

func (*NpConfParserListener) EnterSectionheader

func (s *NpConfParserListener) EnterSectionheader(ctx *parser.SectionheaderContext)

EnterSectionheader is called when production sectionheader is entered.

func (*NpConfParserListener) EnterStr

func (s *NpConfParserListener) EnterStr(ctx *parser.StrContext)

EnterStr is called when production str is entered.

func (*NpConfParserListener) EnterStringlist

func (s *NpConfParserListener) EnterStringlist(ctx *parser.StringlistContext)

EnterStringlist is called when production stringlist is entered.

func (*NpConfParserListener) ExitEveryRule

func (s *NpConfParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*NpConfParserListener) ExitLine

func (s *NpConfParserListener) ExitLine(ctx *parser.LineContext)

ExitLine is called when production line is exited.

func (*NpConfParserListener) ExitNpconf

func (s *NpConfParserListener) ExitNpconf(ctx *parser.NpconfContext)

ExitNpconf is called when production npconf is exited.

func (*NpConfParserListener) ExitSection

func (s *NpConfParserListener) ExitSection(ctx *parser.SectionContext)

ExitSection is called when production section is exited.

func (*NpConfParserListener) ExitSectionfooter

func (s *NpConfParserListener) ExitSectionfooter(ctx *parser.SectionfooterContext)

ExitSectionfooter is called when production sectionfooter is exited.

func (*NpConfParserListener) ExitSectionheader

func (s *NpConfParserListener) ExitSectionheader(ctx *parser.SectionheaderContext)

ExitSectionheader is called when production sectionheader is exited.

func (*NpConfParserListener) ExitStr

func (s *NpConfParserListener) ExitStr(ctx *parser.StrContext)

ExitStr is called when production str is exited.

func (*NpConfParserListener) ExitStringlist

func (s *NpConfParserListener) ExitStringlist(ctx *parser.StringlistContext)

ExitStringlist is called when production stringlist is exited.

func (*NpConfParserListener) VisitErrorNode

func (s *NpConfParserListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*NpConfParserListener) VisitTerminal

func (s *NpConfParserListener) VisitTerminal(node antlr.TerminalNode)

type Section

type Section struct {
	Name       *string
	Sections   []*Section
	Properties []*string
}

Jump to

Keyboard shortcuts

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