syntax

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:49 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(re *syntax.Regexp) (*syntax.Prog, error)

func EmptyOpContext

func EmptyOpContext(r1, r2 rune) syntax.EmptyOp

func ErrorCodeString

func ErrorCodeString(e syntax.ErrorCode) string

func ErrorError

func ErrorError(e *syntax.Error) string

func InstMatchEmptyWidth

func InstMatchEmptyWidth(i *syntax.Inst, before rune, after rune) bool

func InstMatchRune

func InstMatchRune(i *syntax.Inst, r rune) bool

func InstMatchRunePos

func InstMatchRunePos(i *syntax.Inst, r rune) int

func InstOpString

func InstOpString(i syntax.InstOp) string

func InstString

func InstString(i *syntax.Inst) string

func IsWordChar

func IsWordChar(r rune) bool

func OpString

func OpString(i syntax.Op) string

func Parse

func Parse(s string, flags syntax.Flags) (*syntax.Regexp, error)

func ProgPrefix

func ProgPrefix(p *syntax.Prog) (string, bool)

func ProgStartCond

func ProgStartCond(p *syntax.Prog) syntax.EmptyOp

func ProgString

func ProgString(p *syntax.Prog) string

func RegexpCapNames

func RegexpCapNames(re *syntax.Regexp) []string

func RegexpEqual

func RegexpEqual(x *syntax.Regexp, y *syntax.Regexp) bool

func RegexpMaxCap

func RegexpMaxCap(re *syntax.Regexp) int

func RegexpSimplify

func RegexpSimplify(re *syntax.Regexp) *syntax.Regexp

func RegexpString

func RegexpString(re *syntax.Regexp) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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