events

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Sub-Package gherkin/events provides the data-structure types for the evented gherkin parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackgroundEndEvent

type BackgroundEndEvent struct {
}

func (*BackgroundEndEvent) EventType

func (*BackgroundEndEvent) EventType() EventType

func (*BackgroundEndEvent) String

func (*BackgroundEndEvent) String() string

type BackgroundEvent

type BackgroundEvent struct {
	Title       string
	Description string
	Tags        []string
}

func (*BackgroundEvent) EventType

func (*BackgroundEvent) EventType() EventType

func (*BackgroundEvent) String

func (e *BackgroundEvent) String() string

type BlankLineEvent

type BlankLineEvent struct {
}

func (*BlankLineEvent) EventType

func (*BlankLineEvent) EventType() EventType

func (*BlankLineEvent) String

func (*BlankLineEvent) String() string

type CommentEvent

type CommentEvent struct {
	Comment string
}

func (*CommentEvent) EventType

func (*CommentEvent) EventType() EventType

func (*CommentEvent) String

func (e *CommentEvent) String() string

type Event

type Event interface {
	EventType() EventType
}

type EventType

type EventType int
const (
	FeatureEventType EventType = iota
	FeatureEndEventType
	BackgroundEventType
	BackgroundEndEventType
	ScenarioEventType
	ScenarioEndEventType
	StepEventType
	StepEndEventType
	OutlineEventType
	OutlineEndEventType
	OutlineExamplesEventType
	OutlineExamplesEndEventType
	PyStringEventType
	PyStringLineEventType
	PyStringEndEventType
	TableEventType
	TableRowEventType
	TableCellEventType
	TableRowEndEventType
	TableEndEventType
	BlankLineEventType
	CommentEventType
)

type FeatureEndEvent

type FeatureEndEvent struct {
}

func (*FeatureEndEvent) EventType

func (*FeatureEndEvent) EventType() EventType

func (*FeatureEndEvent) String

func (*FeatureEndEvent) String() string

type FeatureEvent

type FeatureEvent struct {
	Title       string
	Description string
	Tags        []string
}

func (*FeatureEvent) EventType

func (*FeatureEvent) EventType() EventType

func (*FeatureEvent) String

func (e *FeatureEvent) String() string

type OutlineEndEvent

type OutlineEndEvent struct {
}

func (*OutlineEndEvent) EventType

func (*OutlineEndEvent) EventType() EventType

func (*OutlineEndEvent) String

func (*OutlineEndEvent) String() string

type OutlineEvent

type OutlineEvent struct {
	Title       string
	Description string
	Tags        []string
}

func (*OutlineEvent) EventType

func (e *OutlineEvent) EventType() EventType

func (*OutlineEvent) String

func (e *OutlineEvent) String() string

type OutlineExamplesEndEvent

type OutlineExamplesEndEvent struct {
}

func (*OutlineExamplesEndEvent) EventType

func (*OutlineExamplesEndEvent) EventType() EventType

func (*OutlineExamplesEndEvent) String

func (*OutlineExamplesEndEvent) String() string

type OutlineExamplesEvent

type OutlineExamplesEvent struct {
	Title string
}

func (*OutlineExamplesEvent) EventType

func (*OutlineExamplesEvent) EventType() EventType

func (*OutlineExamplesEvent) String

func (*OutlineExamplesEvent) String() string

type PyStringEndEvent

type PyStringEndEvent struct {
}

func (*PyStringEndEvent) EventType

func (*PyStringEndEvent) EventType() EventType

func (*PyStringEndEvent) String

func (*PyStringEndEvent) String() string

type PyStringEvent

type PyStringEvent struct {
	Intent string
}

func (*PyStringEvent) EventType

func (*PyStringEvent) EventType() EventType

func (*PyStringEvent) String

func (e *PyStringEvent) String() string

type PyStringLineEvent

type PyStringLineEvent struct {
	Line string
}

func (*PyStringLineEvent) EventType

func (*PyStringLineEvent) EventType() EventType

func (*PyStringLineEvent) String

func (e *PyStringLineEvent) String() string

type ScenarioEndEvent

type ScenarioEndEvent struct {
}

func (*ScenarioEndEvent) EventType

func (*ScenarioEndEvent) EventType() EventType

func (*ScenarioEndEvent) String

func (*ScenarioEndEvent) String() string

type ScenarioEvent

type ScenarioEvent struct {
	Title       string
	Description string
	Tags        []string
}

func (*ScenarioEvent) EventType

func (*ScenarioEvent) EventType() EventType

func (*ScenarioEvent) String

func (e *ScenarioEvent) String() string

type StepEndEvent

type StepEndEvent struct {
}

func (*StepEndEvent) EventType

func (*StepEndEvent) EventType() EventType

func (*StepEndEvent) String

func (*StepEndEvent) String() string

type StepEvent

type StepEvent struct {
	StepType string
	Text     string
}

func (*StepEvent) EventType

func (*StepEvent) EventType() EventType

func (*StepEvent) String

func (e *StepEvent) String() string

type TableCellEvent

type TableCellEvent struct {
	Content string
}

func (*TableCellEvent) EventType

func (*TableCellEvent) EventType() EventType

func (*TableCellEvent) String

func (e *TableCellEvent) String() string

type TableEndEvent

type TableEndEvent struct {
}

func (*TableEndEvent) EventType

func (*TableEndEvent) EventType() EventType

func (*TableEndEvent) String

func (*TableEndEvent) String() string

type TableEvent

type TableEvent struct {
}

func (*TableEvent) EventType

func (*TableEvent) EventType() EventType

func (*TableEvent) String

func (*TableEvent) String() string

type TableRowEndEvent added in v0.1.6

type TableRowEndEvent struct {
}

func (*TableRowEndEvent) EventType added in v0.1.6

func (*TableRowEndEvent) EventType() EventType

func (*TableRowEndEvent) String added in v0.1.6

func (*TableRowEndEvent) String() string

type TableRowEvent

type TableRowEvent struct {
}

func (*TableRowEvent) EventType

func (*TableRowEvent) EventType() EventType

func (*TableRowEvent) String

func (*TableRowEvent) String() string

Jump to

Keyboard shortcuts

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