File size: 3,617 Bytes
9c6594c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# Generated from /tmp/build-via-sdist-fm63w174/omegaconf-2.3.0/omegaconf/grammar/OmegaConfGrammarParser.g4 by ANTLR 4.9.3
from antlr4 import *
if __name__ is not None and "." in __name__:
from .OmegaConfGrammarParser import OmegaConfGrammarParser
else:
from OmegaConfGrammarParser import OmegaConfGrammarParser
# This class defines a complete generic visitor for a parse tree produced by OmegaConfGrammarParser.
class OmegaConfGrammarParserVisitor(ParseTreeVisitor):
# Visit a parse tree produced by OmegaConfGrammarParser#configValue.
def visitConfigValue(self, ctx:OmegaConfGrammarParser.ConfigValueContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#singleElement.
def visitSingleElement(self, ctx:OmegaConfGrammarParser.SingleElementContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#text.
def visitText(self, ctx:OmegaConfGrammarParser.TextContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#element.
def visitElement(self, ctx:OmegaConfGrammarParser.ElementContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#listContainer.
def visitListContainer(self, ctx:OmegaConfGrammarParser.ListContainerContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#dictContainer.
def visitDictContainer(self, ctx:OmegaConfGrammarParser.DictContainerContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#dictKeyValuePair.
def visitDictKeyValuePair(self, ctx:OmegaConfGrammarParser.DictKeyValuePairContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#sequence.
def visitSequence(self, ctx:OmegaConfGrammarParser.SequenceContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#interpolation.
def visitInterpolation(self, ctx:OmegaConfGrammarParser.InterpolationContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#interpolationNode.
def visitInterpolationNode(self, ctx:OmegaConfGrammarParser.InterpolationNodeContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#interpolationResolver.
def visitInterpolationResolver(self, ctx:OmegaConfGrammarParser.InterpolationResolverContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#configKey.
def visitConfigKey(self, ctx:OmegaConfGrammarParser.ConfigKeyContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#resolverName.
def visitResolverName(self, ctx:OmegaConfGrammarParser.ResolverNameContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#quotedValue.
def visitQuotedValue(self, ctx:OmegaConfGrammarParser.QuotedValueContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#primitive.
def visitPrimitive(self, ctx:OmegaConfGrammarParser.PrimitiveContext):
return self.visitChildren(ctx)
# Visit a parse tree produced by OmegaConfGrammarParser#dictKey.
def visitDictKey(self, ctx:OmegaConfGrammarParser.DictKeyContext):
return self.visitChildren(ctx)
del OmegaConfGrammarParser |