parser

package
v0.0.0-...-0df34db Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2016 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	NodeGraph NodeGraph `json:"nodeGraph"`
	Label     string    `json:"label"`
}

type Compatibility

type Compatibility struct {
	HostNodeTypes []string          `json:"hostNodeTypes"`
	Host          map[string]string `json:"host"`
	Renderer      map[string]string `json:"renderer"`
}

type Connection

type Connection struct {
	Node  string `json:"node"`
	Param string `json:"param"`
}

type ConnectionBlock

type ConnectionBlock map[string]Connection

type Node

type Node struct {
	Params    map[string]Param `json:"params"`
	RmanNode  string           `json:"rmanNode"`
	Type      string           `json:"type"`
	NodeClass string           `json:"nodeClass"`
}

type NodeGraph

type NodeGraph struct {
	Dependencies   []string          `json:"dependecies"`
	NodeList       map[string]Node   `json:"nodeList"`
	Compatibility  Compatibility     `json:"compactibility"`
	ConnectionList []ConnectionBlock `json:"connectionList"`
	Metadata       map[string]string `json:"metadata"`
}

type Outer

type Outer struct {
	RenderManAsset *RenderManAsset
}

type Param

type Param struct {
	Default       interface{} `json:"default"`
	Type          string      `json:"type"`
	Name          string      `json:"name"`
	Value         interface{} `json:"value"`
	Vstructmember string      `json:"vstructmember"`
}

type RenderManAsset

type RenderManAsset struct {
	UsedNodeTypes []string `json:"usedNodeTypes"`
	Version       float64  `json:"version"`
	Asset         Asset    `json:"asset"`
}

func Parse

func Parse(name string, data []byte) (*RenderManAsset, error)

Jump to

Keyboard shortcuts

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