Documentation
¶
Index ¶
- func Assert(expression bool, message ...string)
- func AssertEachIsDefined[TElem any](value []TElem, message ...string)
- func AssertEachNode[TElem any](nodes []TElem, test func(elem TElem) bool, message ...string)
- func AssertEqual(a fmt.Stringer, b fmt.Stringer, message ...string)
- func AssertGreaterThan(a int, b int, message ...string)
- func AssertGreaterThanOrEqual(a int, b int, message ...string)
- func AssertIsDefined(value any, message ...string)
- func AssertLessThan(a int, b int, message ...string)
- func AssertLessThanOrEqual(a int, b int, message ...string)
- func AssertMissingNode[TElem any](node TElem, message ...string)
- func AssertNever(member any, message ...string)
- func AssertNil(value any, message ...string)
- func AssertNode[TElem any](node TElem, test func(elem TElem) bool, message ...string)
- func AssertNotNode[TElem any](node TElem, test func(elem TElem) bool, message ...string)
- func AssertOptionalNode[TElem any](node TElem, test func(elem TElem) bool, message ...string)
- func AssertOptionalToken[TElem interface{ ... }](node TElem, kind int16, message ...string)
- func CheckDefined[T any](value T, message ...string) T
- func CheckEachIsDefined[TElem any](value []TElem, message ...string) []TElem
- func Fail(reason string)
- func FailBadSyntaxKind(node interface{ ... }, message ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEachIsDefined ¶
func AssertEachNode ¶
func AssertGreaterThan ¶
func AssertIsDefined ¶
func AssertLessThan ¶
func AssertLessThanOrEqual ¶
func AssertMissingNode ¶
func AssertNever ¶
func AssertNode ¶
func AssertNotNode ¶
func AssertOptionalNode ¶
func AssertOptionalToken ¶
func CheckDefined ¶
func CheckEachIsDefined ¶
func FailBadSyntaxKind ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.