IsOptional returns trivially false for an attribute as the attribute represents a fully qualified variable name. If the attribute is used in an optional manner, then an attrQualifier is created and marks the attribute as optional.
()
| 541 | // qualified variable name. If the attribute is used in an optional manner, then an attrQualifier |
| 542 | // is created and marks the attribute as optional. |
| 543 | func (a *conditionalAttribute) IsOptional() bool { |
| 544 | return false |
| 545 | } |
| 546 | |
| 547 | // AddQualifier appends the same qualifier to both sides of the conditional, in effect managing |
| 548 | // the qualification of alternate attributes. |
nothing calls this directly
no outgoing calls
no test coverage detected