com.charleskorn.kaml.YamlParser.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!
???? 48 com/charleskorn/kaml/YamlParser java/lang/Object (Ljava/io/Reader;)V #Lorg/jetbrains/annotations/NotNull; reader kotlin/jvm/internal/Intrinsics
checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
()V
DUMMY_FILE_NAME
dummyFileName Ljava/lang/String; (org/snakeyaml/engine/v2/api/LoadSettings builder 3()Lorg/snakeyaml/engine/v2/api/LoadSettingsBuilder;
/org/snakeyaml/engine/v2/api/LoadSettingsBuilder setLabel E(Ljava/lang/String;)Lorg/snakeyaml/engine/v2/api/LoadSettingsBuilder; ! "
# build ,()Lorg/snakeyaml/engine/v2/api/LoadSettings; % &
' loadSettings *Lorg/snakeyaml/engine/v2/api/LoadSettings; ) * + ,org/snakeyaml/engine/v2/scanner/StreamReader - =(Lorg/snakeyaml/engine/v2/api/LoadSettings;Ljava/io/Reader;)V /
. 0 streamReader .Lorg/snakeyaml/engine/v2/scanner/StreamReader; 2 3 4 )org/snakeyaml/engine/v2/parser/ParserImpl 6 [(Lorg/snakeyaml/engine/v2/api/LoadSettings;Lorg/snakeyaml/engine/v2/scanner/StreamReader;)V 8
7 9 events +Lorg/snakeyaml/engine/v2/parser/ParserImpl; ; < = 'org/snakeyaml/engine/v2/events/Event$ID ? StreamStart )Lorg/snakeyaml/engine/v2/events/Event$ID; A B @ C com/charleskorn/kaml/YamlPath E Companion )Lcom/charleskorn/kaml/YamlPath$Companion; G H F I 'com/charleskorn/kaml/YamlPath$Companion K getRoot !()Lcom/charleskorn/kaml/YamlPath; M N
L O consumeEventOfType K(Lorg/snakeyaml/engine/v2/events/Event$ID;Lcom/charleskorn/kaml/YamlPath;)V Q R
S peekEvent G(Lcom/charleskorn/kaml/YamlPath;)Lorg/snakeyaml/engine/v2/events/Event; U V
W $org/snakeyaml/engine/v2/events/Event Y
getEventId +()Lorg/snakeyaml/engine/v2/events/Event$ID; [ \
Z ] StreamEnd _ B @ ` /com/charleskorn/kaml/EmptyYamlDocumentException b The YAML document is empty. d 4(Ljava/lang/String;Lcom/charleskorn/kaml/YamlPath;)V f
c g
DocumentStart i B @ j this !Lcom/charleskorn/kaml/YamlParser; Ljava/io/Reader; java/io/Reader o (Ljava/lang/String;)V source r java/io/StringReader t q
u v
x ensureEndOfStreamReached DocumentEnd { B @ | consumeEvent path .com/charleskorn/kaml/YamlParser$consumeEvent$1 ? $(Lcom/charleskorn/kaml/YamlParser;)V ?
? ? kotlin/jvm/functions/Function0 ?
checkEvent g(Lcom/charleskorn/kaml/YamlPath;Lkotlin/jvm/functions/Function0;)Lorg/snakeyaml/engine/v2/events/Event; ? ?
? Lcom/charleskorn/kaml/YamlPath; +com/charleskorn/kaml/YamlParser$peekEvent$1 ?
? ? type ? ~ V
? +com/charleskorn/kaml/MalformedYamlException ? java/lang/StringBuilder ?
? Unexpected ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? , expected ? toString ()Ljava/lang/String; ? ?
? ? com/charleskorn/kaml/Location ? getStartMark ()Ljava/util/Optional; ? ?
Z ? java/util/Optional ? get ()Ljava/lang/Object; ? ?
? ? 'org/snakeyaml/engine/v2/exceptions/Mark ? getLine ()I ? ?
? ? getColumn ? ?
? ? (II)V ?
? ? withError @(Lcom/charleskorn/kaml/Location;)Lcom/charleskorn/kaml/YamlPath; ? ?
F ?
? g event &Lorg/snakeyaml/engine/v2/events/Event; ?(Lcom/charleskorn/kaml/YamlPath;Lkotlin/jvm/functions/Function0<+Lorg/snakeyaml/engine/v2/events/Event;>;)Lorg/snakeyaml/engine/v2/events/Event;