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

Method get_event

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

Source from the content-addressed store, hash-verified

112 return self.current_event
113
114 def get_event(self):
115 # Get the next event and proceed further.
116 if self.current_event is None:
117 if self.state:
118 self.current_event = self.state()
119 value = self.current_event
120 self.current_event = None
121 return value
122
123 # stream ::= STREAM-START implicit_document? explicit_document* STREAM-END
124 # implicit_document ::= block_node DOCUMENT-END*

Callers 8

parseFunction · 0.80
check_nodeMethod · 0.80
get_single_nodeMethod · 0.80
compose_documentMethod · 0.80
compose_nodeMethod · 0.80
compose_scalar_nodeMethod · 0.80
compose_sequence_nodeMethod · 0.80
compose_mapping_nodeMethod · 0.80

Calls 1

stateMethod · 0.80

Tested by

no test coverage detected