================================================================================
StyleExpr with all expression types
================================================================================

page 50103 "Complex StyleExpr Test"
{
    layout
    {
        area(content)
        {
            field(Field1; Rec.Field1)
            {
                StyleExpr = Amount > 100;
            }
            field(Field2; Rec.Field2)
            {
                StyleExpr = Amount >= MinAmount;
            }
            field(Field3; Rec.Field3)
            {
                StyleExpr = (Amount * 1.1) > MaxAmount;
            }
            field(Field4; Rec.Field4)
            {
                StyleExpr = IsApproved and (Status = Status::Released);
            }
            field(Field5; Rec.Field5)
            {
                StyleExpr = not IsBlocked;
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (page_declaration
    (page_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (layout_section
      (layout_keyword)
      (area_section
        (area_keyword)
        (page_field
          name: (identifier)
          source: (member_expression
            object: (identifier)
            member: (identifier))
          (property
            name: (property_name)
            value: (property_expression
              (comparison_expression
                left: (identifier)
                operator: (comparison_operator)
                right: (integer)))))
        (page_field
          name: (identifier)
          source: (member_expression
            object: (identifier)
            member: (identifier))
          (property
            name: (property_name)
            value: (property_expression
              (comparison_expression
                left: (identifier)
                operator: (comparison_operator)
                right: (identifier)))))
        (page_field
          name: (identifier)
          source: (member_expression
            object: (identifier)
            member: (identifier))
          (property
            name: (property_name)
            value: (property_expression
              (comparison_expression
                left: (parenthesized_expression
                  (multiplicative_expression
                    left: (identifier)
                    right: (decimal)))
                operator: (comparison_operator)
                right: (identifier)))))
        (page_field
          name: (identifier)
          source: (member_expression
            object: (identifier)
            member: (identifier))
          (property
            name: (property_name)
            value: (property_expression
              (logical_expression
                left: (identifier)
                right: (parenthesized_expression
                  (comparison_expression
                    left: (identifier)
                    operator: (comparison_operator)
                    right: (qualified_enum_value
                      enum_type: (identifier)
                      value: (identifier))))))))
        (page_field
          name: (identifier)
          source: (member_expression
            object: (identifier)
            member: (identifier))
          (property
            name: (property_name)
            value: (property_expression
              (unary_expression
                operand: (identifier)))))))))
