Documentation
¶
Index ¶
- Variables
- type Graph
- func (g *Graph) Connect(ctx *core.Context, from, to *GraphNode)
- func (g *Graph) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, ...) bool
- func (f *Graph) GetGoMethod(name string) (*core.GoFunction, bool)
- func (g *Graph) InsertNode(ctx *core.Context, v core.Value) *GraphNode
- func (g *Graph) IsMutable() bool
- func (g *Graph) Iterator(ctx *core.Context, config core.IteratorConfiguration) core.Iterator
- func (g *Graph) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, ...)
- func (g *Graph) Prop(ctx *core.Context, name string) core.Value
- func (*Graph) PropertyNames(ctx *core.Context) []string
- func (g *Graph) RemoveNode(ctx *core.Context, node *GraphNode)
- func (*Graph) SetProp(ctx *core.Context, name string, value core.Value) error
- func (g *Graph) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)
- func (g *Graph) Walker(*core.Context) (core.Walker, error)
- type GraphNode
- func (n *GraphNode) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, ...) bool
- func (n *GraphNode) GetGoMethod(name string) (*core.GoFunction, bool)
- func (n *GraphNode) IsMutable() bool
- func (n *GraphNode) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, ...)
- func (n *GraphNode) Prop(ctx *core.Context, name string) core.Value
- func (*GraphNode) PropertyNames(ctx *core.Context) []string
- func (*GraphNode) SetProp(ctx *core.Context, name string, value core.Value) error
- func (n *GraphNode) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)
- type GraphWalker
- func (wk *GraphWalker) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, ...) bool
- func (wk *GraphWalker) HasNext(ctx *core.Context) bool
- func (wk *GraphWalker) IsMutable() bool
- func (wk *GraphWalker) Key(ctx *core.Context) core.Value
- func (wk *GraphWalker) Next(ctx *core.Context) bool
- func (wk *GraphWalker) NodeMeta(*core.Context) core.WalkableNodeMeta
- func (wk *GraphWalker) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, ...)
- func (wk *GraphWalker) Prune(ctx *core.Context)
- func (it *GraphWalker) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)
- func (wk *GraphWalker) Value(ctx *core.Context) core.Value
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
// contains filtered or unexported fields
}
func (*Graph) GetGoMethod ¶
func (f *Graph) GetGoMethod(name string) (*core.GoFunction, bool)
func (*Graph) PrettyPrint ¶
func (*Graph) ToSymbolicValue ¶
type GraphNode ¶
type GraphNode struct {
// contains filtered or unexported fields
}
func (*GraphNode) GetGoMethod ¶
func (n *GraphNode) GetGoMethod(name string) (*core.GoFunction, bool)
func (*GraphNode) PrettyPrint ¶
type GraphWalker ¶
type GraphWalker struct {
// contains filtered or unexported fields
}
func (*GraphWalker) IsMutable ¶
func (wk *GraphWalker) IsMutable() bool
func (*GraphWalker) NodeMeta ¶
func (wk *GraphWalker) NodeMeta(*core.Context) core.WalkableNodeMeta
func (*GraphWalker) PrettyPrint ¶
func (wk *GraphWalker) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, parentIndentCount int)
func (*GraphWalker) Prune ¶
func (wk *GraphWalker) Prune(ctx *core.Context)
func (*GraphWalker) ToSymbolicValue ¶
Click to show internal directories.
Click to hide internal directories.