urn_base_listener.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Generated from /home/leodido/workspaces/go/src/github.com/leodido/go-urn/grammar/Urn.g4 by ANTLR 4.7.
  2. package grammar // Urn
  3. import "github.com/antlr/antlr4/runtime/Go/antlr"
  4. // BaseUrnListener is a complete listener for a parse tree produced by UrnParser.
  5. type BaseUrnListener struct{}
  6. var _ UrnListener = &BaseUrnListener{}
  7. // VisitTerminal is called when a terminal node is visited.
  8. func (s *BaseUrnListener) VisitTerminal(node antlr.TerminalNode) {}
  9. // VisitErrorNode is called when an error node is visited.
  10. func (s *BaseUrnListener) VisitErrorNode(node antlr.ErrorNode) {}
  11. // EnterEveryRule is called when any rule is entered.
  12. func (s *BaseUrnListener) EnterEveryRule(ctx antlr.ParserRuleContext) {}
  13. // ExitEveryRule is called when any rule is exited.
  14. func (s *BaseUrnListener) ExitEveryRule(ctx antlr.ParserRuleContext) {}
  15. // EnterUrn is called when production urn is entered.
  16. func (s *BaseUrnListener) EnterUrn(ctx *UrnContext) {}
  17. // ExitUrn is called when production urn is exited.
  18. func (s *BaseUrnListener) ExitUrn(ctx *UrnContext) {}
  19. // EnterID is called when production iD is entered.
  20. func (s *BaseUrnListener) EnterID(ctx *IDContext) {}
  21. // ExitID is called when production iD is exited.
  22. func (s *BaseUrnListener) ExitID(ctx *IDContext) {}
  23. // EnterSS is called when production sS is entered.
  24. func (s *BaseUrnListener) EnterSS(ctx *SSContext) {}
  25. // ExitSS is called when production sS is exited.
  26. func (s *BaseUrnListener) ExitSS(ctx *SSContext) {}