com.charleskorn.kaml.YamlNodeReader.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ksyml Show documentation
Show all versions of ksyml Show documentation
One of many Pluginloader plugins
The newest version!
???? 4V #com/charleskorn/kaml/YamlNodeReader java/lang/Object 6(Lcom/charleskorn/kaml/YamlParser;Ljava/lang/String;)V #Lorg/jetbrains/annotations/NotNull; $Lorg/jetbrains/annotations/Nullable; parser kotlin/jvm/internal/Intrinsics checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
()V
!Lcom/charleskorn/kaml/YamlParser; extensionDefinitionPrefix Ljava/lang/String; java/util/LinkedHashMap
java/util/Map aliases Ljava/util/Map; ! " this %Lcom/charleskorn/kaml/YamlNodeReader; e(Lcom/charleskorn/kaml/YamlParser;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
' read !()Lcom/charleskorn/kaml/YamlNode; com/charleskorn/kaml/YamlPath + Companion )Lcom/charleskorn/kaml/YamlPath$Companion; - . , / 'com/charleskorn/kaml/YamlPath$Companion 1 getRoot !()Lcom/charleskorn/kaml/YamlPath; 3 4
2 5 readNode @(Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlNode; 7 8
9 readNodeAndAnchor .(Lcom/charleskorn/kaml/YamlPath;)Lkotlin/Pair; ; <
= kotlin/Pair ? getFirst ()Ljava/lang/Object; A B
@ C com/charleskorn/kaml/YamlNode E path Lcom/charleskorn/kaml/YamlPath; v(Lcom/charleskorn/kaml/YamlPath;)Lkotlin/Pair; com/charleskorn/kaml/YamlParser J consumeEvent G(Lcom/charleskorn/kaml/YamlPath;)Lorg/snakeyaml/engine/v2/events/Event; L M
K N
readFromEvent f(Lorg/snakeyaml/engine/v2/events/Event;Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlNode; P Q
R (org/snakeyaml/engine/v2/events/NodeEvent T getAnchor ()Ljava/util/Optional; V W
U X (Ljava/lang/Object;)V Z readNodeAndAnchor$lambda-0 ?(Lcom/charleskorn/kaml/YamlNodeReader;Lcom/charleskorn/kaml/YamlNode;Lorg/snakeyaml/engine/v2/events/Event;Lorg/snakeyaml/engine/v2/common/Anchor;)V \ ]
^ _ *(Lorg/snakeyaml/engine/v2/common/Anchor;)V a "java/lang/invoke/LambdaMetafactory c metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; e f
d g h accept ?(Lcom/charleskorn/kaml/YamlNodeReader;Lcom/charleskorn/kaml/YamlNode;Lorg/snakeyaml/engine/v2/events/Event;)Ljava/util/function/Consumer; j k l java/util/Optional n ifPresent (Ljava/util/function/Consumer;)V p q
o r orElse &(Ljava/lang/Object;)Ljava/lang/Object; t u
o v kotlin/TuplesKt x to 3(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair; z {
y | event &Lorg/snakeyaml/engine/v2/events/Event; node Lcom/charleskorn/kaml/YamlNode; $org/snakeyaml/engine/v2/events/Event ? *org/snakeyaml/engine/v2/events/ScalarEvent ? readScalarOrNull l(Lorg/snakeyaml/engine/v2/events/ScalarEvent;Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlNode; ? ?
? getTag ? W
? ? event.tag ? checkNotNullExpressionValue ?
? maybeToTaggedNode T(Lcom/charleskorn/kaml/YamlNode;Ljava/util/Optional;)Lcom/charleskorn/kaml/YamlNode; ? ?
? 1org/snakeyaml/engine/v2/events/SequenceStartEvent ? readSequence @(Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlList; ? ?
?
? ? 0org/snakeyaml/engine/v2/events/MappingStartEvent ? readMapping ?(Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlMap; ? ?
?
? ? )org/snakeyaml/engine/v2/events/AliasEvent ? readAlias k(Lorg/snakeyaml/engine/v2/events/AliasEvent;Lcom/charleskorn/kaml/YamlPath;)Lcom/charleskorn/kaml/YamlNode; ? ?
? +com/charleskorn/kaml/MalformedYamlException ? Unexpected ?
getEventId +()Lorg/snakeyaml/engine/v2/events/Event$ID; ? ?
? ?
stringPlus 8(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String; ? ?
? getLocation G(Lorg/snakeyaml/engine/v2/events/Event;)Lcom/charleskorn/kaml/Location; ? ?
? withError @(Lcom/charleskorn/kaml/Location;)Lcom/charleskorn/kaml/YamlPath; ? ?
, ? 4(Ljava/lang/String;Lcom/charleskorn/kaml/YamlPath;)V ?
? ? getValue ()Ljava/lang/String; ? ?
? ? null ? areEqual '(Ljava/lang/Object;Ljava/lang/Object;)Z ? ?
? ? ~ ? isPlain ()Z ? ?
? ? com/charleskorn/kaml/YamlNull ? "(Lcom/charleskorn/kaml/YamlPath;)V ?
? ? com/charleskorn/kaml/YamlScalar ? event.value ?
? ? ,Lorg/snakeyaml/engine/v2/events/ScalarEvent; java/util/ArrayList ?
? java/util/List ? peekEvent ? M
K ? 0com/charleskorn/kaml/YamlNodeReader$WhenMappings ? $EnumSwitchMapping$0 [I ? ? ? ? 'org/snakeyaml/engine/v2/events/Event$ID ? ordinal ()I ? ?
? ? SequenceEnd )Lorg/snakeyaml/engine/v2/events/Event$ID; ? ? ? ? consumeEventOfType K(Lorg/snakeyaml/engine/v2/events/Event$ID;Lcom/charleskorn/kaml/YamlPath;)V ? ?
K ? com/charleskorn/kaml/YamlList ? 2(Ljava/util/List;Lcom/charleskorn/kaml/YamlPath;)V ?
? ? java/util/Collection ? size ? ?
withListEntry A(ILcom/charleskorn/kaml/Location;)Lcom/charleskorn/kaml/YamlPath;
, add (Ljava/lang/Object;)Z
items Ljava/util/List;
MappingEnd ? ? com/charleskorn/kaml/YamlMap doMerges (Ljava/util/Map;)Ljava/util/Map;
1(Ljava/util/Map;Lcom/charleskorn/kaml/YamlPath;)V
readMapKey 3(Lcom/charleskorn/kaml/YamlPath;)Ljava/lang/String;
withMapElementKey R(Ljava/lang/String;Lcom/charleskorn/kaml/Location;)Lcom/charleskorn/kaml/YamlPath;
, getPath" 4
?# isMerge "(Lcom/charleskorn/kaml/YamlNode;)Z%&
' withMerge) ?
,* withMapElementValue, ?
,-
component1/ B
@0
component22 B
@3 %org/snakeyaml/engine/v2/common/Anchor5 kotlin/text/StringsKt7 startsWith$default ;(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z9:
8; 2com/charleskorn/kaml/NoAnchorForExtensionException= F(Ljava/lang/String;Ljava/lang/String;Lcom/charleskorn/kaml/YamlPath;)V ?
>@ getSecondB B
@C put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;EF G keyLocation Lcom/charleskorn/kaml/Location; key keyNode !Lcom/charleskorn/kaml/YamlScalar;
valueLocation valuePath value anchor 'Lorg/snakeyaml/engine/v2/common/Anchor; com/charleskorn/kaml/LocationS java/lang/StringU ScalarW ? ?X isPresentZ ?
o[ nonScalarMapKeyException t(Lcom/charleskorn/kaml/YamlPath;Lorg/snakeyaml/engine/v2/events/Event;)Lcom/charleskorn/kaml/MalformedYamlException;]^
_ scalarEvent.valuea scalarEvent isNullKey Z vProperty name must not be a list, map, null or tagged value. (To use 'null' as a property name, enclose it in quotes.)f h(Lcom/charleskorn/kaml/YamlNode;Ljava/util/Optional;)Lcom/charleskorn/kaml/YamlNode; u maybeToTaggedNode$lambda-1 R(Lcom/charleskorn/kaml/YamlNode;Ljava/lang/String;)Lcom/charleskorn/kaml/YamlNode;jk
lm 3(Ljava/lang/String;)Lcom/charleskorn/kaml/YamlNode;o apply >(Lcom/charleskorn/kaml/YamlNode;)Ljava/util/function/Function;qr s map 3(Ljava/util/function/Function;)Ljava/util/Optional;uv
ow 4tag.map { Yaml…(it, this) }.orElse(this)y $this$maybeToTaggedNode tag Ljava/util/Optional; ?(Ljava/util/Map;)Ljava/util/Map; entrySet ()Ljava/util/Set;? ? java/lang/Iterable? iterator ()Ljava/util/Iterator;???? java/util/Iterator? hasNext? ??? next? B?? java/util/Map$Entry? getKey? B?? kotlin/collections/CollectionsKt? single $(Ljava/util/List;)Ljava/lang/Object;??
?? ? B?? getItems ()Ljava/util/List;??
?? 0(Ljava/util/Map;Ljava/util/List;)Ljava/util/Map;?
? listOf $(Ljava/lang/Object;)Ljava/util/List;??
?? eCannot perform multiple '<<' merges into a map. Instead, combine all merges into a single '<<' entry.? second ((Ljava/lang/Iterable;)Ljava/lang/Object;??
? 3$i$a$-filter-YamlNodeReader$doMerges$mergeEntries$1 I $dstr$key$_u24__u24 Ljava/util/Map$Entry;
element$iv$iv Ljava/lang/Object;
$i$f$filterTo $this$filterTo$iv$iv Ljava/lang/Iterable; destination$iv$iv Ljava/util/Collection; $i$f$filter $this$filter$iv mappingsToMerge mergeEntries
getContent? ?
?? <<? ?(Ljava/util/Map;Ljava/util/List<+Lcom/charleskorn/kaml/YamlNode;>;)Ljava/util/Map;
java/util/Set??? %Cannot merge a null value into a map.?
F# 'Cannot merge a scalar value into a map.? %Cannot merge a list value into a map.?
getEntries ()Ljava/util/Map;??
? equivalentContentTo?&
?? )$i$a$-filterNot-YamlNodeReader$doMerges$1 $i$f$filterNotTo $this$filterNotTo$iv$iv $i$f$filterNot $this$filterNot$iv '$i$a$-forEach-YamlNodeReader$doMerges$2 $dstr$key$value
element$iv $i$f$forEach $this$forEach$iv >$i$a$-singleOrNull-YamlNodeReader$doMerges$3$1$existingEntry$1 it $i$f$singleOrNull single$iv found$iv $this$singleOrNull$iv )$i$a$-forEach-YamlNodeReader$doMerges$3$1
existingEntry '$i$a$-forEach-YamlNodeReader$doMerges$3 other merged original others
? X get? B
o? event.anchor.get()?? u ? +com/charleskorn/kaml/UnknownAnchorException?
6 ? anchor.value?
? ? withAliasReference?
,? !()Lcom/charleskorn/kaml/Location; ??
F? withAliasDefinition
, withPath 8
F 7$i$a$-getOrElse-YamlNodeReader$readAlias$resolvedNode$1 resolvedNode +Lorg/snakeyaml/engine/v2/events/AliasEvent; 5(Ljava/lang/Iterable<+TT;>;)TT; drop '(Ljava/lang/Iterable;I)Ljava/util/List;
?
first?
? $this$second getStartMark W
? 'org/snakeyaml/engine/v2/exceptions/Mark getLine ?
getColumn ?
(II)V
T $this$location this$0" $node$ $event&? it.value) forAliasDefinition+
2, $this_maybeToTaggedNode. #com/charleskorn/kaml/YamlTaggedNode0 4(Ljava/lang/String;Lcom/charleskorn/kaml/YamlNode;)V 2
13 WLjava/util/Map; Lkotlin/Metadata; mv k xi 0 d1???
??
??
??
%
??
$
??
??
??
??
????20B0
0¢J(00
0200
0HJ600
0200
020
0HJ020
HJ02020
HJ0
J 0
20!20HJ"0
20
20HJ#020HJ$0%20HJ&0
20HJ'0
0 0(20HJ)0
20*20HJ+0,20HJ-0
*0
2.00/HJ0H1"??1*H102H¢3R0 0
0X¢
??R0X¢
??R0X¢
??R0*0
8BX¢¨4 d2 location -Lcom/charleskorn/kaml/MalformedYamlException; Lcom/charleskorn/kaml/YamlMap;
Lkotlin/Pair; Lcom/charleskorn/kaml/YamlList; T kaml WhenMappings YamlNodeReader.kt RuntimeInvisibleAnnotations Signature Code LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations
StackMapTable InnerClasses
SourceFile SourceDebugExtension RuntimeVisibleAnnotations BootstrapMethods 1 J J ! K 5J L u #+
? *? *+? *,? *? Y? ? ? #? M
" " " N # $ % # # O
&