Documentation ¶
Index ¶
- type NewNodeT
- type Node
- func (_m *Node) ASTNode() (schema.ASTNode, error)
- func (_m *Node) AddConstraint(_a0 constraint.Constraint)
- func (_m *Node) BasisLexEventOfSchemaForNode() lexeme.LexEvent
- func (_m *Node) Comment() string
- func (_m *Node) Constraint(_a0 constraint.Type) constraint.Constraint
- func (_m *Node) ConstraintMap() *ischema.Constraints
- func (_m *Node) Copy() ischema.Node
- func (_m *Node) DeleteConstraint(_a0 constraint.Type)
- func (_m *Node) Grow(_a0 lexeme.LexEvent) (ischema.Node, bool)
- func (_m *Node) InheritedFrom() string
- func (_m *Node) NumberOfConstraints() int
- func (_m *Node) Parent() ischema.Node
- func (_m *Node) RealType() string
- func (_m *Node) SchemaType() schema.SchemaType
- func (_m *Node) SetComment(_a0 string)
- func (_m *Node) SetInheritedFrom(_a0 string)
- func (_m *Node) SetParent(_a0 ischema.Node)
- func (_m *Node) SetRealType(_a0 string) bool
- func (_m *Node) Type() json.Type
- func (_m *Node) Value() bytes.Bytes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
Node is an autogenerated mock type for the Node type
func NewNode ¶
NewNode creates a new instance of Node. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Node) AddConstraint ¶
func (_m *Node) AddConstraint(_a0 constraint.Constraint)
AddConstraint provides a mock function with given fields: _a0
func (*Node) BasisLexEventOfSchemaForNode ¶
BasisLexEventOfSchemaForNode provides a mock function with given fields:
func (*Node) Constraint ¶
func (_m *Node) Constraint(_a0 constraint.Type) constraint.Constraint
Constraint provides a mock function with given fields: _a0
func (*Node) ConstraintMap ¶
func (_m *Node) ConstraintMap() *ischema.Constraints
ConstraintMap provides a mock function with given fields:
func (*Node) DeleteConstraint ¶
func (_m *Node) DeleteConstraint(_a0 constraint.Type)
DeleteConstraint provides a mock function with given fields: _a0
func (*Node) InheritedFrom ¶
InheritedFrom provides a mock function with given fields:
func (*Node) NumberOfConstraints ¶
NumberOfConstraints provides a mock function with given fields:
func (*Node) SchemaType ¶ added in v0.2.0
func (_m *Node) SchemaType() schema.SchemaType
SchemaType provides a mock function with given fields:
func (*Node) SetComment ¶
SetComment provides a mock function with given fields: _a0
func (*Node) SetInheritedFrom ¶
SetInheritedFrom provides a mock function with given fields: _a0
func (*Node) SetRealType ¶
SetRealType provides a mock function with given fields: _a0