OmegaConfGrammarParserVisitor.py 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # Generated from /tmp/build-via-sdist-fm63w174/omegaconf-2.3.0/omegaconf/grammar/OmegaConfGrammarParser.g4 by ANTLR 4.9.3
  2. from antlr4 import *
  3. if __name__ is not None and "." in __name__:
  4. from .OmegaConfGrammarParser import OmegaConfGrammarParser
  5. else:
  6. from OmegaConfGrammarParser import OmegaConfGrammarParser
  7. # This class defines a complete generic visitor for a parse tree produced by OmegaConfGrammarParser.
  8. class OmegaConfGrammarParserVisitor(ParseTreeVisitor):
  9. # Visit a parse tree produced by OmegaConfGrammarParser#configValue.
  10. def visitConfigValue(self, ctx:OmegaConfGrammarParser.ConfigValueContext):
  11. return self.visitChildren(ctx)
  12. # Visit a parse tree produced by OmegaConfGrammarParser#singleElement.
  13. def visitSingleElement(self, ctx:OmegaConfGrammarParser.SingleElementContext):
  14. return self.visitChildren(ctx)
  15. # Visit a parse tree produced by OmegaConfGrammarParser#text.
  16. def visitText(self, ctx:OmegaConfGrammarParser.TextContext):
  17. return self.visitChildren(ctx)
  18. # Visit a parse tree produced by OmegaConfGrammarParser#element.
  19. def visitElement(self, ctx:OmegaConfGrammarParser.ElementContext):
  20. return self.visitChildren(ctx)
  21. # Visit a parse tree produced by OmegaConfGrammarParser#listContainer.
  22. def visitListContainer(self, ctx:OmegaConfGrammarParser.ListContainerContext):
  23. return self.visitChildren(ctx)
  24. # Visit a parse tree produced by OmegaConfGrammarParser#dictContainer.
  25. def visitDictContainer(self, ctx:OmegaConfGrammarParser.DictContainerContext):
  26. return self.visitChildren(ctx)
  27. # Visit a parse tree produced by OmegaConfGrammarParser#dictKeyValuePair.
  28. def visitDictKeyValuePair(self, ctx:OmegaConfGrammarParser.DictKeyValuePairContext):
  29. return self.visitChildren(ctx)
  30. # Visit a parse tree produced by OmegaConfGrammarParser#sequence.
  31. def visitSequence(self, ctx:OmegaConfGrammarParser.SequenceContext):
  32. return self.visitChildren(ctx)
  33. # Visit a parse tree produced by OmegaConfGrammarParser#interpolation.
  34. def visitInterpolation(self, ctx:OmegaConfGrammarParser.InterpolationContext):
  35. return self.visitChildren(ctx)
  36. # Visit a parse tree produced by OmegaConfGrammarParser#interpolationNode.
  37. def visitInterpolationNode(self, ctx:OmegaConfGrammarParser.InterpolationNodeContext):
  38. return self.visitChildren(ctx)
  39. # Visit a parse tree produced by OmegaConfGrammarParser#interpolationResolver.
  40. def visitInterpolationResolver(self, ctx:OmegaConfGrammarParser.InterpolationResolverContext):
  41. return self.visitChildren(ctx)
  42. # Visit a parse tree produced by OmegaConfGrammarParser#configKey.
  43. def visitConfigKey(self, ctx:OmegaConfGrammarParser.ConfigKeyContext):
  44. return self.visitChildren(ctx)
  45. # Visit a parse tree produced by OmegaConfGrammarParser#resolverName.
  46. def visitResolverName(self, ctx:OmegaConfGrammarParser.ResolverNameContext):
  47. return self.visitChildren(ctx)
  48. # Visit a parse tree produced by OmegaConfGrammarParser#quotedValue.
  49. def visitQuotedValue(self, ctx:OmegaConfGrammarParser.QuotedValueContext):
  50. return self.visitChildren(ctx)
  51. # Visit a parse tree produced by OmegaConfGrammarParser#primitive.
  52. def visitPrimitive(self, ctx:OmegaConfGrammarParser.PrimitiveContext):
  53. return self.visitChildren(ctx)
  54. # Visit a parse tree produced by OmegaConfGrammarParser#dictKey.
  55. def visitDictKey(self, ctx:OmegaConfGrammarParser.DictKeyContext):
  56. return self.visitChildren(ctx)
  57. del OmegaConfGrammarParser