internal package Foswiki::Search::Parser

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Search::Parser is a Foswiki::Infix::Parser

Foswiki::Search::Parser is a refactoring mid-step that contains the legacy SEARCH tokens

If if becomes useful, it will become a set of Nodes as for Foswiki::Query

ClassMethod new($session)

Construct a Legacy Search token container (its not yet a proper Node)

ObjectMethod finish()

Break circular references.

ObjectMethod parse($string, $options) → tokens..

parses the legacy SEARCH string and makes a 'Node' token container to pass to the algo

# Split the search string into tokens depending on type of search. # Search is an 'AND' of all tokens - various syntaxes implemented # by this routine.
Topic revision: r1 - 19 Apr 2011, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding FAIR Wiki? Send feedback