Make an initial leaf for the grammar from a no-argument attribute
| 133 | |
| 134 | // Make an initial leaf for the grammar from a no-argument attribute |
| 135 | TAttributes* TParseContext::makeAttributes(const TString& identifier) const |
| 136 | { |
| 137 | TAttributes *attributes = nullptr; |
| 138 | attributes = NewPoolObject(attributes); |
| 139 | TAttributeArgs args = { attributeFromName(identifier), nullptr }; |
| 140 | attributes->push_back(args); |
| 141 | return attributes; |
| 142 | } |
| 143 | |
| 144 | // Make an initial leaf for the grammar from a one-argument attribute |
| 145 | TAttributes* TParseContext::makeAttributes(const TString& identifier, TIntermNode* node) const |
no test coverage detected