public void addIntermediateTokens() {
      m_listTokens.addAll(m_intermediateTokens);
      m_intermediateTokens.clear();
    }
Move all intermediate tokens to the context tokens.
ambari-server/src/main/java/org/apache/ambari/server/api/predicate/QueryLexer.java