()
| 36952 | // ConstantEnumMemberSection, which starts at the beginning of an enum declaration |
| 36953 | // or any time an integer literal initializer is encountered. |
| 36954 | function parseEnumMember() { |
| 36955 | var pos = getNodePos(); |
| 36956 | var hasJSDoc = hasPrecedingJSDocComment(); |
| 36957 | var name = parsePropertyName(); |
| 36958 | var initializer = allowInAnd(parseInitializer); |
| 36959 | return withJSDoc(finishNode(factory.createEnumMember(name, initializer), pos), hasJSDoc); |
| 36960 | } |
| 36961 | function parseEnumDeclaration(pos, hasJSDoc, decorators, modifiers) { |
| 36962 | parseExpected(92 /* SyntaxKind.EnumKeyword */); |
| 36963 | var name = parseIdentifier(); |
nothing calls this directly
no test coverage detected