MCPcopy Create free account
hub / github.com/ablab/spades / parse_stream_start

Method parse_stream_start

ext/src/python_libs/pyyaml3/parser.py:127–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 # explicit_document ::= DIRECTIVE* DOCUMENT-START block_node? DOCUMENT-END*
126
127 def parse_stream_start(self):
128
129 # Parse the stream start.
130 token = self.get_token()
131 event = StreamStartEvent(token.start_mark, token.end_mark,
132 encoding=token.encoding)
133
134 # Prepare the next state.
135 self.state = self.parse_implicit_document_start
136
137 return event
138
139 def parse_implicit_document_start(self):
140

Callers

nothing calls this directly

Calls 2

StreamStartEventClass · 0.85
get_tokenMethod · 0.80

Tested by

no test coverage detected