ref

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2018 License: BSD-3-Clause Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldNameFromArrayRef

func GetFieldNameFromArrayRef(arrayRef string) string

func IsArrayMapping

func IsArrayMapping(ref string) bool

Types

type ArrayRef

type ArrayRef struct {
	// contains filtered or unexported fields
}

func NewArrayRef

func NewArrayRef(ref string) *ArrayRef

func (*ArrayRef) Eval

func (m *ArrayRef) Eval(inputScope, outputScope data.Scope) (interface{}, error)

func (*ArrayRef) EvalFromData

func (m *ArrayRef) EvalFromData(data interface{}) (interface{}, error)

func (*ArrayRef) GetRef

func (m *ArrayRef) GetRef() string

type MappingRef

type MappingRef struct {
	// contains filtered or unexported fields
}

func NewMappingRef

func NewMappingRef(ref string) *MappingRef

func (*MappingRef) Eval

func (m *MappingRef) Eval(inputScope data.Scope, resovler data.Resolver) (interface{}, error)

func (*MappingRef) GetActivityId

func (m *MappingRef) GetActivityId() (string, error)

func (*MappingRef) GetActivtyRootField

func (m *MappingRef) GetActivtyRootField() (string, error)

func (*MappingRef) GetFieldName

func (m *MappingRef) GetFieldName() (string, error)

func (*MappingRef) GetFields

func (m *MappingRef) GetFields() (*field.MappingField, error)

func (*MappingRef) GetRef

func (m *MappingRef) GetRef() string

func (*MappingRef) GetValue

func (m *MappingRef) GetValue(inputScope data.Scope, resovler data.Resolver) (interface{}, error)

func (*MappingRef) GetValueFromOutputScope

func (m *MappingRef) GetValueFromOutputScope(outputtscope data.Scope) (interface{}, error)

Jump to

Keyboard shortcuts

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