(source common.Source, fac ast.ExprFactory)
| 33 | } |
| 34 | |
| 35 | func newParserHelper(source common.Source, fac ast.ExprFactory) *parserHelper { |
| 36 | return &parserHelper{ |
| 37 | exprFactory: fac, |
| 38 | source: source, |
| 39 | sourceInfo: ast.NewSourceInfo(source), |
| 40 | nextID: 1, |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func (p *parserHelper) getSourceInfo() *ast.SourceInfo { |
| 45 | return p.sourceInfo |