All Downloads are FREE. Search and download functionalities are using the official Maven repository.

messages.attributeDescriptions.generateTokenAccessors.html Maven / Gradle / Ivy

The newest version!


Controls whether token accessor methods for a rule will be generated (true) or not (false: default).
With this attribute set to false accessors for the following tokens are still generated:
  • regexp tokens
  • lower-case tokens
  • tokens with no pattern or value

Examples:


  {
    // turn on every token accessor generation in PSI
    generateTokenAccessors=true

    tokens = [
      // accessors are generated in any mode:
      id="regexp:\w+"    // regexp token
      string             // no value or pattern
      class="class"      // lowercase token

      // accessors are generated only if generateTokenAccessors is true
      PLUS_OP="+"
      SWITCH="switch"
    ]
  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy