public virtual void ReferenceRuleLabelPredefinedAttribute( string ruleName )
{
Rule r = GetRule( ruleName );
if ( r != null && type != GrammarType.Lexer )
{
// indicate that an action ref'd an attr unless it's in a lexer
// so that $ID.text refs don't force lexer rules to define
// return values...Token objects are created by the caller instead.
r.ReferencedPredefinedRuleAttributes = true;
}
}