Added ToString methods for syntax tree nodes
This commit is contained in:
parent
b02ff6cda6
commit
d91423863b
@ -2,5 +2,5 @@ package parser
|
|||||||
|
|
||||||
// parseData parses a data section
|
// parseData parses a data section
|
||||||
func (parser *ParsingOperation) parseData () (err error) {
|
func (parser *ParsingOperation) parseData () (err error) {
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,7 @@ package parser
|
|||||||
|
|
||||||
import "reflect"
|
import "reflect"
|
||||||
import "testing"
|
import "testing"
|
||||||
|
import "git.tebibyte.media/sashakoshka/arf/types"
|
||||||
|
|
||||||
func checkTree (modulePath string, correct *SyntaxTree, test *testing.T) {
|
func checkTree (modulePath string, correct *SyntaxTree, test *testing.T) {
|
||||||
tree, err := Parse(modulePath)
|
tree, err := Parse(modulePath)
|
||||||