Parser structure
| 17 | |
| 18 | // Parser structure |
| 19 | type Parser struct { |
| 20 | Lexer scanner.Scanner |
| 21 | currentToken *scanner.Token |
| 22 | positionBuilder *positionbuilder.PositionBuilder |
| 23 | rootNode node.Node |
| 24 | } |
| 25 | |
| 26 | // NewParser creates and returns new Parser |
| 27 | func NewParser(src []byte, v string) *Parser { |
nothing calls this directly
no outgoing calls
no test coverage detected