Documentation ¶
Index ¶
- func AssertEqual(t *testing.T, fns1, fns2 interface{}) bool
- func NewArrayNumbers(values []string) *ast.Array
- func NewBinary(left ast.Node, op string, right ast.Node) *ast.Binary
- func NewCall(functionName string, arguments ...ast.Node) *ast.Call
- func NewLiteralBool(b bool) *ast.Literal
- func NewLiteralChar(c rune) *ast.Literal
- func NewLiteralData(data []byte) *ast.Literal
- func NewLiteralNumber(number string) *ast.Literal
- func NewLiteralString(str string) *ast.Literal
- func NewMapNumbers(values map[string]string) *ast.Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
func NewArrayNumbers ¶
NewArrayNumbers creates an Array with some number literal values.
func NewLiteralBool ¶
NewLiteralBool create a new literal representing a boolean value.
func NewLiteralChar ¶
NewLiteralChar create a new literal representing a character value.
func NewLiteralData ¶
NewLiteralData create a new literal representing a data value.
func NewLiteralNumber ¶
NewLiteralNumber create a new literal representing a number value.
func NewLiteralString ¶
NewLiteralString create a new literal representing a string value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.