Skip to content

Package io.github.qishr.cascara.lang.yaml.processor

Class YamlConverter

java.lang.Object
        io.github.qishr.cascara.lang.yaml.internal.AbstractYamlProcessor<io.github.qishr.cascara.lang.yaml.processor.YamlConverter>
                io.github.qishr.cascara.lang.yaml.processor.YamlConverter

All Implemented Interfaces:
    AstConverter<YamlNode>


public class YamlConverter
extends AbstractYamlProcessor<YamlConverter>

Constructor Summary

Constructor Description
YamlConverter()

Method Summary

Modifier and Type Method Description
protected YamlConverter self()
public String toString(AstNode ast)
public YamlNode fromAst(AstNode ast)
public PlainNode toPlainAst(YamlNode yaml)

Method Details

self

protected YamlConverter self()


toString

public String toString(AstNode ast)

Specified By:

AstConverter


fromAst

@io.github.qishr.cascara.common.annotation.Nullable
public YamlNode fromAst(AstNode ast)

Specified By:

AstConverter


toPlainAst

@io.github.qishr.cascara.common.annotation.Nullable
public PlainNode toPlainAst(YamlNode yaml)