Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LexerTokenFreeFloatingTestSuite ¶
type LexerTokenFreeFloatingTestSuite struct {
Code string
Expected [][]*token.Token
// contains filtered or unexported fields
}
func NewLexerTokenFreeFloatingTestSuite ¶
func NewLexerTokenFreeFloatingTestSuite(t *testing.T) *LexerTokenFreeFloatingTestSuite
func (*LexerTokenFreeFloatingTestSuite) Run ¶
func (l *LexerTokenFreeFloatingTestSuite) Run()
type LexerTokenStringTestSuite ¶
type LexerTokenStringTestSuite struct {
Code string
Expected []string
// contains filtered or unexported fields
}
func NewLexerTokenStringTestSuite ¶
func NewLexerTokenStringTestSuite(t *testing.T) *LexerTokenStringTestSuite
func (*LexerTokenStringTestSuite) Run ¶
func (l *LexerTokenStringTestSuite) Run()
type LexerTokenStructTestSuite ¶
type LexerTokenStructTestSuite struct {
Code string
Expected []*token.Token
// contains filtered or unexported fields
}
func NewLexerTokenStructTestSuite ¶
func NewLexerTokenStructTestSuite(t *testing.T) *LexerTokenStructTestSuite
func (*LexerTokenStructTestSuite) Run ¶
func (l *LexerTokenStructTestSuite) Run()
func (*LexerTokenStructTestSuite) WithFreeFloating ¶
func (l *LexerTokenStructTestSuite) WithFreeFloating()
func (*LexerTokenStructTestSuite) WithPos ¶
func (l *LexerTokenStructTestSuite) WithPos()
type ParserErrorTestSuite ¶
type ParserErrorTestSuite struct {
Code string
Expected []*errors.Error
// contains filtered or unexported fields
}
func NewParserErrorTestSuite ¶
func NewParserErrorTestSuite(t *testing.T) *ParserErrorTestSuite
func (*ParserErrorTestSuite) Run ¶
func (p *ParserErrorTestSuite) Run()
type ParserPrintTestSuite ¶
type ParserPrintTestSuite struct {
// contains filtered or unexported fields
}
type ParserTestSuite ¶
type ParserTestSuite struct {
Code string
Expected ast.Node
// contains filtered or unexported fields
}
func NewParserTestSuite ¶
func NewParserTestSuite(t *testing.T) *ParserTestSuite
func (*ParserTestSuite) Run ¶
func (p *ParserTestSuite) Run()
Click to show internal directories.
Click to hide internal directories.