Class AntlrASTProcessSnippets

    • Constructor Detail

      • AntlrASTProcessSnippets

        public AntlrASTProcessSnippets()
    • Method Detail

      • process

        public AST process​(AST t)
        decorate antlr AST with ending line/col info, and if possible the snippet of source from the start/end line/col for each node.
        Specified by:
        process in interface AntlrASTProcessor
        Parameters:
        t - the AST to decorate
        Returns:
        the decorated AST