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

PPI::Token::Operator - Token class for operators

Author

       Adam Kennedy <adamk@cpan.org>

Description

       All operators in PPI are created as "PPI::Token::Operator" objects, including the ones that may
       superficially look like a PPI::Token::Word object.

Inheritance

         PPI::Token::Operator
         isa PPI::Token
             isa PPI::Element

Methods

       There are no additional methods beyond those provided by the parent PPI::Token and PPI::Element classes.

Name

       PPI::Token::Operator - Token class for operators

Support

       See the support section in the main module.

Synopsis

         # This is the list of valid operators
         ++   --   **   !    ~    +    -
         =~   !~   *    /    %    x
         <<   >>   lt   gt   le   ge   cmp  ~~
         ==   !=   <=>  .    ..   ...  ,
         &    |    ^    &&   ||   //
         ?    :    **=  +=   -=   .=   *=   /=
         %=   x=   &=   |=   ^=   <<=  >>=  &&=
         ||=  //=  <    >    <=   >=   <>   =>   ->
         and  or   xor  not  eq   ne   <<>>

See Also