mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-04 10:35:08 +02:00
Added .Walk() method to Parser
This commit is contained in:
parent
60e6bd39bb
commit
80c278ec6c
@ -34,3 +34,7 @@ func (p *Parser) AddErrorListener(listener antlr.ErrorListener) {
|
||||
func (p *Parser) Visit(visitor fql.FqlParserVisitor) interface{} {
|
||||
return visitor.VisitProgram(p.tree.Program().(*fql.ProgramContext))
|
||||
}
|
||||
|
||||
func (p *Parser) Walk(listener fql.FqlParserListener) {
|
||||
antlr.ParseTreeWalkerDefault.Walk(listener, p.tree.Program())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user