Class Docs

Direct Known Subclasses:
FnCollection, FnDoc, FnDocAvailable, FnUriCollection

public abstract class Docs extends StandardFunc
Document and collection functions.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Constructor Details

    • Docs

      public Docs()
  • Method Details

    • accept

      public final boolean accept(ASTVisitor visitor)
      Description copied from class: Expr
      Traverses this expression, notifying the visitor of declared and used variables, and checking the tree for other recursive properties.
      Overrides:
      accept in class Arr
      Parameters:
      visitor - visitor
      Returns:
      if the walk should be continued
    • has

      public final boolean has(Flag... flags)
      Description copied from class: Expr
      Indicates if an expression has one of the specified compiler properties. This method must only be called at compile time. It is invoked to test properties of sub-expressions. It returns true if at least flag matches an expression.
      Overrides:
      has in class StandardFunc
      Parameters:
      flags - flags to be checked
      Returns:
      result of check