Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoValidate ¶
func DoValidate(validateParams *CmdContextParamValidate) error
func LoadGrammar ¶
func LoadGrammar(grammarFile string) (*sysl.Application, error)
LoadGrammar loads sysl conversion of given grammar. eg: if grammarFile is ./foo/bar.g, this tries to load ./foo/bar.sysl
Types ¶
type CmdContextParamValidate ¶
type CmdContextParamValidate struct {
// contains filtered or unexported fields
}
func ConfigureCmdlineForValidate ¶
func ConfigureCmdlineForValidate(sysl *kingpin.Application) *CmdContextParamValidate
ConfigureCmdlineForValidate configures commandline params related to validate
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(grammar, transform *sysl.Application, parser *parse.Parser) *Validator
func (*Validator) LogMessages ¶
func (v *Validator) LogMessages()
Click to show internal directories.
Click to hide internal directories.