parser

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const EOF = -1
View Source
const EPSILON = -2
View Source
const FIRST = 0
View Source
const PopGrammar = -4
View Source
const PushGrammar = -3

Variables

This section is empty.

Functions

func GetTermMinMaxCount

func GetTermMinMaxCount(t *sysl.Term) (int, int)

GetTermMinMaxCount returns acceptable min and max counts by looking at term's quantifier

func ParseEBNF

func ParseEBNF(ebnfText string, name string, start string) *sysl.Grammar

ParseEBNF Parses and build the EBNF grammar

Types

This section is empty.

Jump to

Keyboard shortcuts

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