brick

package module
v0.0.0-...-6e8b2b8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ViewAttr

type ViewAttr struct {
	Name  xml.Name
	Value string
	Type  ViewBrickType
}

type ViewBrick

type ViewBrick struct {
	Name     xml.Name
	Attr     []ViewAttr
	Type     ViewBrickType
	Children []*ViewBrick
}

func ParseXmlView

func ParseXmlView(r io.Reader) *ViewBrick

func (*ViewBrick) Add

func (vb *ViewBrick) Add(c *ViewBrick)

func (ViewBrick) ClassName

func (v ViewBrick) ClassName() string

type ViewBrickType

type ViewBrickType uint
const (
	ViewUndefined ViewBrickType = iota + 1
	ViewElement
	ViewAggregation
	ViewProperty
	ViewRoot
)

Jump to

Keyboard shortcuts

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