Documentation
¶
Overview ¶
Package tree contains a bunch of awful code that transforms the XSD into an internal representation that we can then template into Go code.
Index ¶
- func AllElems(cts xsd.ComplexType) []xsd.Element
- func DocString(doc xsd.Documentation) string
- type Node
- func (n *Node) InternalRender(w io.Writer)
- func (n *Node) InternalRenderAttr(w io.Writer)
- func (n *Node) InternalRenderField(w io.Writer)
- func (n *Node) PublicRender(w io.Writer, name string)
- func (n *Node) PublicRenderEnum(w io.Writer)
- func (n *Node) PublicRenderMethod(w io.Writer, name string)
- func (n *Node) ResolveType(tm TypeMap)
- type Root
- type Type
- type TypeMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DocString ¶
func DocString(doc xsd.Documentation) string
Types ¶
type Node ¶
type Node struct { Name string Type Type Nodes []*Node Multiple bool Attr bool Documentation []string IsBase bool }
func AttrToNode ¶
func (*Node) InternalRender ¶
func (*Node) InternalRenderAttr ¶
func (*Node) InternalRenderField ¶
func (*Node) PublicRenderEnum ¶ added in v0.7.1
func (*Node) ResolveType ¶
Click to show internal directories.
Click to hide internal directories.