algorithm

package
v0.0.0-...-6b9a7a9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: MIT

SPDX-License-Identifier: MIT

SPDX-License-Identifier: MIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(v ast.Visitor, node ast.Node)

Types

type Node

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

type RegexBuilder

type RegexBuilder struct {
	Root       *regex.Root
	ActualNode regex.ExprStmt
	Stack      Stack
}

func (*RegexBuilder) Visit

func (v *RegexBuilder) Visit(node ast.Node) (w ast.Visitor)

type RegexPrinter

type RegexPrinter struct {
	Buffer bytes.Buffer
	Fset   *token.FileSet
}

func (*RegexPrinter) Visit

func (v *RegexPrinter) Visit(node regex.Stmt) (w regex.Visitor)

type Stack

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

func (*Stack) IsEmpty

func (s *Stack) IsEmpty() bool

func (*Stack) Len

func (s *Stack) Len() int

func (*Stack) Peek

func (s *Stack) Peek() interface{}

func (*Stack) Pop

func (s *Stack) Pop() (val interface{})

func (*Stack) Push

func (s *Stack) Push(val interface{})

Jump to

Keyboard shortcuts

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