code: private boolean isForwardAxis() {
  
          final String content = mToken.getContent();
          return (mToken.getType() == TokenType.TEXT && ("child".equals(content) || ("descendant"
              .equals(content)
              || "descendant-or-self".equals(content)
              || "attribute".equals(content)
              || "self".equals(content)
              || "following".equals(content) || "following-sibling".equals(content) || "namespace"
                  .equals(content))));
      }
docs: Checks if a given token represents a ForwardAxis.
  
  @return true if the token is a ForwardAxis