Versions in this module Expand all Collapse all v0 v0.2.0 Nov 28, 2023 v0.1.0 Nov 28, 2023 Changes in this version + var ElementRoot = Element + var ElementSelfReference = Element + var ElementUpwardsReference = Element + func AssignTypeAtPath(source any, path ObjectPath, newType reflect.Type) error + func GetValueAtPath(source any, path ObjectPath, out *reflect.Value) error + func ParsePathString(s string, path *Elements) error + type Context struct + type Element struct + func MakeElement(name string) Element + func (e *Element) IsRootElement() bool + func (e *Element) IsUpwardsReference() bool + type ElementType int + const ElementTypeIdentifier + const ElementTypeRoot + const ElementTypeSelfReference + const ElementTypeUpwardsReference + type Elements []Element + type ObjectPath struct + func NewEmptyPath() *ObjectPath + func NewObjectPathFromString(s string) (error, *ObjectPath) + func NewSelfReferencePath() *ObjectPath + func (p *ObjectPath) DeleteAt(index int, n int) error + func (p *ObjectPath) IsAbsolutePath() bool + func (p *ObjectPath) IsEqualTo(other *ObjectPath) bool + func (p *ObjectPath) IsRelativePath() bool + func (p *ObjectPath) Normalize() error + func (p *ObjectPath) Pop() error + func (p *ObjectPath) Push(element Element) error + func (p *ObjectPath) String() string + func (p *ObjectPath) ToAbsolutePath(referencePath *ObjectPath) error + type ParsingState int + const ParsingStateBeginning + const ParsingStateDot + const ParsingStateEnclosedIdentifier + const ParsingStateEscaping + const ParsingStateName + const ParsingStateSlash