org.virtuslab.yaml.internal.load.parse
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- Event.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Companion
- class
- Source
- Event.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Anchor.type
Valid sequence of events should obey following grammar stream ::= STREAM-START document* STREAM-END document ::= DOCUMENT-START node DOCUMENT-END node ::= ALIAS | SCALAR | sequence | mapping sequence ::= SEQUENCE-START node* SEQUENCE-END mapping ::= MAPPING-START (node node)* MAPPING-END
Valid sequence of events should obey following grammar stream ::= STREAM-START document* STREAM-END document ::= DOCUMENT-START node DOCUMENT-END node ::= ALIAS | SCALAR | sequence | mapping sequence ::= SEQUENCE-START node* SEQUENCE-END mapping ::= MAPPING-START (node node)* MAPPING-END
Attributes
- Companion
- object
- Source
- Event.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Event.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Event.type
Attributes
- Companion
- object
- Source
- Event.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Aliasclass DocumentEndclass DocumentStartobject MappingEndclass MappingStartclass Scalarobject SequenceEndclass SequenceStartobject StreamEndobject StreamStartShow all
Attributes
- Companion
- class
- Source
- Event.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EventKind.type
Carries additional information about event which represents YAML node (scalar, start of mapping or sequence). This could be:
Carries additional information about event which represents YAML node (scalar, start of mapping or sequence). This could be:
- anchor
- tags (not yet supported)
Attributes
- Companion
- object
- Source
- Event.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Event.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NodeEventMetadata.type
Attributes
- Source
- Parser.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ParserImpl
Parser takes a stream of Tokens and produces a series of serialization Events. Parsing can fail due to ill-formed input.
Parser takes a stream of Tokens and produces a series of serialization Events. Parsing can fail due to ill-formed input.
ParserImpl is using following productions:
ParseStreamStart ::= (stream_start) ParseDocumentStart ParseDocumentStartOpt ParseStreamEnd ParseStreamEnd ::= (stream_end)
ParseDocumentStart ::= (document_start) ParseNode ParseDocumentEnd ParseDocumentEnd ::= (document_end) ParseDocumentStartOpt ::= epsilon | ParseDocumentStart ParseDocumentStartOpt
ParseNode(indentLess=false) ::= ParseMappingStart | ParseFlowMappingStart | ParseSequenceStart(indentLess) | ParseFlowSeqStart | ParseScalar ParseScalar ::= scalar
ParseMappingStart ::= mapping_start ParseMappingEntry ParseMappingEnd ParseMappingEnd ::= mapping_end ParseMappingEntry ::= mapping_key ParseScalar ParseMappingValue ParseMappingEntryOpt ParseMappingValue ::= mapping_value ParseNode(true) ParseMappingEntryOpt ::= epsilon | ParseMappingEntry
ParseSequenceStart(indentLess)::= (seq_start) ParseSequenceEntry ParseSequenceEnd(indentLess) ParseSequenceEnd(indentLess) ::= (seq_end) ParseSequenceEntry ::= seq_value ParseNode ParseSequenceEntryOpt ParseSequenceEntryOpt ::= epsilon | ParseSequenceEntry
ParseFlowNode ::= ParseFlowMappingStart | ParseFlowSeqStart | ParseScalar
ParseFlowMappingStart ::= flow_mapping_start ParseFlowMappingEntryOpt ParseFlowMappingEnd ParseFlowMappingEnd ::= flow_mapping_end ParseFlowMappingEntry ::= mapping_key ParseScalar ParseMappingValue ParseFlowMappingEntryOpt ::= epsilon | ParseFlowMappingEntry ParseFlowMappingComma ::= epsilon | comma ParseFlowMappingEntryOpt
ParseFlowSeqStart ::= flow_seq_start ParseFlowSeqEntryOpt ParseFlowSeqEnd ParseFlowSeqEnd ::= flow_seq_end ParseFlowSeqEntry ::= (ParseFlowNode | ParseFlowPairKey) ParseFlowSeqComma ParseFlowSeqEntryOpt ::= epsilon | ParseFlowSeqEntry ParseFlowSeqComma ::= epsilon | comma ParseFlowSeqEntryOpt
ParseFlowPairKey ::= mapping_key ParseFlowNode ParseFlowPairValue ParseFlowPairValue ::= mapping_value ParseFlowNode
Attributes
- Companion
- object
- Source
- ParserImpl.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ParserImpl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ParserImpl.type