We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f0e8af commit 9383dc8Copy full SHA for 9383dc8
src/check/parse/Parser.zig
@@ -344,15 +344,7 @@ pub fn parseAppHeader(self: *Parser) IR.NodeStore.HeaderIdx {
344
return self.pushMalformed(IR.NodeStore.HeaderIdx, .no_platform);
345
}
346
347
-pub fn parseIdent(self: *Parser) ?tokenize.Token.Idx {
348
- if (self.peek() == .LowerIdent or self.peek() == .UpperIdent) {
349
- const pos = self.pos;
350
- self.advance();
351
- return pos;
352
- }
353
- return null;
354
-}
355
-
+/// Parses an ExposedItem, adding it to the NodeStore and returning the Idx
356
pub fn parseExposedItem(self: *Parser) IR.NodeStore.ExposedItemIdx {
357
const start = self.pos;
358
var end = start;
0 commit comments