
messages.attributeDescriptions.generateTokenAccessors.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grammar-kit Show documentation
Show all versions of grammar-kit Show documentation
Grammar-Kit library dedicated for language plugin developers.
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