This repository has been archived on 2022-08-30. You can view files and clone it, but cannot push or open issues or pull requests.
2022-08-12 15:11:43 +00:00
|
|
|
package parser
|
|
|
|
|
|
|
|
// SyntaxTree represents an abstract syntax tree. It covers an entire module. It
|
|
|
|
// can be expected to be syntactically correct, but it might not be semantically
|
|
|
|
// correct (because it has not been analyzed yet.)
|
|
|
|
type SyntaxTree struct {
|
2022-08-12 16:55:17 +00:00
|
|
|
license string
|
|
|
|
author string
|
|
|
|
|
|
|
|
requires []string
|
2022-08-12 15:11:43 +00:00
|
|
|
}
|