Documentation
¶
Index ¶
- func AssertFileNode(t *testing.T, got, want *parser.DocumentNode)
- func AssertGold(t *testing.T, path string, content string)
- func AssertToken(t *testing.T, got, want lexer.Token)
- func FileExists(path string) bool
- func GenerateTokenList(min, max int, token lexer.TokenType) []lexer.Token
- func GetGoldenFiles() ([]string, error)
- func PathToGold(path string, suffix string) string
- func Pos(line, column int) diag.Position
- func WriteGold(t *testing.T, path string, content string)
- type TokenList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertFileNode ¶
func AssertFileNode(t *testing.T, got, want *parser.DocumentNode)
func FileExists ¶
func GetGoldenFiles ¶
func PathToGold ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.