MCPcopy Create free account
hub / github.com/apache/fory / parse_extensions

Method parse_extensions

compiler/fory_compiler/frontend/proto/parser.py:393–397  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

391 self.consume(TokenType.SEMI, "Expected ';' after reserved")
392
393 def parse_extensions(self) -> None:
394 self.consume(TokenType.EXTENSIONS, "Expected 'extensions'")
395 while not self.check(TokenType.SEMI):
396 self.advance()
397 self.consume(TokenType.SEMI, "Expected ';' after extensions")
398
399 def parse_service(self) -> ProtoService:
400 start = self.current()

Callers 1

parse_messageMethod · 0.95

Calls 3

consumeMethod · 0.95
checkMethod · 0.95
advanceMethod · 0.95

Tested by

no test coverage detected