logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

CQL::ModifierSet - represents a base string and modifier strings

Description

       This class is used as a delegate by both CQLRelation and CQLProxNode - two functionally very separate
       classes that happen to require similar data structures and functionality.

       A ModifierSet consists of a ``base'' string together with a set of zero or more type=value pairs, where
       both type and value are strings.  Types may be null, values may not.

Methods

new()
       Creates a new modifier set with the specified base.

   getBase()
       Returns the base string with which the modifier set was created.

   addModifier()
       Adds a modifier of the specified type and value to a modifier set.

   modifier()
       Returns a modifier with a given type, or null if a modifier of that type isn't present.

   getModifiers()
       Returns a list of modifiers each represented by a 2 element array ref.

   toCQL()toSwish()toXCQL()
perl v5.36.0                                       2022-12-11                              CQL::ModifierSet(3pm)

Name

       CQL::ModifierSet - represents a base string and modifier strings

Synopsis

See Also