xml

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element interface {
	WriteXML(io.Writer)
}

Elements: GoTagElement, GoDocTypeElement, GoTextElement, GoGroupElement

type GoDocTypeElement

type GoDocTypeElement struct {
	String_ string `ko:"name=string,monadic"`
}

func (*GoDocTypeElement) Play

func (g *GoDocTypeElement) Play(ctx *runtime.Context) Element

func (*GoDocTypeElement) WriteXML

func (g *GoDocTypeElement) WriteXML(w io.Writer)

type GoGroupElement

type GoGroupElement struct {
	Elem []Element `ko:"name=elem,monadic"`
}

func (*GoGroupElement) Play

func (g *GoGroupElement) Play(ctx *runtime.Context) Element

func (*GoGroupElement) WriteXML

func (g *GoGroupElement) WriteXML(w io.Writer)

type GoRenderElement

type GoRenderElement struct {
	Elem []Element `ko:"name=elem,monadic"`
}

func (*GoRenderElement) Play

func (g *GoRenderElement) Play(ctx *runtime.Context) string

type GoTagElement

type GoTagElement struct {
	Tag      string    `ko:"name=tag"`
	Attrs    []string  `ko:"name=attrs"`
	Children []Element `ko:"name=children"`
}

func (*GoTagElement) Play

func (g *GoTagElement) Play(ctx *runtime.Context) Element

func (*GoTagElement) WriteXML

func (g *GoTagElement) WriteXML(w io.Writer)

type GoTextElement

type GoTextElement struct {
	String_ string `ko:"name=string,monadic"`
}

func (*GoTextElement) Play

func (g *GoTextElement) Play(ctx *runtime.Context) Element

func (*GoTextElement) WriteXML

func (g *GoTextElement) WriteXML(w io.Writer)

Jump to

Keyboard shortcuts

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