Class NonCapturingGroupTree

    • Method Detail

      • getElement

        @CheckForNull
        public RegexTree getElement()
        Description copied from class: GroupTree
        Can only be null for non-capturing groups
        Overrides:
        getElement in class GroupTree
      • getEnabledFlags

        public FlagSet getEnabledFlags()
      • getDisabledFlags

        public FlagSet getDisabledFlags()
      • accept

        public void accept​(RegexVisitor visitor)
        Description copied from class: RegexTree
        This method should only be called by RegexBaseVisitor (or other implementations of the RegexVisitor interface). Do not call this method to invoke a visitor, use visitor.visit(tree) instead.
        Specified by:
        accept in class RegexTree