parser

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package parser is generated by gogll. 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

View Source
var (
	R *descriptors
	U *descriptors
)

Functions

func CRFString

func CRFString() string

func DumpDescriptors

func DumpDescriptors()

func DumpR

func DumpR()

func DumpU

func DumpU()

func GetLineColumn

func GetLineColumn(cI int) (line, col int)

func PoppedString

func PoppedString() string

Types

type ParseError

type ParseError struct {
	Slot         slot.Label
	InputPos     int
	Char         string
	Line, Column int
}

func Parse

func Parse(I []byte) (error, []*ParseError)

func ParseFile

func ParseFile(fname string) (error, []*ParseError)

func (*ParseError) String

func (pe *ParseError) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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