Class ParserImpl.ParseFlowSequenceFirstEntry

java.lang.Object
org.snakeyaml.engine.v2.parser.ParserImpl.ParseFlowSequenceFirstEntry
All Implemented Interfaces:
Production
Enclosing class:
ParserImpl

private class ParserImpl.ParseFlowSequenceFirstEntry extends Object implements Production
flow_sequence     ::= FLOW-SEQUENCE-START
                      (flow_sequence_entry FLOW-ENTRY)*
                      flow_sequence_entry?
                      FLOW-SEQUENCE-END
flow_sequence_entry   ::= flow_node | KEY flow_node? (VALUE flow_node?)?
Note that while production rules for both flow_sequence_entry and
flow_mapping_entry are equal, their interpretations are different.
For `flow_sequence_entry`, the part `KEY flow_node? (VALUE flow_node?)?`
generate an inline mapping (set syntax).
  • Constructor Details

    • ParseFlowSequenceFirstEntry

      private ParseFlowSequenceFirstEntry()
  • Method Details

    • produce

      public Event produce()
      Description copied from interface: Production
      Produce parsed event
      Specified by:
      produce in interface Production
      Returns:
      parsed event to be added to the stream of events