domain

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClonePair

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

func NewClonePair

func NewClonePair(node1 *Node, node2 *Node) *ClonePair

func (*ClonePair) GetNodes

func (cp *ClonePair) GetNodes() (*Node, *Node)

type CloneSequencePair

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

func NewCloneSequencePair

func NewCloneSequencePair(node1 []*Node, node2 []*Node) *CloneSequencePair

func (*CloneSequencePair) GetLength

func (cp *CloneSequencePair) GetLength() int

func (*CloneSequencePair) GetNodes

func (cp *CloneSequencePair) GetNodes() ([]*Node, []*Node)

type Node

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

func NewNode

func NewNode(
	node ast.Node,
	nodeType values.NodeType,
	position *values.Position,
	childCount values.ChildCount,
	token values.NodeToken,
) *Node

func (*Node) GetChildCount

func (n *Node) GetChildCount() values.ChildCount

func (*Node) GetNode

func (n *Node) GetNode() ast.Node

func (*Node) GetNodeType

func (n *Node) GetNodeType() values.NodeType

func (*Node) GetPosition

func (n *Node) GetPosition() *values.Position

func (*Node) GetToken

func (n *Node) GetToken() values.NodeToken

func (*Node) IncrementChildCount

func (n *Node) IncrementChildCount(childCount values.ChildCount)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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