• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Custom Rules using AbstractFlexRule

New Here ,
Mar 30, 2010 Mar 30, 2010

Copy link to clipboard

Copied

Hello,

I am trying to extend the AbstractFlexRule class to pick up some <mx: .. tags from an .mxml file. This class just seems to be working for .as files ... Is this the case, or am I missing something.

- Mansi

TOPICS
FlexPMD

Views

454

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 30, 2010 Mar 30, 2010

Copy link to clipboard

Copied

LATEST

Hi Mansi,

You are right: You could use the AbstractRegexpBasedRule.

The other solution would be to extend AbstractFlexRule, and then use Xpath to detect the presence of any tags.

Thanks a lot,

Best regards,

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines