NewParser returns a new instance of parser.
(r io.Reader)
| 113 | |
| 114 | // NewParser returns a new instance of parser. |
| 115 | func NewParser(r io.Reader) *Parser { |
| 116 | return &Parser{s: newScanner(r)} |
| 117 | } |
| 118 | |
| 119 | // scan returns the next token from the underlying scanner |
| 120 | // or the last scanned token if an unscan was requested |
searching dependent graphs…