template

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnyMatcher

func NewAnyMatcher() parsly.Matcher

Types

type AnyMatcher

type AnyMatcher struct {
}

func (*AnyMatcher) Match

func (a *AnyMatcher) Match(cursor *parsly.Cursor) (matched int)

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(name string) *Builder

func (*Builder) AddType

func (b *Builder) AddType(path string, rType reflect.Type, options ...interface{}) error

func (*Builder) Build

func (b *Builder) Build() reflect.Type

type Value

type Value struct {
	Key      string
	Fragment string
}

func Parse

func Parse(SQL string) ([]*Value, error)

Jump to

Keyboard shortcuts

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