text_language

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTextConstraintLanguagePlugin

func NewTextConstraintLanguagePlugin() plugin_registry.ConstraintLanguagePlugin

Types

type TextConstraintLanguagePlugin

type TextConstraintLanguagePlugin struct {
}

func (*TextConstraintLanguagePlugin) GetNextExpression

func (p *TextConstraintLanguagePlugin) GetNextExpression(expression string) (string, string, error)

This function parses out the next property expression and returns it along with the remainder of the expression. It returns, the parsed out expression, and the remainder of the full expression, or an error.

func (*TextConstraintLanguagePlugin) GetNextOperator

func (p *TextConstraintLanguagePlugin) GetNextOperator(expression string) (string, string, error)

func (*TextConstraintLanguagePlugin) Validate

func (p *TextConstraintLanguagePlugin) Validate(dconstraints interface{}) (bool, []string, error)

Jump to

Keyboard shortcuts

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