Documentation ¶
Index ¶
- func Compile(code string) (string, error)
- func CompileProg(code string, opts *parser.ParserOpts) (parser.Node, error)
- func CompileWithOpts(code string, opts *parser.ParserOpts) (string, error)
- func NewParser(code string, opts *parser.ParserOpts) *parser.Parser
- func RunFixture(t *testing.T, input, output, opts string, defaultOpts *parser.ParserOpts)
- func RunFixtures(t *testing.T, name string, defaultOpts *parser.ParserOpts)
- func ScanFixtures(name string) (map[string]*Fixture, error)
- func TestFail(t *testing.T, code, errMs string, opts *parser.ParserOpts)
- type Fixture
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileProg ¶
func CompileWithOpts ¶
func CompileWithOpts(code string, opts *parser.ParserOpts) (string, error)
func RunFixture ¶
func RunFixture(t *testing.T, input, output, opts string, defaultOpts *parser.ParserOpts)
func RunFixtures ¶
func RunFixtures(t *testing.T, name string, defaultOpts *parser.ParserOpts)
Types ¶
Click to show internal directories.
Click to hide internal directories.