parsers

package
v5.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

func (*Event) Delete

func (p *Event) Delete(index int) error

func (*Event) Get

func (p *Event) Get(createIfNotExist bool) (common.ParserData, error)

func (*Event) GetOne

func (p *Event) GetOne(index int) (common.ParserData, error)

func (*Event) GetParserName

func (p *Event) GetParserName() string

func (*Event) GetPreComments

func (p *Event) GetPreComments() ([]string, error)

func (*Event) Init

func (p *Event) Init()

func (*Event) Insert

func (p *Event) Insert(data common.ParserData, index int) error

func (*Event) Parse

func (e *Event) Parse(line string, parts []string, comment string) (string, error)

func (*Event) PreParse

func (p *Event) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*Event) Result

func (e *Event) Result() ([]common.ReturnResultLine, error)

func (*Event) ResultAll

func (p *Event) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Event) Set

func (p *Event) Set(data common.ParserData, index int) error

func (*Event) SetPreComments

func (p *Event) SetPreComments(preComments []string)

type SPOESection

type SPOESection struct {
	Name string
	// contains filtered or unexported fields
}

func (*SPOESection) Delete

func (p *SPOESection) Delete(index int) error

func (*SPOESection) Get

func (p *SPOESection) Get(createIfNotExist bool) (common.ParserData, error)

func (*SPOESection) GetOne

func (p *SPOESection) GetOne(index int) (common.ParserData, error)

func (*SPOESection) GetParserName

func (s *SPOESection) GetParserName() string

GetParserName return name of the section

func (*SPOESection) GetPreComments

func (p *SPOESection) GetPreComments() ([]string, error)

func (*SPOESection) Init

func (s *SPOESection) Init()

func (*SPOESection) Insert

func (p *SPOESection) Insert(data common.ParserData, index int) error

func (*SPOESection) Parse

func (s *SPOESection) Parse(line string, parts []string, comment string) (string, error)

Parse see if we have section name

func (*SPOESection) PreParse

func (p *SPOESection) PreParse(line string, parts []string, preComments []string, comment string) (string, error)

func (*SPOESection) Result

func (s *SPOESection) Result() ([]common.ReturnResultLine, error)

func (*SPOESection) ResultAll

func (p *SPOESection) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*SPOESection) Set

func (p *SPOESection) Set(data common.ParserData, index int) error

func (*SPOESection) SetPreComments

func (p *SPOESection) SetPreComments(preComments []string)

Jump to

Keyboard shortcuts

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