@Override
    public GrammarAST dupNode() {
        return new GrammarAST(this);
    }
Walk ancestors of this node until we find ALT with
 alt!=null or leftRecursiveAltInfo!=null. Then grab label if any.
 If not a rule element, just returns null.
tool/src/org/antlr/v4/tool/ast/GrammarAST.java