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

wgt - standard widget module

Name

       wgt - standard widget module

Standard Widget Module

       The  Standard  Widget  module  is  a  set  of  comprehensive objects designed to be used as widgets for a
       particular applications.

       Theconditionalclass
       The Conditional class is a widget class that provides a mechanism for conditional expression  evaluation.
       A conditional object, if active, is valuated by evaluating the operator and the associated left and right
       operands. A conditional can also be defined by name and info.

       const cond (afnix:wgt:Conditional "test" "test example")

       The conditional is defined with the set method which accepts one or two operands.

       cond:set "==" "x" 2

Standard Widget Reference

Conditional
       The  Conditional  class is a widget class which represents a selectable condition. A condition is defined
       by a string operator and one or two literal arguments. If the condition is active, it can be valuated  by
       an expressable interface.

       Predicate

              conditional-p

       Inheritance

              NameableSerial

       ConstructorsConditional(none)
              The Uri constructor creates an empty uri object.

              Conditional(String)
              The Conditional constructor creates a conditional object by name.

              Conditional(StringString)
              The Conditional constructor creates a conditional object by name and information.

       Methodsset-name->none(String)
              The set-name method sets the conditional name.

              set-info->none(String)
              The set-info method sets the conditional information.

              get-info->String(none)
              The get-info method gets the conditional information.

              set-active->none(Boolean)
              The set-active method sets the conditional active flag.

              get-active->Boolean(none)
              The get-active method gets the conditional active flag.

              set->none(StringLiteral|StringLiteralLiteral)
              The  set  method  set  the  conditional  expression. In the first form, the operator is set with a
              unique lhs. In the second form, the operator is set with a lhs and a rhs.

              get-operator->String(none)
              The get-operator method gets the conditional operator.

              get-lhs->Literal(none)
              The get-lhs method gets the conditional lhs.

              get-rhs->Literal(none)
              The get-rhs method gets the conditional rhs.

AFNIX Module                                          AFNIX                                               wgt(3)

See Also