Exemple #1
0
 def __init__(self, stripped_file_name, output, url):
     print('JavaRstListener')
     CommonRstListener.__init__(self, stripped_file_name, output, url)
Exemple #2
0
 def enterComment(self, ctx: JavaCommentParser.CommentContext):
     print('enterComment')
     CommonRstListener.enter_comment(self, ctx)
Exemple #3
0
 def exitComment(self, ctx: JavaCommentParser.CommentContext):
     print('exitComment')
     CommonRstListener.exit_comment(self,
                                    ctx,
                                    strip_line_comments=False,
                                    strip_block_comments=True)
Exemple #4
0
 def exitSourceFile(self, ctx: JavaCommentParser.SourceFileContext):
     print('exitSourceFile')
     CommonRstListener.exit_source_file(self, ctx)
 def enterSourceFile(self, ctx: GolangCommentParser.SourceFileContext):
     CommonRstListener.enter_source_file(self, ctx)
 def __init__(self, stripped_file_name, output, url):
     CommonRstListener.__init__(self, stripped_file_name, output, url)
 def exitComment(self, ctx: GolangCommentParser.CommentContext):
     CommonRstListener.exit_comment(self,
                                    ctx,
                                    strip_line_comments=True,
                                    strip_block_comments=True)
 def enterComment(self, ctx: GolangCommentParser.CommentContext):
     CommonRstListener.enter_comment(self, ctx)