func (p *Parser) Graph() *Graph {
	return p.ev.Tree()
}
Graph returns the parser tree
package ogdl
import (
	"bytes"
	"io"
	"io/ioutil"
)
type Parser struct {
	Lexer                      
	ev    *SimpleEventHandler  
}
func NewParser(rd io.Reader) *Parser {
	p := Parser{}
	p.rd = rd
	p.lastByte = bufSize
	p.buf = make([]byte, bufSize)
	p.ev = &SimpleEventHandler{}
	p.r = -1
	p.fill()
	return &p
}
func NewBytesParser(buf []byte) *Parser {
	return NewParser(bytes.NewBuffer(buf))
}
func NewStringParser(s string) *Parser {
	return NewParser(bytes.NewBuffer([]byte(s)))
}