Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoValidate ¶
func LoadGrammar ¶
LoadGrammar loads sysl conversion of given grammar. eg: if grammarFile is ./foo/bar.g, this tries to load ./foo/bar.sysl
Types ¶
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.