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 Version version.Version // contains filtered or unexported fields }
func NewLexerTokenFreeFloatingTestSuite ¶
func NewLexerTokenFreeFloatingTestSuite(t *testing.T) *LexerTokenFreeFloatingTestSuite
func (*LexerTokenFreeFloatingTestSuite) Run ¶
func (l *LexerTokenFreeFloatingTestSuite) Run()
func (*LexerTokenFreeFloatingTestSuite) UsePHP8 ¶
func (l *LexerTokenFreeFloatingTestSuite) UsePHP8()
type LexerTokenStringTestSuite ¶
type LexerTokenStringTestSuite struct { Code string Expected []string Version version.Version // contains filtered or unexported fields }
func NewLexerTokenStringTestSuite ¶
func NewLexerTokenStringTestSuite(t *testing.T) *LexerTokenStringTestSuite
func (*LexerTokenStringTestSuite) Run ¶
func (l *LexerTokenStringTestSuite) Run()
func (*LexerTokenStringTestSuite) UsePHP8 ¶
func (l *LexerTokenStringTestSuite) UsePHP8()
type LexerTokenStructTestSuite ¶
type LexerTokenStructTestSuite struct { Code string Expected []*token.Token Version version.Version // contains filtered or unexported fields }
func NewLexerTokenStructTestSuite ¶
func NewLexerTokenStructTestSuite(t *testing.T) *LexerTokenStructTestSuite
func (*LexerTokenStructTestSuite) Run ¶
func (l *LexerTokenStructTestSuite) Run()
func (*LexerTokenStructTestSuite) UsePHP8 ¶
func (l *LexerTokenStructTestSuite) UsePHP8()
func (*LexerTokenStructTestSuite) WithFreeFloating ¶
func (l *LexerTokenStructTestSuite) WithFreeFloating()
func (*LexerTokenStructTestSuite) WithPosition ¶
func (l *LexerTokenStructTestSuite) WithPosition()
type ParserDumpTestSuite ¶
type ParserDumpTestSuite struct { Code string Expected string Version version.Version // contains filtered or unexported fields }
func NewParserDumpTestSuite ¶
func NewParserDumpTestSuite(t *testing.T) *ParserDumpTestSuite
func (*ParserDumpTestSuite) Run ¶
func (p *ParserDumpTestSuite) Run()
func (*ParserDumpTestSuite) UsePHP8 ¶
func (p *ParserDumpTestSuite) UsePHP8()
func (*ParserDumpTestSuite) WithPositions ¶
func (p *ParserDumpTestSuite) WithPositions()
func (*ParserDumpTestSuite) WithTokens ¶
func (p *ParserDumpTestSuite) WithTokens()
type ParserErrorTestSuite ¶
type ParserErrorTestSuite struct { Code string Expected []*errors.Error Version version.Version // contains filtered or unexported fields }
func NewParserErrorTestSuite ¶
func NewParserErrorTestSuite(t *testing.T) *ParserErrorTestSuite
func (*ParserErrorTestSuite) Run ¶
func (p *ParserErrorTestSuite) Run()
func (*ParserErrorTestSuite) UsePHP8 ¶
func (p *ParserErrorTestSuite) UsePHP8()
type ParserPrintTestSuite ¶
type ParserPrintTestSuite struct { Version version.Version // contains filtered or unexported fields }
func NewParserPrintTestSuite ¶
func NewParserPrintTestSuite(t *testing.T) *ParserPrintTestSuite
func (*ParserPrintTestSuite) Run ¶
func (p *ParserPrintTestSuite) Run(code string)
func (*ParserPrintTestSuite) UsePHP8 ¶
func (p *ParserPrintTestSuite) UsePHP8() *ParserPrintTestSuite
type ParserTestSuite ¶
type ParserTestSuite struct { Code string Expected ast.Vertex Version version.Version // contains filtered or unexported fields }
func NewParserTestSuite ¶
func NewParserTestSuite(t *testing.T) *ParserTestSuite
func (*ParserTestSuite) Run ¶
func (p *ParserTestSuite) Run()
func (*ParserTestSuite) UsePHP8 ¶
func (p *ParserTestSuite) UsePHP8()
Click to show internal directories.
Click to hide internal directories.