parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncEvent

type FuncEvent interface {
	FuncName() string
}

type FuncEventType

type FuncEventType int
const (
	Invocation FuncEventType = iota
	Returning
)

type InvocationEvent

type InvocationEvent struct {
	Name string
	Args string
}

func (*InvocationEvent) FuncName

func (ie *InvocationEvent) FuncName() string

type Parser

type Parser interface {
	Parse(in io.Reader) ([]FuncEvent, error)
}

func NewParser

func NewParser() Parser

type ReturningEvent

type ReturningEvent struct {
	Name string
}

func (*ReturningEvent) FuncName

func (ie *ReturningEvent) FuncName() string

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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